KSoap服务如何在android中发送soap对象数据

时间:2014-04-30 11:23:18

标签: android web-services android-ksoap2

我是KSoap的新手,我遵循了许多教程,但未能正确发送下面的肥皂对象数据,使用KSOAP2(3.2 jar文件),请找到我需要发送的以下XML代码。我已经浪费了超过一天,所以请提前帮助我。

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
    <ver:saveQuote>
        <quoteData>
            <lastModifiedDate nil="true" />
            <customerData>
                <customerBusinessName>Customer</customerBusinessName>
                <customerPhone>600</customerPhone>
                <customerFirstName>Customer</customerFirstName>
                <customerLastName>Ain</customerLastName>
                <customerAddr1>eve</customerAddr1>
                <customerAddr2>00</customerAddr2>
                <customerCity>apolis</customerCity>
                <customerCountry>S</customerCountry>
                <customerCounty>Hpin</customerCounty>
                <customerEmail>admm</customerEmail>
                <customerFax nil="true" />
                <customerState>M</customerState>
                <customerZipCode>55</customerZipCode>
                <customerCommLocID>0</customerCommLocID>
                <customerCommTypeID>0</customerCommTypeID>
                <customerCompEntityId nil="true" />
                <customerEntityId nil="true" />
                <customerBusinessPhoneNumber nil="true" />
                <customerHomePhoneNumber nil="true" />
            </customerData>
            <expirationDate>10/16/2013</expirationDate>
            <quoteName>T service</quoteName>
            <dealerId>x867</dealerId>
            </quoteData>
    </ver:saveQuote>
</soapenv:Body>

0 个答案:

没有答案