Google Groups Home
Help | Sign in
xml as a parameter
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
MCMoyer  
View profile
 More options May 7, 5:13 pm
From: MCMoyer <mar...@mcmoyer.com>
Date: Wed, 7 May 2008 14:13:56 -0700 (PDT)
Local: Wed, May 7 2008 5:13 pm
Subject: xml as a parameter
I've got a web service that's requiring 6 parameters be sent to it.  5
of them I have no trouble with, but the last one I do.  It's an xml
structure that needs to be inserted as is.  Originally I was passing
this as a string, but the < symbols were all getting escaped.  Next I
tried running that string through REXML::Document to get an xml doc.
When I passed the xml doc in, I get something like this:

      <n2:OutputSpec>
        <name>UNDEFINED</name>
        <whitespace>true</whitespace>
        <prefix></prefix>
        <namespace></namespace>
        <attributes></attributes>
        <elements>#&lt;REXML::Elements:0x587000&gt;</elements>
        <context></context>
        <children>
          <

></

          <<policy ft:status='' ft:qsid='' xmlns:ft='urn:instec-
corp.com:qsdatamodel:wcpsfieldtypes:v1' str:st

being sent when what I want is

<n2:OutputSpec>
  <policy ft:sttus='' ft:qsid='' xmlns:ft='urn:instec-
corp.com:qsdatamodel:wcpsfieldtypes:vs' .....

help..please!

Thanks

marlon


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google