Forum Discussion
nmrao
10 years agoChampion Level 3
Is the wsdl an offline file or hosted on a server? Have you tried accessing the wsdl file using browser? What happens then?
- plieu10 years agoOccasional Contributor
Hi Rao,
Thank you for your response.
The WSDL is hosted on a remote server. When accessing it from the browser or the SoapUI GUI, it prompts for the User and password appropriately and I am able to enter them and succeed in reading the WSDL. It's just not working programmatically.
Thank you.
-Peter
- nmrao10 years agoChampion Level 3Will you please post the code excerpt so that it would help someone to reproduce the issue?
- nmrao10 years agoChampion Level 3Does wsdl have schemas inline or referencing external schemas, just for information.
- plieu10 years agoOccasional Contributor
Hi Rao,
The WSDL in question does not have inline schemas or referencing any external schemas.
The code is quite simple:
WsdlProject project = new WsdlProject();
WsdlInterface [] wsdls = WsdlImporter.importWsdl(project, wsdlUrl); /* It throws an exception here */
-Peter
Related Content
Recent Discussions
- 3 days agoKLWallace