I have a callback service which is registered by using a W3CEndpointreference. 
This works fine when used with SOPA / HTTP Binding. 

However, when callback endpoint uses HTTP/XML binding, seems like 
W3CEndpointReference is not supported on such endpoint, as I see an exception

  [java] java.lang.UnsupportedOperationException: getEndpointReference not 
support binding HTTP Binding.
     [java]     at 
org.apache.cxf.jaxws.EndpointImpl.getEndpointReference(EndpointImpl.java:534)

Seemingly also mentioned in javadoc 
http://java.sun.com/javase/6/docs/api/javax/xml/ws/Endpoint.html

Wondering what is recommended or a common practice in such a case where one 
needs to provide an endpoint reference to an endpoint (using HTTP/XML binding) 
for callback purposes. ?

thanks
Vinod


      

Reply via email to