camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pevgen <pev...@km.ru>
Subject Re: webservice response
Date Tue, 29 Apr 2008 15:52:41 GMT

Thank you, Willem.

Unfortunately, I could not repeat your decision.

The method "process" run without prolems, but  the soap-response has not
data.

my very simple processor : 

 
>  public class MyProcessor implements Processor {
>     public void process(Exchange exchange) throws Exception {
>         Message request = exchange.getIn();
>         exchange.getOut().setBody("It's my response"); 
>     }
> }
> 

and EchoImpl


> public class EchoImpl {
>     public String returnEcho(String sss) {
>         return "echo : " + sss;  
>     }
> }
> 

and my test soap-request (from my log)


> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:cam="http://camel.transsys.ru/">
>    <soapenv:Header/>
>    <soapenv:Body>
>       <cam:returnEcho>
>          <sss>test</sss>
>       </cam:returnEcho>
>    </soapenv:Body>
> </soapenv:Envelope>
> 
 
and empty soap-response (from camel)


> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Body>
>       <ns1:returnEchoResponse xmlns:ns1="http://camel.transsys.ru/"/>
>    </soap:Body>
> </soap:Envelope>
> 

In what my mistake?

Evgeny

P.S.: I use jdk 1.6 and camel 1.3
-- 
View this message in context: http://www.nabble.com/webservice-response-tp16960229s22882p16963668.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message