Hi, I'm using ODE 1.2 JBI Distribution with ServiceMix 3.2.2.
I built and deployd service assembly "BpelCounterService-SMX" to ServiceMix. Source Code and binary: http://www.sra.co.jp/soa/asima/20081023.zip 20081023.zip +- BpelCounterService-SMX <-- Http-SU and ODE-JBI-SU +- CounterService-SMX <-- Http-SU and JSR181-SU called from BpelCounterService-SMX ODE-JBI. Http-SU is for testing. I invoked this service by python SOAP client and SOAP request and response is below. python client | |-> BpelCounterService-SMX Http-su | | | |-> BpelCounterService-SMX ODE-JBI-SU | | | | | |-> CounterService-SMX JSR181-SU | | |<- | |<---| |<---| | ======================================================================== $ python BpelCounterService-client.py 1 BpelCounterService.wsdl In build. In dump. obj= name2 In dump_string. In dumper. In dump. obj= name1 In dump_string. In dumper. *** Outgoing HTTP headers ********************************************** POST /BpelCounter/ HTTP/1.0 Host: localhost:8080 User-agent: SOAPpy 0.12.0 (http://pywebsvcs.sf.net) Content-type: text/xml; charset="UTF-8" Content-length: 621 SOAPAction: "BpelCounterOperation" ************************************************************************ *** Outgoing SOAP ****************************************************** <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <ns1:BpelCounterOperation xmlns:ns1="http://j2ee.netbeans.org/wsdl/BpelCounter" SOAP-ENC:root="1"> <name2 xsi:type="xsd:string">name2</name2> <name1 xsi:type="xsd:string">name1</name1> </ns1:BpelCounterOperation> </SOAP-ENV:Body> </SOAP-ENV:Envelope> ************************************************************************ code= 200 msg= OK headers= Content-Type: text/xml; charset=utf-8 Server: Jetty(6.1.6) content-type= text/xml; charset=utf-8 data= <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><message><result>6.0</result></message></SOAP-ENV:Body></SOAP-ENV:Envelope> *** Incoming HTTP headers ********************************************** HTTP/1.? 200 OK Content-Type: text/xml; charset=utf-8 Server: Jetty(6.1.6) ************************************************************************ *** Incoming SOAP ****************************************************** <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <message> <result>6.0</result> </message> </SOAP-ENV:Body> </SOAP-ENV:Envelope> ************************************************************************ 6.0 ======================================================================== According to the above, server returns <message> element, but I want to receive as <messageResponse> element or <BpelCounterOperationResponse> element. (Element ends with Response.) Question: To let server return <messageResponse> or <BpelCounterOperationResponse>, how should I modify BpelCounter.wsdl and BpelCounter.bpel (and else) in BpelCounterService-SMX\src\BpelCounter-process directory ? Thanks and Regards Yuusuke Masaki
