ProHzen / ksoap2-android

Automatically exported from code.google.com/p/ksoap2-android
0 stars 0 forks source link

Write bodyOut as a string. #79

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hey again.

I've been working with this lib for some weeks now and it really annoys me that 
you can't write a the body as a string instead of making soapobject, 
propertyInfo, mapping etc.

Maybe it should even be the entire request you should be possible to write as a 
string and send in the request?

The reason why I need this isbecause I need to make this body:

<v:body>
ns1:setResources xmlns:ns1="utcs">
   <ns1:content>
       <ns1:resourceID>999999</ns1:resourceID>
       <ns1:value xsi:type="q1:WSBooleanValue" xmlns:q1="utcs.values">
            <ns1:value>true</ns1:value>
       </ns1:value>
       <ns1:isValueAllowed>true</ns1:isValueAllowed>
   </ns1:content>
</ns1:setResources>
</v:body>

And I cant seem to make this:
<ns1:value xsi:type="q1:WSBooleanValue" xmlns:q1="utcs.values">
    <ns1:value>true</ns1:value>
</ns1:value>

Hope you get my problem.

// Finn Larsen

Original issue reported on code.google.com by Finn.H.L...@gmail.com on 25 Aug 2011 at 7:47

GoogleCodeExporter commented 8 years ago
Feel free to implement this and send a pull request. Although you might be able 
to create the request you require.. 

Original comment by mosa...@gmail.com on 26 Aug 2011 at 5:35

GoogleCodeExporter commented 8 years ago
Any progress on a contribution?

Original comment by mosa...@gmail.com on 18 Nov 2011 at 5:30

GoogleCodeExporter commented 8 years ago
No feedback for a long time. Closing since it seems not important.

Original comment by mosa...@gmail.com on 30 Apr 2012 at 6:24