ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SOAPRequest not returning CDATA

Post new topic  Reply to topic
 SOAPRequest not returning CDATA « View previous topic :: View next topic » 
Author Message
DJGoodrich
PostPosted: Thu Jul 23, 2015 10:01 am    Post subject: SOAPRequest not returning CDATA Reply with quote

Apprentice

Joined: 12 Dec 2001
Posts: 30
Location: SW Florida

I have a message flow which is required to perform multiple SOAPRequests to the same URL, but for a variety of operations, including log-in, GetCompletedForms(twice, but that's a long story!), GetFormXML, & logOut.

Confirming data using SoapUI, I can determine what results should be coming back to IIB v9, on Windows.

Within the message flow, the logIn, GetCompletedForms(both iterations), and logOut work exactly as designed and expected. The GetFormXML is the only one of the five SOAPRequest calls which is supposed to return additional XML within the CDATA tags, the other four requests return correctly.

I believe I have tested using all possible SOAP Request node options & settings, but still no CDATA returned.

I have yet to find a similar example or scenario to explain what I might be doing incorrectly, or what other options are available. Before contacting the vendor of the the Web Service provider side, I wan to be certain its not IIB code. AS often heard 'the middleware folks get blamed for everything until they prove its not them;.

For the GetFormXML, I receive back on the message tree, immediately after the SOAPRequest(confirmed via Trace node) " (0x03000001:CDataField )http://Eprise:Data = '<b>Unable to include file /main/RedCarpet/FormTemplates/Initial_RAP_HUB_Submission_Form/Get_Form.xml</b><br />' (CHARACTER)"

where the cData should be. I have code used in the past to extract from the cData, but in this case, I am not seeing it in either the trace output, or via debug.

From SoapUI, I get back:
Code:
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <GetFormXMLResponse xmlns="http://Eprise">
         <GetFormXMLResult>
            <ErrorString/>
            <ErrorNum>1</ErrorNum>
            <Data><![CDATA[<?xml version="1.0" encoding="UTF-8" ?><response><forms><form ObjectId="17142" Form_Name="Profile Personal Info"><display_version></display_version><XML_STUFF_HERE>*PERSONAL INFORMATION REMOVE FOR THIS EXAMPLE, BUT IT IS WELL FORMED XML -dg*</XML_STUFF_HERE><showDate></showDate></form></forms></response>]]></Data>
         </GetFormXMLResult>
      </GetFormXMLResponse>
   </soap:Body>
</soap:Envelope>


Thank you in advance, dj
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
nelson
PostPosted: Thu Jul 23, 2015 12:52 pm    Post subject: Re: SOAPRequest not returning CDATA Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

DJGoodrich wrote:
For the GetFormXML, I receive back on the message tree, immediately after the SOAPRequest(confirmed via Trace node) " (0x03000001:CDataField )http://Eprise:Data = '<b>Unable to include file /main/RedCarpet/FormTemplates/Initial_RAP_HUB_Submission_Form/Get_Form.xml</b><br />' (CHARACTER)"


In fact it is returning XML markup within CDATA. Something like:

Code:

....
<Data><![CDATA[<b>Unable to include file /main/RedCarpet/FormTemplates/Initial_RAP_HUB_Submission_Form/Get_Form.xml</b><br />]]></Data>
...


In other words, this has nothing to do with CDATA..

I should check if both requests are the same (have the same information)... and with the WS provider what this response mean.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SOAPRequest not returning CDATA
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.