?WSDL fails when BPEL partnerLink extensions are available
----------------------------------------------------------
Key: TUSCANY-2322
URL: https://issues.apache.org/jira/browse/TUSCANY-2322
Project: Tuscany
Issue Type: Bug
Components: Java SCA BPEL Implementation Extension, Java SCA Misc
Binding Extensions
Affects Versions: Java-SCA-Next
Reporter: Luciano Resende
Fix For: Java-SCA-Next
One can reproduce this by running the itest/bpel/helloworld-ws and point your
browser to : http://localhost:8085/HelloPartnerLink?wsdl
The result is :
XML Parsing Error: not well-formed
Location: http://localhost:8085/HelloPartnerLink?wsdl
Line Number 44, Column
2:<{http://schemas.xmlsoap.org/ws/2004/03/partner-link/}partnerLinkType
name="HelloPartnerLinkType">
-^
The wsdl sent to the browser looks like :
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="helloworld"
targetNamespace="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"
xmlns:tns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<schema elementFormDefault="qualified"
targetNamespace="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="hello">
<complexType>
<sequence>
<element name="message" type="xsd:string"/>
</sequence>
</complexType>
</element>
</schema>
</wsdl:types>
<wsdl:message name="HelloMessage">
<wsdl:part name="TestPart" element="tns:hello">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="HelloPortType">
<wsdl:operation name="hello">
<wsdl:input name="TestIn" message="tns:HelloMessage">
</wsdl:input>
<wsdl:output name="TestOut" message="tns:HelloMessage">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="HelloSoapBinding" type="tns:HelloPortType">
<wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="hello">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="TestIn">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="TestOut">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="HelloService">
<wsdl:port name="HelloPort" binding="tns:HelloSoapBinding">
<wsdlsoap:address location="http://9.76.45.104:8085/HelloPartnerLink"/>
</wsdl:port>
</wsdl:service>
<{http://schemas.xmlsoap.org/ws/2004/03/partner-link/}partnerLinkType
name="HelloPartnerLinkType">
<{http://schemas.xmlsoap.org/ws/2004/03/partner-link/}role name="me"
portType="{http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl}HelloPortType">
<{http://schemas.xmlsoap.org/ws/2004/03/partner-link/}role name="you"
portType="{http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl}HelloPortType">
</{http://schemas.xmlsoap.org/ws/2004/03/partner-link/}partnerLinkType>
</wsdl:definitions>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.