kadir_beyazli
kadir_beyazli

Reputation: 197

Perl Webservice Call SOAP Version Mismatch

I am calling customer's web service using Perl programming language and SOAP::Lite module.

Web service call ends with following fault string:

<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Header/><soap-env:Body><soap-env:Fault><faultcode>soap-env:VersionMismatch</faultcode><faultstring xml:lang="en">Wrong SOAP Version</faultstring><detail/></soap-env:Fault></soap-env:Body></soap-env:Envelope>

As seen from message, it indicates to SOAP version. I did not understand if I am using older or higher SOAP version. When I check my SOAP::Lite version, I see "1.11"

Customer's web service includes following namespace:

xmlns:soap="http://www.w3.org/2003/05/soap-envelope" 

Because it writes "2003", I wonder if I am using higher SOAP version

Upvotes: 2

Views: 209

Answers (1)

kadir_beyazli
kadir_beyazli

Reputation: 197

I used wrong namespace value. When I opened customer's wsdl file with SOAPUI, it offers 2 versions, I used the wrong one

Upvotes: 1

Related Questions