cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Smyth (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-275) DestinationFactory and ConduitInitiator not registered for same namespaces
Date Thu, 30 Nov 2006 16:52:22 GMT
    [ http://issues.apache.org/jira/browse/CXF-275?page=comments#action_12454696 ] 
            
Andrea Smyth commented on CXF-275:
----------------------------------

No, both implementors have access to the wsdl via the wsdlLocation attribute set in the interface.
(testutils/target/generated/src/main/java/org/apache/cxf/greeter_control/Greeter).
Using the implementor in systests/src/test/java/org/apache/cxf/systest/ws/rm/GreeterImpl (with
portName attribute set to "GreeterPort")  yields transportId  http://schemas.xmlsoap.org/soap/http
A variant of this implementor with the portName attribute not set yields transportId: http://schemas.xmlsoap.org/wsdl/soap/
Both are OK for creating a destination, but  if I grab the server endpoint transportId and
try to get a corresponding conduit, this fails in the second case.

> DestinationFactory and ConduitInitiator not registered for same namespaces
> --------------------------------------------------------------------------
>
>                 Key: CXF-275
>                 URL: http://issues.apache.org/jira/browse/CXF-275
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>            Reporter: Andrea Smyth
>
> Destination factories are registered for the namespaces:
> http://cxf.apache.org/transports/jms/configuration
> http://schemas.xmlsoap.org/wsdl/soap/http
> http://schemas.xmlsoap.org/wsdl/soap12/
> http://cxf.apache.org/transports/local
> http://schemas.xmlsoap.org/wsdl/http/
> http://cxf.apache.org/transports/jms
> http://cxf.apache.org/bindings/xformat
> http://schemas.xmlsoap.org/soap/
> http://cxf.apache.org/transports/http/configuration
> http://schemas.xmlsoap.org/wsdl/soap/
> http://schemas.xmlsoap.org/soap/http
> http://www.w3.org/2003/05/soap/bindings/HTTP/
> Conduit Initiators are registered for the namespaces:
> http://cxf.apache.org/transports/jms/configuration
> http://schemas.xmlsoap.org/wsdl/soap/http
> http://cxf.apache.org/transports/local
> http://schemas.xmlsoap.org/wsdl/http/
> http://cxf.apache.org/transports/jms
> http://cxf.apache.org/bindings/xformat
> http://cxf.apache.org/transports/http/configuration
> http://schemas.xmlsoap.org/soap/http
> http://www.w3.org/2003/05/soap/bindings/HTTP/
> As a result, if an endpointtInfo has transportId  "http://schemas.xmlsoap.org/wsdl/soap/"
a destination can be created for it but no conduit. This is confusing, and there is no good
reason (such as: a particular transport is only supported on the client  side).
> Moreover it is not clear at all why and how different ways of annotating a JAX-WS implementor
result in different transportIds for that endpoint:
> For the following implementor:
> @javax.jws.WebService(serviceName = "GreeterService",
>             // portName = "GreeterPort",
>             endpointInterface = "org.apache.cxf.hello_world_soap_http.Greeter",
>             targetNamespace = "http://cxf.apache.org/hello_world_soap_http")
>                   
> public class GreeterImpl implements Greeter {
> ...
> }
> ((org.apache.cxf.jaxws.EndpointImpl)Endpoint.publish(address, new GreeterImpl())).getServer().getEndpoint().getEndpointInfo().getTransportId()
 returns http://schemas.xmlsoap.org/wsdl/soap/
> but if the portName is uncommented, the endpointInfo of the published endpoint has transportId
 http://schemas.xmlsoap.org/soap/http.
> Very frustrating in the case of RM, where for a published application server endpoint
we take its endpoint Info's transport Id to obtain a conduit  - in order to support server
seide originated standalone RM protocol messages such as SequenceAcknowledgments!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message