Hello,
I have setup a HL7 LLP listeren service, and send it to 2 soap destinations. (Destination1 & Destination2). The first SOAP destiontion is actually needed to login to the SOAP server. I get back a session ID which i need to use in the second destination.
I search the forum how I sould get from the response message a value back and pass that in to the second destination, but i want not able to find a way.
I have putted this code into the transformer of Destionation2
(the default xml namespace was found in the forum)
I get the next error
It is so fustrating, i know exactly what i want to do, but i don't know how :-(
Alessandro
Post edited by: Alessandro, at: 01/16/2008 05:08
I have setup a HL7 LLP listeren service, and send it to 2 soap destinations. (Destination1 & Destination2). The first SOAP destiontion is actually needed to login to the SOAP server. I get back a session ID which i need to use in the second destination.
I search the forum how I sould get from the response message a value back and pass that in to the second destination, but i want not able to find a way.
I have putted this code into the transformer of Destionation2
Code:
default xml namespace = new Namespace("soap","[url]http://schemas.xmlsoap.org/soap/envelope/"«»[/url]); var responseVal = responseMap.get('Destination1'); globalMap.put('session_id', ResponseFactory.getSuccessResponse('responseVal'));
I get the next error
Code:
TypeError: error: Use of undefined namespace prefix: soap
Alessandro
Post edited by: Alessandro, at: 01/16/2008 05:08
Comment