cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jervis Liu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-693) javax.xml.ws.handler.PortInfo getBindingID() incorrect
Date Thu, 31 May 2007 09:04:15 GMT

    [ https://issues.apache.org/jira/browse/CXF-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500322
] 

Jervis Liu commented on CXF-693:
--------------------------------

I believe this one is working. See test case: org.apache.cxf.systest.handlers.HandlerInvocationTest.testAddHandlerThroughHandlerResolverClientSide()

> javax.xml.ws.handler.PortInfo getBindingID() incorrect
> ------------------------------------------------------
>
>                 Key: CXF-693
>                 URL: https://issues.apache.org/jira/browse/CXF-693
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0-RC
>            Reporter: Bharath Ganesh
>            Assignee: Jervis Liu
>
> The binding id returned in javax.xml.ws.handler.PortInfo getBindingID() method is incorrect.

> initializePorts() in ServiceImpl uses EndpointInfo.getTransportId() to set the bindingId.
Even  ei.getBinding().getBindingId() is broken. 
> Ideally ei.getBinding().getBindingId() should return the proper binding id. 
> The stack trace of bindingID initialization is here: 
> java.lang.Exception: Stack trace
> 	at java.lang.Thread.dumpStack(Thread.java:1158)
> 	at org.apache.cxf.service.model.BindingInfo.<init>(BindingInfo.java:45)
> 	at org.apache.cxf.binding.soap.model.SoapBindingInfo.<init>(SoapBindingInfo.java:45)
> 	at org.apache.cxf.binding.soap.model.SoapBindingInfo.<init>(SoapBindingInfo.java:40)
> 	at org.apache.cxf.binding.soap.SoapBindingFactory.createBindingInfo(SoapBindingFactory.java:252)
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildBinding(WSDLServiceBuilder.java:471)
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:262)
> 	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:159)
> 	at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:117)
> 	at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:108)
> 	at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:99)
> 	at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:55)
> 	at javax.xml.ws.Service.<init>(Service.java:57)
>                      .....(Cut shorted)
> JAXWS TCK tests fail becuse of this. 
> The bindingId should be one among these: 
> "http://schemas.xmlsoap.org/wsdl/soap/http";  
> "http://www.w3.org/2003/05/soap/bindings/HTTP/";
> "http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true";
> "http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true";
> Currently the biding id is none of these. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message