Download & Extend

NuSoap Support for php5.2

Project:SOAP Server
Version:6.x-1.2-beta1
Component:Code
Category:support request
Priority:normal
Assigned:rbuwi
Status:active

Issue Summary

When I send a request

2

I get response

Client

method 'node.get' not defined in service

When I send request

2

I get

Client

Operation 'node.getRequest' is not defined in the WSDL for this service

What am I doing wrong?

Evidently the operation name differs from the method name. NOTE that the wsdl defines the request as "node.get"

Comments

#1

When I send a request

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://rbdatatech.com/shop/services/soap/">
   <soapenv:Header/>
   <soapenv:Body>
      <soap:node.get soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <nid xsi:type="xsd:int">2</nid>
      </soap:node.get>
   </soapenv:Body>
</soapenv:Envelope>

I get response

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
   <SOAP-ENV:Body>
      <SOAP-ENV:Fault>
         <faultcode xsi:type="xsd:string">Client</faultcode>
         <faultactor xsi:type="xsd:string"/>
         <faultstring xsi:type="xsd:string">method 'node.get' not defined in service</faultstring>
         <detail xsi:type="xsd:string"/>
      </SOAP-ENV:Fault>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

When I send request

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://rbdatatech.com/shop/services/soap/">
   <soapenv:Header/>
   <soapenv:Body>
      <soap:node.getRequest soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <nid xsi:type="xsd:int">2</nid>
      </soap:node.getRequest>
   </soapenv:Body>
</soapenv:Envelope>

I get

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
   xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
   <SOAP-ENV:Body>
      <SOAP-ENV:Fault>
         <faultcode xsi:type="xsd:string">Client</faultcode>
         <faultactor xsi:type="xsd:string"/>
         <faultstring xsi:type="xsd:string">Operation 'node.getRequest' is not defined in the WSDL for this service</faultstring>
         <detail xsi:type="xsd:string"/>
      </SOAP-ENV:Fault>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

What am I doing wrong?

Evidently the operation name differs from the method name. NOTE that the wsdl defines the request as "node.get"