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

Reply via email to