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 » Find location of SOAP Response address in LocalEnvironment

Post new topic  Reply to topic
 Find location of SOAP Response address in LocalEnvironment « View previous topic :: View next topic » 
Author Message
sjp
PostPosted: Thu Oct 02, 2008 4:05 am    Post subject: Find location of SOAP Response address in LocalEnvironment Reply with quote

Novice

Joined: 21 Aug 2008
Posts: 18

Flow consumes SOAP message, mapped, put it to MQinput, get result from MQ output, again map and suppose to reply in SOAP format. Because, when flow put message on queue, I have to save SOAP address from: InputLocalEnvironment.Destination.SOAP.Reply.ReplyIdentifier.
My problem: before I hit the SOAPReply node, I need to put Return address in proper place. I try several different options, like OutputLocalEnvironment.Destination.SOAP.Request.WSA.MessageID or
OutputLocalEnvironment.Destination.SOAP.Request.Transport.HTTP.WebServiceURL, but they are not working and I get exception: There is no Valid SOAP reply Identifier. If I use HTTP nodes instead of SOAP, flow is working. Any advice would be appreciated.
Back to top
View user's profile Send private message
mgk
PostPosted: Thu Oct 02, 2008 4:11 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Have you set the "Compute Mode" on the Compute node to include the LocalEnvironment?

If you are still having problems, place a trace node after the compute node and trace the local envrionment to make sure you put the replyIdentifier in the correct place...
_________________
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
sjp
PostPosted: Thu Oct 02, 2008 4:19 am    Post subject: Reply with quote

Novice

Joined: 21 Aug 2008
Posts: 18

I set up option Message and LocalEnvironment( as I mention, HTTP is working) and Debugger, show me correct localEnvironment right before SOAP Reply
Back to top
View user's profile Send private message
mgk
PostPosted: Thu Oct 02, 2008 5:53 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Are your SOAPInput and SOAPReply nodes in the same execution group?

And can you paste the trace node output here along with the exact exception details please?
_________________
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
sjp
PostPosted: Tue Oct 07, 2008 7:12 am    Post subject: Reply with quote

Novice

Joined: 21 Aug 2008
Posts: 18

SOAPInput and SOAPReply are in the same flow. but as I mentioned, because I send/receive message in the middle to MQ, these 2 peices flows. Also, Exception message - "Message does not contain a valid SOAP Reply Identifier at all".
Below, TraceNode output with ${Root} right before SOAP Reply.

(
(0x01000000):Properties = (
(0x03000000):MessageSet = 'Canonical_PrintQuote_MS'
(0x03000000):MessageType = '{http://www.ibm.com/ima/iaa/IAAXML}:IssueQuotationDocumentationResponse'
(0x03000000):MessageFormat = 'XML1'
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1208
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2008-10-07 02:58:03.850'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'50491f00'
(0x03000000):ReplyProtocol = 'SOAP-AXIS2'
(0x03000000):Topic = NULL
(0x03000000):ContentType = ''
(0x03000000):IdentitySourceType = ''
(0x03000000):IdentitySourceToken = ''
(0x03000000):IdentitySourcePassword = ''
(0x03000000):IdentitySourceIssuedBy = ''
(0x03000000):IdentityMappedType = ''
(0x03000000):IdentityMappedToken = ''
(0x03000000):IdentityMappedPassword = ''
(0x03000000):IdentityMappedIssuedBy = ''
)
(0x01000000):XMLNSC = (
(0x01000000)http://www.ibm.com/ima/iaa/IAAXML:IssueQuotationDocumentationResponse = (
(0x03000102)http://www.w3.org/2000/xmlns/:NS1 = 'http://www.ibm.com/ima/iaa/IAAXML'
(0x01000000):responseHeader = (
(0x03000000)http://www.ibm.com/ima/iaa/IAAXML:id = 'a'
(0x03000000)http://www.ibm.com/ima/iaa/IAAXML:refidRequest = 'a'
(0x03000000)http://www.ibm.com/ima/iaa/IAAXML:cmdType = 'notification'
(0x03000000)http://www.ibm.com/ima/iaa/IAAXML:cmdStatus = 'Success'
(0x03000000)http://www.ibm.com/ima/iaa/IAAXML:message = 'Quote Letter created successfully'
)
(0x01000000):documentation = (
(0x03000102)http://www.w3.org/2000/xmlns/:NS2 = 'http://www.w3.org/2001/XMLSchema-instance'
(0x03000100)http://www.w3.org/2001/XMLSchema-instance:type = 'NS1:ElectronicDocument'
(0x03000000)http://www.ibm.com/ima/iaa/IAAXML:fileLocation = '\\erieInsurance.com\ho\ais\eXstream Test\a.pdf'
)
)
)
)
Back to top
View user's profile Send private message
mgk
PostPosted: Tue Oct 07, 2008 8:13 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hi, Thanks for the above, but can you paste the output of a trace node
showing ${Root} AND ${LocalEnvrionment}.

BTW, the trace showed: "(0x03000000):ReplyIdentifier = X'50491f00' ."
which suggests to me you have put the ReplyIdentifier in the wrong place: it is supposed to be in the:

OutputLocalEnvironment.Destination.SOAP.Reply.ReplyIdentifier

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
sjp
PostPosted: Tue Oct 07, 2008 10:42 am    Post subject: Reply with quote

Novice

Joined: 21 Aug 2008
Posts: 18

before I will try to put response in correct place, maybe I need to verify correct field, where address located on SOAPRequest node. Could you give location?
Back to top
View user's profile Send private message
sjp
PostPosted: Tue Oct 07, 2008 12:13 pm    Post subject: Reply with quote

Novice

Joined: 21 Aug 2008
Posts: 18

It is working. Thanks a lots.
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 » Find location of SOAP Response address in LocalEnvironment
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.