You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ksoap2-android
Hi,
I'm trying to pass a dataset as a XML String to a web service via
kSOAP. It works over SOAPui but not over kSOAP. I captured the traffic
with Wireshark and ksoap replaces "<" and ">" with "<" and ">".
How can I solve this problem?
Any help is welcome.
Regards,
Joe
JoeKingman
unread,
Apr 21, 2012, 8:58:02 AM4/21/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ksoap2-android
Can somebody help me? Please, it is very important.
Do I need to change the envelope encodingStyle?
Currently I'm passing the XML as String
(dataset.setType(PropertyInfo.STRING_CLASS);)
KenLian
unread,
Apr 23, 2012, 4:23:17 AM4/23/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ksoap2-...@googlegroups.com
Do it work by
passing the XML as String ?
在 2012年4月19日星期四UTC+8下午9时24分24秒,JoeKingman写道:
JoeKingman
unread,
Apr 23, 2012, 8:48:32 AM4/23/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ksoap2-android
I'm passing the DataSet as String XML like this:
PropertyInfo projDataset = new PropertyInfo();
projDataset.setType(PropertyInfo.STRING_CLASS);
projDataset.setName("dataset");
projDataset.setValue(dataset);
request.addProperty(projDataset);
When I print the dataset String to the console it lokks properly. But
when I
capture the request with wireshark I notice that ksoap replaced
the "<" and ">" with "<" and ">". And of course the server
doesn't understand this request and returns an error.
Is there a way to disable the encoding of this characters in ksoap?
Thanks in advance,
Joe
Manfred Moser
unread,
Apr 24, 2012, 12:16:36 AM4/24/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ksoap2-...@googlegroups.com
I am not sure there is such a setting ... I have never tried. Anybody else got this working?