incubator-agila-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Ling <>
Subject Re: get back the response message
Date Tue, 31 Jan 2006 20:16:06 GMT
On Tuesday 31 January 2006 20:17, wrote:
> How do I can get the response message back?
> In the bpel file, I have input, then I assign this input variable to
> realInput variable and I use 2 ways invoke this realInput variable as
> inputVariable and output variable as outputVariable.
> in the client: I use for example:
> org.w3c.dom.Document returnDoc = engineClient.acknowledge(
> "converterLink", "Converter", "celsiusToFarenheit", new
> DOMWriter().write(doc));

I don't know if this can help You,
below I use the SAAJ API.
I get a SOAPMessage response.
and SOAPPart implements org.w3c.dom.Document interface

public void testSendMessage() throws Exception {

 URL serviceURL = new 
 SOAPMessage response = SOAPMessageHandler.sendSOAPMessage(orderSOAPMessage, 
 XPath xpath = createXpathQuery("//message/return-code/text()"); 
Iterator returnCodes = ((ArrayList)  
assertEquals("testSendMessage","0", ((TextImpl);        

Davide Ling
Sito Personale -
Key fingerprint = 284A 0FB9 F9F6 763C D429  E02B AA5D 483A 7E45 D2A6

View raw message