Qunsheng Wan created CXF-8662:
---------------------------------
Summary: 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
Fix For: 3.4.6
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)