works as designed.
 
Some characters aren't allowed as values within xml. See
http://www.w3.org/TR/REC-xml/ Chapter 2.4
 
Kind Regards Conny

________________________________

Von: Action Request System discussion list(ARSList)
[mailto:[email protected]] Im Auftrag von Sean Harrodine
Gesendet: Montag, 10. August 2009 17:03
An: [email protected]
Betreff: Re: WebService - XML formatted in a char field question ?


** 
......is it normal in the Plugin logs to see the "<" and ">" being
translated to "&lt;" and "&gt;" (see below)................


<PLGN> <TID: 012300> <RPC ID: 0000000003> <Queue: ARFILTERAPI>
<Client-RPC: 390695> /* Mon Aug 10 2009 13:58:25.9620 */ <> <FINE>
soapInputDocument = <ROOT x
mlns="http://xxx.yyy.zzz/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
        <arg0>&lt;?xml version=&quot;1.0&quot;
encoding=&quot;UTF-8&quot;?&gt;
<ServiceIncident xmlns="http://b2b.ibm.com/schema/IS_B2B_CDM/R2_2";
<http://b2b.ibm.com/schema/IS_B2B_CDM/R2_2%22> ;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
<http://www.w3.org/2001/XMLSchema-instance%22> ;>
&lt;RequesterID&gt;&lt;/RequesterID&gt;


....and if not, does anyone know what would be causing it ?????

to my knowledge, i am not doing anything out of the ordinary.

thanks again,
Sean



________________________________

From: "Grooms, Frederick W" <[email protected]>
To: [email protected]
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:[email protected]] On Behalf Of Sean Harrodine
Sent: Monday, August 10, 2009 7:21 AM
To: [email protected]
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


_Platinum Sponsor: [email protected] ARSlist: "Where the Answers
Are"_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"

Reply via email to