cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Load WSDL in soapUI

Highlighted
New Contributor

Can't Load WSDL in soapUI

I use soapUI to verify the validity of my project's WSDL(s).  I inherited a WSDL that imports its schema (xsd) file. I can view my URL?WSDL and my URL?WSDL/schema.xsd normally as expected in a browser. However, when I attempt to load the WSDL using soapUI, an unexpected element: TAG_END exception is thrown.

The soapUI log (essentailly) shows: http://host:port/contextPath//contextPa ... schema.xsd.

It looks like the import location of the schema is being appended onto the namespace, resulting in the URL with the "//" in the middle.

Snippet from WSDL:

namespace="http://webservices.project.company.com/AAA/BBB/" />
where AAA/BBB = contextPath, CCCImpl = serviceURI.

Can you offer a suggestion as to why this result may occur? Or perhaps, could the contextPath be at fault (i.e., too many /'s)?

Thank you in advance.
Tom.
 
3 REPLIES 3
Highlighted
Super Contributor

Re: Can't Load WSDL in soapUI

Hi Tom,

two observations from my side;

1) It seems as if soapUI is not creating the correct path to your xsd, can you show the exact URL to the WSDL (with a bogus hostname) and import location attribute?

2) Consider using a relative path to your xsd so you can host the wsdl/xsd(s) differently if required

regards!

/Ole
eviware..com
Highlighted
Super Contributor

Re: Can't Load WSDL in soapUI

Hi Tom,

just wanted to follow  up on this, did you get the WSDL loaded ok?

regards,

/Ole
eviware.com
Highlighted
New Contributor

Re: Can't Load WSDL in soapUI

Hi Ole!

Thanks for responding! I appreciate your help.

Previously I've been using SoapUI 2.02.  Yesterday...
SoapUI complained:  Mon Dec 29 13:23:01 MST 2008:ERROR:Failed to load url [https://some.company.com:443/GlobalServices/transfer//GlobalServices/transfer/GlobalServicesTransfer...

Today, I started using SoapUI 2.5, which loaded the WSDL without error!  Cool!  So, maybe version 2.5 treats the double slashes as one slash???.

Thanks again!
Tom.
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors