Author |
Message
|
sjp |
Posted: Thu Oct 02, 2008 4:05 am Post subject: Find location of SOAP Response address in LocalEnvironment |
|
|
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 |
|
 |
mgk |
Posted: Thu Oct 02, 2008 4:11 am Post subject: |
|
|
 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 |
|
 |
sjp |
Posted: Thu Oct 02, 2008 4:19 am Post subject: |
|
|
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 |
|
 |
mgk |
Posted: Thu Oct 02, 2008 5:53 am Post subject: |
|
|
 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 |
|
 |
sjp |
Posted: Tue Oct 07, 2008 7:12 am Post subject: |
|
|
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 |
|
 |
mgk |
Posted: Tue Oct 07, 2008 8:13 am Post subject: |
|
|
 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 |
|
 |
sjp |
Posted: Tue Oct 07, 2008 10:42 am Post subject: |
|
|
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 |
|
 |
sjp |
Posted: Tue Oct 07, 2008 12:13 pm Post subject: |
|
|
Novice
Joined: 21 Aug 2008 Posts: 18
|
It is working. Thanks a lots. |
|
Back to top |
|
 |
|