[ 
https://issues.apache.org/activemq/browse/SMXCOMP-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54750#action_54750
 ] 

Jean-Baptiste Onofré commented on SMXCOMP-650:
----------------------------------------------

Thanks for your feedback Freeman.

However, I have tried to expose a CXF-SE endpoint using a CXF-BC and a HTTP 
endpoint but both provide the same error: I got a NullPointerException when 
invoking:

// get the target endpoint descriptor
Document targetEndpointDescriptor = 
componentContext.getEndpointDescriptor(targetEndpoint);
// get the target endpoint definition (based on the descriptor)
Definition targetEndpointDefinition = 
javax.wsdl.factory.WSDLFactory.newInstance().newWSDLReader().readWSDL(null, 
targetEndpointDescriptor);

It looks like the targetEndpoint (which is a CXF-SE one) descriptor is null.

In the same way, it seems that whatever I define in my xbean.xml like this:

<cxfse:endpoint service="nanthrax:test" endpoint="test">...</cxfse:endpoint>

the service and endpoint are overrided by the component (putting the annotated 
service name and the ClassImplPort as endpoint).

> CXF-SE doesn't put the WSDL in the endpoint descriptor
> ------------------------------------------------------
>
>                 Key: SMXCOMP-650
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-650
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-cxf-se
>    Affects Versions: servicemix-cxf-se-2009.01
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: servicemix-cxf-se-2009.02
>
>
> Currently, a CXF-SE endpoint descriptor is null. The component doesn't push 
> the generated WSDL into the endpoint descriptor.
> It's a problem when you want to use a HTTP or CXF-BC in front of a CXF-SE 
> endpoint to expose it as a webservice.

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

Reply via email to