-
1. Re: Unsupported protocol: 'classpath' in SOAPClient
tcunning Feb 22, 2012 10:11 AM (in response to simplex-software)I'm not sure that this is the right answer, but I do notice that your classpath URL has three leading "/". Can you try with two?
<property name="wsdl" value="classpath:///META-INF/ZSearchData025.wsdl"/>
to
<property name="wsdl" value="classpath://META-INF/ZSearchData025.wsdl"/>
And of course check that ZSearchData025.wsdl exists in the .esb archive's META-INF and that case-sensitivity of the filename isn't an issue.
-
2. Re: Unsupported protocol: 'classpath' in SOAPClient
simplex-software Feb 22, 2012 10:42 AM (in response to tcunning)No, unfortunatelly this is not the correct answer as the classpath protocol, like the file one, needs 3 slashes and, anyway, it doesn't work better with only two. If it was an XML parsing problem the exception wouldn't say "protocol classpath not supported". And yes, the wsdl exists of course. No, it's simply that, as oposed as the documentation states, this protocol is not supported for the soapUI SOAPClient. It's only supported for the SOAPProxy, which might make sense as one cannot consume a service which WSDL is not published, while it is possible to proxy a service which WSDL is not published but stored locally.