[
https://issues.apache.org/jira/browse/CXF-460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bozhong Lin updated CXF-460:
----------------------------
Fix Version/s: 2.0-RC
Affects Version/s: 2.0-RC
> All endpoints must share the same portType
> ------------------------------------------
>
> Key: CXF-460
> URL: https://issues.apache.org/jira/browse/CXF-460
> Project: CXF
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0-RC
> Reporter: Jarek Gawor
> Assigned To: willem Jiang
> Priority: Critical
> Fix For: 2.0-RC
>
>
> I'm getting the following exception:
> java.lang.IllegalStateException: All endpoints must share the same portType
> at
> org.apache.cxf.wsdl11.WSDLServiceBuilder.buildService(WSDLServiceBuilder.java:174)
> at
> org.apache.cxf.wsdl11.WSDLServiceBuilder.buildService(WSDLServiceBuilder.java:144)
> at
> org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:91)
> at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:180)
> at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:226)
> at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:126)
> at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:243)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:196)
> at javax.xml.ws.Service.getPort(Service.java:120)
> with WSDL that has multiple ports and each port specifies a different port
> type. Since WSDL service is a collection of different ports such WSDL should
> be supported.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.