See the PingPong example: http://svn.apache.org/repos/asf/ode/trunk/distro/src/examples-jbi/PingPong/ping/deploy.xml
You just need to specify the service QName and port name and have a JBI endpoint that matches those value (service qname + endpoint name). Or look at the bpel example from smx: http://svn.apache.org/repos/asf/servicemix/smx4/features/trunk/examples/loan-broker-bpel/loan-broker-ode-su/src/main/resources/deploy.xml and the corresponding endpoint definitions: http://svn.apache.org/repos/asf/servicemix/smx4/features/trunk/examples/loan-broker-bpel/loan-broker-bean-su/src/main/resources/xbean.xml On Thu, Feb 26, 2009 at 11:17, MrNinni <[email protected]> wrote: > > If I make the two http-providers for the two external WebServices, I must > recall the http-providers from ODE process. Now, in the ODE Process, the > only point where I call the WebService (by IP address, port and path) is in > the WebService wsdl. How do I set the ODE Process to go to http-provider, > and then exit to the WebService? > > > gnodet wrote: >> >> If the bpel process calls a service, you need to define a JBI endpoint >> for this service. >> If you want your process to call a web service, you need to define an >> http provider endpoint which will be called by Ode, which will serve >> as a proxy to the real web service. >> You may also need to change the target service definition called by >> Ode to match the jbi endpoint address. You should be able to find an >> example in the JBI distribution for Ode. >> In JBI, Ode can not really call web services directly. >> >> On Thu, Feb 26, 2009 at 10:15, MrNinni <[email protected]> wrote: >>> >>> mmm, sorry, i don't understand very well. >>> In ServiceMix I have created one http-consumer, a ODE component and a >>> ServiceAssembly. >>> What i must do yet? What are the JBI endpoints? >>> thank you very much for the fast answer! >>> >>> >>> gnodet wrote: >>>> >>>> IIRC, when deployed in JBI, ODE does not call web services directly. >>>> Instead it always send a JBI exchange to a target JBI endpoint. >>>> So in order to use Ode in ServiceMix, you need to define the needed >>>> JBI endpoints, which can very well be a proxy to an external web >>>> service. >>>> >>>> On Thu, Feb 26, 2009 at 09:58, MrNinni <[email protected]> wrote: >>>>> >>>>> Hello! >>>>> Sorry for my bad english. >>>>> I created an ODE process: one client calls one webservice; the first >>>>> webservice's response goes at the second webservice, and finally the >>>>> second >>>>> response goes back at the client. >>>>> The bpel file is OK, the ODE process on Tomcat function correctly >>>>> If i try to deploy the same ODE process on ServiceMix, it response with >>>>> an >>>>> error. >>>>> >>>>> Could not find route for exchange: InOut[ id: >>>>> ID:172.30.253.78-11fb1af979f-11:0 status: Active role: provider >>>>> service: >>>>> {http://sardegnait.it/AA}AA operation: {http://sardegnait.it/AA}AA in: >>>>> ... >>>>> next there are the XML message >>>>> >>>>> 172.30.253.78 is my IP address. >>>>> >>>>> What must change between the two applications (ODE on Tomcat and ODE on >>>>> ServiceMix)? Are there some configurations that I must change for >>>>> deploy >>>>> an >>>>> ODE process on Servicemix? >>>>> >>>>> Thanks. >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/ODE-on-ServiceMix-tp22219846p22219846.html >>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> Cheers, >>>> Guillaume Nodet >>>> ------------------------ >>>> Blog: http://gnodet.blogspot.com/ >>>> ------------------------ >>>> Open Source SOA >>>> http://fusesource.com >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/ODE-on-ServiceMix-tp22219846p22220333.html >>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>> >>> >> >> >> >> -- >> Cheers, >> Guillaume Nodet >> ------------------------ >> Blog: http://gnodet.blogspot.com/ >> ------------------------ >> Open Source SOA >> http://fusesource.com >> >> > > -- > View this message in context: > http://www.nabble.com/ODE-on-ServiceMix-tp22219846p22221286.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
