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 » XML Parsing Errors restoring SOAP Envelope

Post new topic  Reply to topic
 XML Parsing Errors restoring SOAP Envelope « View previous topic :: View next topic » 
Author Message
servi
PostPosted: Mon Jun 21, 2010 6:35 am    Post subject: XML Parsing Errors restoring SOAP Envelope Reply with quote

Novice

Joined: 19 Mar 2008
Posts: 22
Location: Madrid, España

Hi,

I have done a message Flow to provide a SOAP Web Service. Initaly the ExtractEnvelopeNode and the SoapReply was in the same flow and everythings goes well.

For asyncronus propouses, I need to separate it in two flows:

SOAPInput-->ExtractEnvelope-->Compute1-->MQOutput(calls a MQService in Msg1)

MQInput(response)-->Compute2-->SOAPReply

I have save the SOAP ReplyIdentifier in the XML(XMLNSC) Msg1:

SET OutputLocalEnvironment.Destination.SOAP.Reply.ReplyIdentifier = CAST( OutputLocalEnvironment.Destination.SOAP.Reply.ReplyIdentifier AS BLOB);

But I can save the SOAP.Envelope properly. I save it in the OutputRoot, but when is readed by MQInput XML parsing errors occurs.

I have also tried to convert the SOAP.Envelope to BLOB and restore it in Compute2, but the same XML parsing errors occurs.

Compute 1:
....
DECLARE EnvelopeAsBitStream BLOB ASBITSTREAM(InputLocalEnvironment.SOAP.Envelope CCSID 1208);

SET OutputLocalEnvironment.Variables.Mapfre.INFO.SOAP.Envelope = EnvelopeAsBitStream;
...


Compute2:
....
CREATE FIRSTCHILD OF OutputLocalEnvironment.SOAP DOMAIN 'XMLNSC' PARSE( InputRoot.XMLNSC.MIDDLEWARE.INFO.SOAP.Envelope, InputProperties.Encoding, InputProperties.CodedCharSetId,'','','',FolderBitStream);
...

¿Has anyone store the SOAP Envelope in a XMLNSC message?

Thanks in advance,
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 21, 2010 7:33 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You may have to save it as 64 bit encoded BLOB.
We do this with the MQMD node information on aggregation and add a specific message to the aggregation for carrying the MQMD stuff.

You may have to resort to the same kind of trick.
Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mgk
PostPosted: Mon Jun 21, 2010 8:47 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Do you really need to save the envelope at all? The SOAPReply node will create a default one for you automatically if one is not present...


Kind Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 21, 2010 9:26 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

mgk wrote:
Do you really need to save the envelope at all? The SOAPReply node will create a default one for you automatically if one is not present...


Kind Regards,

If I understood him well, it is not about saving the envelope, it is about saving connection information, like replyto and session information/identifiers
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Mon Jun 21, 2010 10:49 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
But I can save the SOAP.Envelope properly. I save it in the OutputRoot, but when is readed by MQInput XML parsing errors occurs.

I have also tried to convert the SOAP.Envelope to BLOB and restore it in Compute2, but the same XML parsing errors occurs.
There are dozens of different XML parsing errors. It's quite hard to diagnose your problem without knowing what error you are getting. Please quote the XML parser error ( all of it ). If necessary, take a user trace to make sure that you get the entire error message.
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 » XML Parsing Errors restoring SOAP Envelope
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.