0
我與下面的SOAP請求創建一個SOAP Request
掙扎:如何創建ksoap2請求對象
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema" xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Header/><SOAP-ENV:Body><ns1:Authenticate xmlns:ns1="urn:Login" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<msgstr xsi:type="xsd:string"><Message messageid="0">
<Entity name="REF_LOGIN">
<Property name="login_cd" value="ABC" type="STRING"/>
<Property name="password" value="ABC" type="STRING"/>
<Property name="machine_name" value="iPhone Simulator" type="STRING"/>
<Property name="language_code" value="en" type="STRING"/>
<Property name="client_version_cd" value="XL7.11" type="STRING"/>
</Entity>
</Message></msgstr></ns1:Authenticate></SOAP-ENV:Body></SOAP-ENV:Envelope>
http://stackoverflow.com/questions/14563306/using-web-services-in-android/14563386#14563386 – Nirmal
閱讀我的文章的http://www.c-sharpcor ner.com/UploadFile/88b6e5/how-to-call-web-service-in-android-using-soap/ –
@ChintanRathod,我的對象是嵌套的。你可以提供一點幫助嵌套對象 –