• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem Using Ksoap

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i am trying to use ksoap for a midlet webservice Client.
for one of the webservices the input consists of a 2 dimensional String array , how do i set them in an SoapObject

my final soap request should be some thing similar as below

<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Header>
- <sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/">
<enableSession>true</enableSession>
</sapsess:Session>
</SOAP-ENV:Header>
- <SOAP-ENV:Body>
- <pns:createCrSORequest xmlns ns="urn:SFAAOAndDownloadsWSVi">
<pns:strUserId>USER000003</pns:strUserId>
<pns:strPassWord>mobileone</pns:strPassWord>
<pns:strRoleId>ROLE000003</pns:strRoleId>
<pns:strDeviceId>1000</pns:strDeviceId>
- <ns1:itemsStr xmlns:ns1="urn:SFAAOAndDownloadsWSVi" xmlns ns="urn:java/lang">
- <pns:String>
<pns:String>PK-100</pns:String>
<pns:String>12</pns:String>
<pns:String>12</pns:String>
</pns:String>
- <pns:String>
<pns:String>PK-101</pns:String>
<pns:String>11</pns:String>
<pns:String>11</pns:String>
</pns:String>
</ns1:itemsStr>
<pns:strSalesOrg>1000</pns:strSalesOrg>
<pns:strDistChan>10</pns:strDistChan>
<pns:strDivision>00</pns:strDivision>
<pns:strPartnerNo>0000000051</pns:strPartnerNo>
<pns:strPurchaseNo>1234</pns:strPurchaseNo>
<pns:strCreateDate>10.10.2007</pns:strCreateDate>
<pns:strReqDate>10.10.2020</pns:strReqDate>
</pns:createCrSORequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>



regards,
[ October 11, 2006: Message edited by: narendra darlanka ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic