• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic