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 <[EMAIL PROTECTED]> 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.

Reply via email to