• 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 sending XML Data in soap request

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 641
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic