Hi there,
i want to call a webservice in my database. I created the class and two functions. Both functions have the same parameter count. When i call the webservice, i can send a operation name like asldkfjasdf, it works, when the parameter count matches, but, in my case, i always have the same parameter count, so the first function will be called all the time. I tried to send the SOAPAction header field which results in a HTTP_SOAPAction item in my context doc, but has no effect.
In soapui i fire:
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: “OPERATION2”
User-Agent: Jakarta Commons-HttpClient/3.1
Host: [serverip]
Content-Length: 354
<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:urn=“urn:DefaultNamespace”>
<urn:DEVICEINFO>blub</urn:DEVICEINFO>
<urn:CREDENTIALS>asdf</urn:CREDENTIALS>
<urn:PARAM1>lala</urn:PARAM1>
<urn:PARAM2>?</urn:PARAM2>
</soapenv:Body>
</soapenv:Envelope>
But i get the response from my operation1…
I tried the operation name without ", same effect. Quite the same from my live environment.
Am i missing something?
Thanks for your help.
Matthias