You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Simon Sekat <se...@gmail.com> on 2007/07/20 20:02:53 UTC
Unroutable invocation exception when orchestrating web services written as JSR181 components
I am trying to modify the HelloWorld2 example so that it can, in an
servicemix runtime environmetn, invoke the wsdl-first example provided by
ServiceMix.
The following is the xbean.xml in the wsdl-first example
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
<jsr181:endpoint pojoClass="
org.apache.servicemix.samples.wsdl_first.PersonImpl"
endpoint="soap"
wsdlResource="classpath:person.wsdl"
style="document" />
</beans>
The following is an excerpt from the deploy.xml in my modified HelloWorld2
example that came with ODE
<invoke partnerLink="helloPerson1Link">
<service name="wsdl-first:PersonService" port="soap"/>
</invoke>
I get Unroutable invocation exception when the orchestration took place. I
need your help. Thank you.
--
Simon S.
Re: Unroutable invocation exception when orchestrating web services written as JSR181 components
Posted by Simon Sekat <se...@gmail.com>.
Alex,
I just get the problems solved. Actually, the service/endpoint name were
correct.
The problems I had were with the <assign><copy>...</copy></assign> statement
in my BPEL program.
1. incorrect namespace;
2. xpath query incorrect;
But it took a long while because the bpel compiler doesn't identify those
runtime errors, and the runtime exceptions (thrown by ODE) themselves are
not clear enough.
Thanks a lot,
On 7/20/07, Alex Boisvert <bo...@intalio.com> wrote:
>
> Your service names must match (full-qualified name). See the service
> attribute in the JSR-181 SE documentation
> http://incubator.apache.org/servicemix/servicemix-jsr181.html
>
> <jsr181:endpoint pojoClass="
> org.apache.servicemix.samples.wsdl_first.PersonImpl"
> service="wsdl-first:PersonService"
> endpoint="soap" wsdlResource="classpath:person.wsdl"
> style="document" />
>
> And make sure you define your namespaces correctly (e.g., for the
> "wsdl-first" prefix)
>
> alex
>
>
> On 7/20/07, Simon Sekat <se...@gmail.com> wrote:
> >
> > I am trying to modify the HelloWorld2 example so that it can, in an
> > servicemix runtime environmetn, invoke the wsdl-first example provided
> by
> > ServiceMix.
> >
> > The following is the xbean.xml in the wsdl-first example
> > <?xml version="1.0" encoding="UTF-8"?>
> > <beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
> >
> > <jsr181:endpoint pojoClass="
> > org.apache.servicemix.samples.wsdl_first.PersonImpl"
> > endpoint="soap"
> > wsdlResource="classpath:person.wsdl"
> > style="document" />
> >
> > </beans>
> >
> > The following is an excerpt from the deploy.xml in my modified
> HelloWorld2
> > example that came with ODE
> > <invoke partnerLink="helloPerson1Link">
> > <service name="wsdl-first:PersonService" port="soap"/>
> > </invoke>
> >
> > I get Unroutable invocation exception when the orchestration took
> > place. I
> > need your help. Thank you.
> >
> > --
> >
> > Simon S.
> >
>
--
Simon S.
Re: Unroutable invocation exception when orchestrating web services written as JSR181 components
Posted by Alex Boisvert <bo...@intalio.com>.
Your service names must match (full-qualified name). See the service
attribute in the JSR-181 SE documentation
http://incubator.apache.org/servicemix/servicemix-jsr181.html
<jsr181:endpoint pojoClass="
org.apache.servicemix.samples.wsdl_first.PersonImpl"
service="wsdl-first:PersonService"
endpoint="soap" wsdlResource="classpath:person.wsdl"
style="document" />
And make sure you define your namespaces correctly (e.g., for the
"wsdl-first" prefix)
alex
On 7/20/07, Simon Sekat <se...@gmail.com> wrote:
>
> I am trying to modify the HelloWorld2 example so that it can, in an
> servicemix runtime environmetn, invoke the wsdl-first example provided by
> ServiceMix.
>
> The following is the xbean.xml in the wsdl-first example
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
>
> <jsr181:endpoint pojoClass="
> org.apache.servicemix.samples.wsdl_first.PersonImpl"
> endpoint="soap"
> wsdlResource="classpath:person.wsdl"
> style="document" />
>
> </beans>
>
> The following is an excerpt from the deploy.xml in my modified HelloWorld2
> example that came with ODE
> <invoke partnerLink="helloPerson1Link">
> <service name="wsdl-first:PersonService" port="soap"/>
> </invoke>
>
> I get Unroutable invocation exception when the orchestration took
> place. I
> need your help. Thank you.
>
> --
>
> Simon S.
>