Forum Discussion

jamesshirley's avatar
jamesshirley
New Contributor
18 days ago

SOAPUI not responding to soap11 requests

Hello

I have a SOAP11 WSDL and have created a mock service on the soap11 request. But my client keeps getting Missing/Invalid SOAP Envelope, expecting [{http://www.w3.org/2003/05/soap-envelop}Envelope]. The client appears to be sending the correct namespace for the soap11 request, but SOAPUI replies with soap12.

I have played around with the "Match SOAP Version" but it doesn't make any different.

The original WSDL had soap12 bindings as well so I've manually removed them from the WSDL to just show SOAPUI the soap11 binding . SOAP UI shows SOAP Version "SOAP 1.1" on the service.

I'm using SOAPUI  5.8.0, and the client is Perl SOAP::Lite

Any ideas on how to fix this?

 

SOAPUI response:

 

 

Any help would be much appreciated.

 

James

2 Replies

  • actually I've just noticed the request is missing the default namespace as the <Envelope> doesn't have a namespace..

     why would SOAP::Lite do that

  • I tracked it back to bug in SOAP::Lite in Perl. Make sure you envprefix('soap') if you are using register_ns on the serializer object.. otherwise it will not set the default namespace in the XML and confuse SOAPUI and probably other SOAP servers.