|
From: Michael S. <mic...@so...> - 2001-09-13 09:32:50
|
I got the following problem. I'd like to call a method with these parameters: server.doSomething(isMember = SOAP.booleanType(1) , name = 'Peter' , text = 'bla bla') The order of the parameters I'd like to have is: boolean, String, String But when I look at the generated SOAP envelope the order is like this (see below for the whole envelope): String, boolean, String Why does the Implementation changed the order? Did I miss something? Thanks for your help. Michael SOAP Envelope: POST /soap/servlet/rpcrouter HTTP/1.0 Host: localhost:8070 User-agent: SOAP.py 0.9.6 (actzero.com) Content-type: text/xml; charset="UTF-8" Content-length: 573 SOAPAction: "" <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"> <SOAP-ENV:Body> <ns0:doSomething xmlns:ns0="urn:doSomething"> <name xsi:type="xsd:string">Peter</name> <isMember xsi:type="xsd:boolean">true</isMember> <text xsi:type="xsd:string">bla bla</text> </ns0:doSomething> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |