• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem sending XML Data in soap request

 
saravana kumar
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

How to send xml data in soap request ?

I would like to send the following data as it is.

{{{
<data xsi:type="xsd:string"><![CDATA[<userid>dfs0000</userid><spare pno="8060-160"/>]]></data>}}}

but it sending as

{{{
<data xsi:type="xsd:string"><![CDATA[<userid>dfs0000</userid><spare pn0="8060-160"/>]]></data>
}}}

Thanks
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I am not able to find the difference between the two.
 
saravana kumar
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry

its sending as

& lt;data xsi:type="xsd:string"& gt;& lt;![CDATA[& lt;userid& gt;dfs0000& lt;/userid& gt;& lt;spare pnlog=& quot;8060-160& quot;/& gt;]]& gt;& lt;/data& gt;

[ June 28, 2007: Message edited by: saravana kumar ]
[ June 28, 2007: Message edited by: saravana kumar ]
 
Raghav Mathur
Ranch Hand
Posts: 641
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure but curious to know whether you're using UTF-8 encoding in your
 
Raghav Mathur
Ranch Hand
Posts: 641
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure but curious to know whether you're using UTF-8 encoding in your soap request?
 
saravana kumar
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes i am using UTF-8. i have solved this issue by generating soap requests using apache rpc.

earlier i created connection's call and parameter using apache axis. since i changed to rpc, all my issues are resolved.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!