[ 
https://issues.apache.org/activemq/browse/CAMEL-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54388#action_54388
 ] 

Willem Jiang commented on CAMEL-1994:
-------------------------------------

Hi William, 

I found the key why your client can't get the right response.
It is because you use the simple front end instead of using JaxWs front end to 
create the end service and front client.  These server and client do not take 
the JAXWS annotation into consideration. So the route cxf endpoint which are 
created by the JAXWS front end can't understand the request and response 
message.

Now It looks like the response message to the front client have a wrong 
RelatesTo ID, which is take from the real back end service. 


> WS-Adressing: No headers in the respose, [MAPs retrieved from message null]
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-1994
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1994
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.0.0
>         Environment: Windows XP, Camel 2.0.0, JDK 1.5, Soap-UI
>            Reporter: Shailesh Soliwal
>            Assignee: Willem Jiang
>         Attachments: ebxml_request.xml, IHEXDS.zip, logs.txt, wsa-test.patch
>
>
> I am using a cxf endpoint configured in POJO mode and running in 
> wsdl-first-approach. When a web-service client(Soap-UI) send a request with 
> headers, it expects headers back with appropriate response Action defined in 
> wsdl, however, with this configuration no headers are not being sent back.
> Error seen on debug logs:
> ContextUtils                   DEBUG retrieving MAPs from context property 
> javax.xml.ws.addressing.context.inbound
> ContextUtils                   WARN  WS-Addressing - failed to retrieve 
> Message Addressing Properties from context
> MAPAggregator                  DEBUG MAPs retrieved from message null
> ContextUtils                   DEBUG retrieving MAPs from context property 
> javax.xml.ws.addressing.context.outbound
> ContextUtils                   WARN  WS-Addressing - failed to retrieve 
> Message Addressing Properties from context
> ContextUtils                   DEBUG retrieving MAPs from context property 
> javax.xml.ws.addressing.context.outbound
> ContextUtils                   WARN  WS-Addressing - failed to retrieve 
> Message Addressing Properties from context
> Please find attached detailed logs, a sample project, and a sample xml 
> request.
> Some more details:
> Endpoint configuration: CxfEndpoint, WSAdressing Feature enabled, Wsdl First 
> approach
> Camel Version: 2.0.0
> CXF Version: 2.2.2

-- 
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