11 years ago
SoapUI SOS 2.0 compatibility
I'm trying to use SoapUI to test a sensor listener on an SOS via an SPS using a previous programmer's code from a year or 2 back. The documentation is atrocious and there's no indication that it ever worked with SoapUI. Another service allegedly worked, but could not be duplicated. The SPS' original WSDL included the definition
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
but SoapUI couldn't add the WSDL. Replacing the above with
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
enabled SoapUI to add the WSDL and display its Interface Properties, but executing any of the requests resulted in:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<Security xmlns="http://www.opengis.net/sensorML/1.0.1" xmlns:n1="urn:us:gov:ic:ism:v2"/>
</env:Header>
<env:Body>
<env:Fault xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>ns0:Server</faultcode>
<faultstring xml:lang="en-US">Error Processing Request</faultstring>
<detail>
<ows:ExceptionReport xml:lang="en-us" version="1.1.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:ns4="http://www.w3.org/1999/xlink">
<ows:Exception exceptionCode="NoApplicableCode">The request SOAP version is only used for SOS 1.0.0.</ows:Exception>
</ows:ExceptionReport>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>
Judging from the Exception, "The request SOAP version is only used for SOS 1.0.0.", a schema somewhere is calling SOS v1.0.0. I believe this is crashing because my target SOS and SPS use SOS 2.0.
My problem is I can't find what code or definition is specifying SOS 1.0. I've looked in a dozen or so schemas that I've found referenced and don't see any clear references to SOS 1.0.
Here are my 2 questions:
1. Is SoapUI compatible with SOS 2.0?
2. Does anyone know how to track down and SOS dependency from http://schemas.xmlsoap.org/wsdl/soap/ ?
Any helpful tips or suggestions welcome.
Thanks in advance!
biggle5
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
but SoapUI couldn't add the WSDL. Replacing the above with
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
enabled SoapUI to add the WSDL and display its Interface Properties, but executing any of the requests resulted in:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<Security xmlns="http://www.opengis.net/sensorML/1.0.1" xmlns:n1="urn:us:gov:ic:ism:v2"/>
</env:Header>
<env:Body>
<env:Fault xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>ns0:Server</faultcode>
<faultstring xml:lang="en-US">Error Processing Request</faultstring>
<detail>
<ows:ExceptionReport xml:lang="en-us" version="1.1.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:ns4="http://www.w3.org/1999/xlink">
<ows:Exception exceptionCode="NoApplicableCode">The request SOAP version is only used for SOS 1.0.0.</ows:Exception>
</ows:ExceptionReport>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>
Judging from the Exception, "The request SOAP version is only used for SOS 1.0.0.", a schema somewhere is calling SOS v1.0.0. I believe this is crashing because my target SOS and SPS use SOS 2.0.
My problem is I can't find what code or definition is specifying SOS 1.0. I've looked in a dozen or so schemas that I've found referenced and don't see any clear references to SOS 1.0.
Here are my 2 questions:
1. Is SoapUI compatible with SOS 2.0?
2. Does anyone know how to track down and SOS dependency from http://schemas.xmlsoap.org/wsdl/soap/ ?
Any helpful tips or suggestions welcome.
Thanks in advance!
biggle5