You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Nash (JIRA)" <de...@tuscany.apache.org> on 2011/04/23 00:29:06 UTC

[jira] [Reopened] (TUSCANY-2322) ?WSDL fails when BPEL partnerLink extensions are available

     [ https://issues.apache.org/jira/browse/TUSCANY-2322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash reopened TUSCANY-2322:
---------------------------------

      Assignee: Simon Nash

This problem wasn't resolved by the change in r657338. It has recently been reported again by a user (see [1]).

[1] http://mail-archives.apache.org/mod_mbox/tuscany-user/201104.mbox/raw/%3CBANLkTin4BhwWmmPWZ+L1y7LMDVfAZdszgQ@mail.gmail.com%3E

> ?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-1.x
>            Reporter: Luciano Resende
>            Assignee: Simon Nash
>             Fix For: Java-SCA-1.x
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira