rsjudge17 / wsdl2objc

Automatically exported from code.google.com/p/wsdl2objc
MIT License
0 stars 0 forks source link

missing <SOAP-ENV:Body> in Body #166

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
generate the stubs from the WSDL file with 0.6 or 0.7 WSDL2ObjC.
Look at the pbxSvc file and you see that for the Version command nothing else 
than the default body is generated.
so
<m:Version xmlns:m="http://innovaphone.com/pbx">
        </m:Version>
is not included in the body.

Response from the innovaphone pbx is : unkown command.

What is the expected output?

This is from working code for OSX WS Framework
"<?xml version="1.0" encoding="utf-8"?>

  <SOAP-ENV: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:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

      <SOAP-ENV:Body>

        <m:Version xmlns:m="http://innovaphone.com/pbx">

        </m:Version>

      </SOAP-ENV:Body>

    </SOAP-ENV:Envelope>

"

What do you see instead?
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:pbxSvc="http://innovaphone.com/pbx" 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xsl:version="1.0"/>

What version of the product are you using? On what operating system?
10.6 / 10.7 - WSDL2ObjC-0.6, WSDL2ObjC-0.7

Please provide any additional information below.

Original issue reported on code.google.com by juer...@sauerzapf.name on 19 Jan 2012 at 12:48

Attachments: