Hi,
Is there anyone who have experience to wire a reference in an component
with Widget implementation
to a service from a component implemented by BPEL? I use .ws binding on
both side with a .ws interface.
The build is successful but when invoking the service in the widget, the
program seems to be stuck there.
The composite file is as follows:
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
xmlns:hns="http://tuscany.apache.org/implementation/bpel/example/helloworld"
xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
name="helloworld"
targetNamespace="http://bpel">
<component name="BPELHelloWorldComponent">
<implementation.bpel process="hns:HelloWorld" />
<service name="helloPartnerLink">
<interface.wsdl
interface="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl#wsdl.interface(HelloPortType)"
/>
<binding.ws />
</service>
</component>
<component name="RegistrationWidgetComponent">
<tuscany:implementation.widget location="Registration.html" />
<service name="Widget">
<tuscany:binding.http
uri="http://localhost:8080/Registration" />
</service>
<reference name="RegistrationReference">
<interface.wsdl
interface="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl#wsdl.interface(HelloPortType)"
/>
<binding.ws
uri="http://localhost:8080/BPELHelloWorldComponent" />
</reference>
</component>
<service name="RegistrationService"
promote="RegistrationWidgetComponent/Widget" />
<wire source="RegistrationWidgetComponent/RegistrationReference"
target="BPELHelloWorldComponent/helloPartnerLink" />
</composite>
Thanks in advance.
Best Regards
P.Han