Contributions
How to set Array parameters
Hi all i'm try to test a web service that require this parameters: <soapenv:Body> <urn:getState soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <token xsi:type="xsd:string">?</token> <id xsi:type="urn:ArrayOf_xsd_string" soapenc:arrayType="xsd:string[]"/> </urn:getState> </soapenv:Body> but i don't understand how to set the parameters in this section : <id xsi:type="urn:ArrayOf_xsd_string" soapenc:arrayType="xsd:string[]"/> could some help me thanks in avance i tried with <soapenv:Body> <urn:getState soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <token xsi:type="xsd:string">pktdnwiqjz-knklnjdqqp-exldyapsnh</token> <id xsi:type="urn:ArrayOf_xsd_string" soapenc:arrayType="xsd:string[2]"/> <item>xx</item> <item>aa</item> </id> </urn:getState> </soapenv:Body> but i receive: soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 12; Il tipo di elemento "urn:getState" deve terminare con la corrispondente tag finale "</urn:getState>".</faultstring> <detail> <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">fxxx.com</ns1:hostname> </detail> </soapenv:Fault> </soapenv:Body>2.9KViews0likes1Comment