You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2022/02/25 23:10:00 UTC

[jira] [Assigned] (CXF-8662) publish wsdl first service which contain multiple binding with same porttype always publish first binding.

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

Andriy Redko reassigned CXF-8662:
---------------------------------

    Assignee: Andriy Redko

> publish wsdl first service which contain multiple binding with same porttype always publish first binding.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-8662
>                 URL: https://issues.apache.org/jira/browse/CXF-8662
>             Project: CXF
>          Issue Type: Bug
>          Components: Simple Frontend
>    Affects Versions: 3.4.5
>            Reporter: Qunsheng Wan
>            Assignee: Andriy Redko
>            Priority: Major
>
> using samples for example,
> 1) update samples\wsdl_first_dynamic_client\src\main\java\org\apache\cxf\demo\complex\ComplexImpl.java, change the portname to "Company_ESB_Application_Biztalk_AgentDetails_4405_AgentDetails_PrtSoap12"
> 2) update samples\wsdl_first_dynamic_client\src\main\java\demo\hw\server\Server.java change the publish code to:
>         Endpoint ep =Endpoint.create("http://www.w3.org/2003/05/soap/bindings/HTTP/", complexImpl);
>         ep.publish(address);
> 3) mvn install 
> 4) mvn -Pserver
> 5) go to [http://localhost:9000/Complex?wsdl,] then you will find the tns:Company_ESB_Application_Biztalk_AgentDetails_4405_AgentDetails_PrtSoap will be implemented, instead of tns:Company_ESB_Application_Biztalk_AgentDetails_4405_AgentDetails_PrtSoap12.
> this issue can be reproduced since 3.1.12.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)