Hi Fred,

Thanks for your reply.

I tried first of all with no CDATA and in the logfiles, i can see the <arg0> 
and </arg0> with my XML following and it looks fine to me but still errors.
I then tried with the <![CDATA[ at the top and then the ]]> at the end and 
again, still errors.

Finally, i tried with <![CDATA[ at the top and put it on a line of its own and 
yes, you guessed it, still fails !

I have the plugins tracing at level 100 and the 3 log files ...

Sean




________________________________
From: "Grooms, Frederick W" <frederick.w.gro...@xo.com>
To: arslist@ARSLIST.ORG
Sent: Monday, 10 August, 2009 14:47:10
Subject: Re: WebService - XML formatted in a char field question ?

Most of the time when I see this type of WSDL (arg0 and arg1) I have to enclose 
my XML in a CDATA structure.

i.e.  
<arg0><![CDATA[<?xml version="1.0" encoding="UTF-8"?>  
<MY_XML>  
<ATTR1>VALUE</ATTR1>  
. . .  
</MY_XML>]]>  
</arg0>

With the plugin logging turned on and set to 100 ( Plugin-Log-Level:100 ) in 
the ar.conf (ar.cfg in windows) you can see the XML in the log.  See the 
Configuring manual the "AR System configuration files" section.


Fred


-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Sean Harrodine
Sent: Monday, August 10, 2009 7:21 AM
To: arslist@ARSLIST.ORG
Subject: WebService - XML formatted in a char field question ?

Hi all,

I've been having issues creating a web service out to a third party solution 
(IBM Maximo) so i thought i would try the following......

1 - create a basic form with just 2 fields, i called "OUTBOUNDXML", 1 called 
"REPLY"
2 - load their WSDL into a filter to run on SUBMIT
3 - in the filter, click the "Input Mappings" button where i now see an "XML 
Data Type" of "arg0", so i map this field to the "OUTBOUNDXML" field on my form
4 - similarily, in the "Output Mappings", i see an "XML Data Type" of "return" 
so i map this to field "REPLY" on my form
5 - and finally, i create an entry in the Form and put some XML formatted data 
in the "OUTBOUNDXML" and submit, hoping that i get a successful reply back.

So, i submit the record and the system waits for a second or 2 before yes i get 
a reply back, but its an error and our 3rd party company are saying that they 
cant see any data.

So, question........

Should this work, namely, formatting the data in a character field in an "XML 
format" and sending through to ???
I wanted to do this purely as a back to basics style test to just prove that 
their side is working ok.

All help gretefully received.

Sean





_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"

Reply via email to