Re: Consuming a WebService with XML Payload in ARS 8.1
When passing XML inside a payload it is always recommended to enclose it inside a CDATA structure. ARS works with fully typed XML and I believe that the documentation lists that the "any" construct is not supported. Fred From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Longwing, Lj Sent: Monday, August 05, 2013 12:05 PM To: arslist@ARSLIST.ORG Subject: Re: Consuming a WebService with XML Payload in ARS 8.1 ** Nathan, Remedy it's considering the returned value to be an array, so what you need to do is setup a child form mapping to create a record per child On Monday, August 5, 2013, Nathan Brandt mailto:nathanrbra...@gmail.com>> wrote: > ** > Hello, > I am trying to consume an external web-service from ARS 8.1 > I am showing only part of MessageType which is returned from the web-service. > This tag can either contain string or XML payload. > > > > > > > > > > > > > > > > > > > When WS returns String paylaod, returned value of "StringPayload" is > correctly read in form field, but > when WS returns XmlAnyPayload returned value of "XmlAnyPayload" is not > getting read in form field. This field is remaining blank and there are no > errors to be seen anywhere in the logs. > Returned value looks something like > > > BM > BD > > > I was expecting > "BMBD" this > to be saved in the form field, but it is seen as blank. > Any clues what might be going wrong? > > ~ Nathan ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"
Re: Consuming a WebService with XML Payload in ARS 8.1
Nathan, Remedy it's considering the returned value to be an array, so what you need to do is setup a child form mapping to create a record per child On Monday, August 5, 2013, Nathan Brandt wrote: > ** > Hello, > I am trying to consume an external web-service from ARS 8.1 > I am showing only part of MessageType which is returned from the web-service. This tag can either contain string or XML payload. > > > > > > > > > > > > > > > > > > > When WS returns String paylaod, returned value of "StringPayload" is correctly read in form field, but > when WS returns XmlAnyPayload returned value of "XmlAnyPayload" is not getting read in form field. This field is remaining blank and there are no errors to be seen anywhere in the logs. > Returned value looks something like > > > BM > BD > > > I was expecting "BMBD" this to be saved in the form field, but it is seen as blank. > Any clues what might be going wrong? > > ~ Nathan > _ARSlist: "Where the Answers Are" and have been for 20 years_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"
Consuming a WebService with XML Payload in ARS 8.1
Hello, I am trying to consume an external web-service from ARS 8.1 I am showing only part of MessageType which is returned from the web-service. This tag can either contain string or XML payload. When WS returns String paylaod, returned value of "StringPayload" is correctly read in form field, but when WS returns XmlAnyPayload returned value of "XmlAnyPayload" is not getting read in form field. This field is remaining blank and there are no errors to be seen anywhere in the logs. Returned value looks something like BM BD I was expecting "BMBD" this to be saved in the form field, but it is seen as blank. Any clues what might be going wrong? ~ Nathan ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"