[ https://issues.apache.org/jira/browse/CXF-6921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15306507#comment-15306507 ]
Kaushal Kishore Agrawal commented on CXF-6921: ---------------------------------------------- Attached project contains all the implementation > Issue with Wrapper style web service client stub with implicit header > --------------------------------------------------------------------- > > Key: CXF-6921 > URL: https://issues.apache.org/jira/browse/CXF-6921 > Project: CXF > Issue Type: Bug > Components: JAX-WS Runtime > Affects Versions: 2.7.14 > Environment: Jboss EAP 6.4 > Build Tool gradle 1.11 > Reporter: Kaushal Kishore Agrawal > Attachments: SharedProject.zip > > > We have a small application, which accept a REST call and transform it into a > SOAP call and pass the same to third application (Southbound app). Response > received from Southbound application is transformed back in the REST response > to be sent to the calling application (Northbound app). > Southbound App has exposed a WSDL with implicit header, while generating > client stub we have ignored the header part, as same need to be taken care by > the SOAPHandler. > But on transformation body part of SOAP message is getting populated as empty > causing southbound application to reject the request. > Details of the environment: > ‐ Cxf 2.7.14 > ‐ Jboss EAP 6.4 > ‐ Southbound application is mocked using SOAP UI, URL of the mocked > application need to pass as header parameter in the northbound call as > ‘_mockURL’ parameter. > ‐ Request and response are getting logged using LogRequest SOAP handler. > Path of the log file need to be updated based on local directory structure. > This is just to check the outgoing request and incoming response from > southbound app. > ‐ Gradle 1.11 is used as build tool > Northbound request details > URL : http://localhost:8080/SharedProject/customers/245?type=RETAIL > Method : GET > Headers: > Accept - application/xml > Content-Type - application/xml > _mockURL - <URL of the mocked southbound application> -- This message was sent by Atlassian JIRA (v6.3.4#6332)