Hi all,

I'm trying to create an sca application with BPEL components. Therefore I
tried to run the hello-world-bpel-ws example.
Via a java client or as a tuscany node both worked fine.

But there is a problem when i try to connect to the web service of the bpel
process:

The wsdl @ http://t61-tobi:8109/BPELHelloWorldComponenthelloworld01?wsdllooks
fine:

<wsdl:definitions
name="BPELHelloWorldComponenthelloworld01.helloPartnerLink"
targetNamespace="
http://tuscany.apache.org/BPELHelloWorldComponenthelloworld01/helloPartnerLink
">
<wsdl:import namespace="
http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl";
location="/BPELHelloWorldComponenthelloworld01?wsdl=helloworld.wsdl"></wsdl:import>
<wsdl:binding name="HelloPortTypeBinding" type="ns0:HelloPortType">
<soap11:binding style="document" transport="
http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="hello">
<soap11:operation soapAction=""/>
<wsdl:input name="TestIn">
<soap11:body use="literal"/>
</wsdl:input>
<wsdl:output name="TestOut">
<soap11:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="HelloPortTypeService">
<wsdl:port name="HelloPortTypePort" binding="tns:HelloPortTypeBinding">
<soap11:address location="
http://192.168.178.27:8109/BPELHelloWorldComponenthelloworld01"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>


But the imported wsdl @
location="/BPELHelloWorldComponenthelloworld01?wsdl=helloworld.wsdl" is now
malformed:

LineNr. 44, Column2:<{
http://schemas.xmlsoap.org/ws/2004/03/partner-link/}partnerLinkTypename="HelloPartnerLinkType";>
-^

I think its because of the XMLOutput/InputFactory

the plnk prefix in <plnk:partnerLinkType name="HelloPartnerLinkType"> is
replaced by {namespace}. (I have the same problem elsewhere)

Is this an implementation problem? Or am I doing something wrong?

Thanks,

Tobias

Reply via email to