Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to preserve white space in XML data when posted to a HTTPS service

TekuMay 15 2008 — edited May 19 2008
Guys,

This is a followup to the thread 652540
Since the issue is changed from the actual issue I have to repost with the exact requirement.

I am posting XML data to a https web service which echoes the XML data back. What I observed is the XML posted has white spaces and the XML echoed has eliminated all the white spaces(shown below). Is there a way I can preserve these white spaces in the XML data.

XML Posted :
<?xml version="1.0" ?><cspinput appID="SBCHR" appPassword="Att4me"><user userid="tr0001" action="getInfo"></user></cspinput>

XML Echoed :
&lt;?xml;version=&quot;1.0&quot;?&gt;&lt;cspinputappID=&quot;SBCHR&quot;appPassword=&quot;Att4me&quot;&gt;&lt;useruserid=&quot;tr0001&quot;action=&quot;getInfo&quot;&gt;&lt;/user&gt;&lt;/cspinput&gt;

Thanks,
Raj.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 16 2008
Added on May 15 2008
2 comments
1,240 views