In our Java project, We are accessing some other third party WSDL, which contains another wsdl file inside Main wsdl file.
Main wsdl file i was able to access and included WSDL file they are referring with hostname.
If i try to open included WSDL file, it is not opening, but if i changed included wsdl file host name to IP address, the included WSDL file also able to access.
Even if i try to generate client classes by using wsimport it is giving me below error.
Failed to parse the WSDL.
For sample, this is the Main WSDL. <import location> is the sub url which contains hostname instead of IP address, if i try to open sub url, it is opening, and if i changed that sub url host name to ip address i was able to login.