Hi all, I need to know if anyone has ever come up with the solution to pass dataset parameter to a dotnet webservice using ksoap2 in android. I can return a dataset response, but i can't pass a dataset rquest the webservice requires the following soap structure:
<soapenv:Header/>
<soapenv:Body>
<hsz:CheckNameResNames>
<hsz:sUserName>XXXXXXXXX</hsz:sUserName>
<hsz:sPassword>XXXXXXXXX</hsz:sPassword>
<hsz:sBankID>XXXXXXXXX</hsz:sBankID>
<hsz:ds>
<xs:schema id="NewDataSet" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Table">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
<NewDataSet>
<Table>
<name>XXXXXXXXXXXXXXXXXX</name>
</Table>
<Table>
<name>XXXXXXXXXXXXXXXXXX</name>
</Table>
<Table>
<name>XXXXXXXXXXXXXXXXXX</name>
</Table>
</NewDataSet>
</diffgr:diffgram>
</hsz:ds>
<!--Optional:-->
<hsz:sCust_Code>XXXXXX</hsz:sCust_Code>
</hsz:CheckNameResNames>
</soapenv:Body>
</soapenv:Envelope>