+++ This bug was initially created as a clone of Bug #1214544 +++ Description of problem: Platform BZ for https://issues.jboss.org/browse/SWITCHYARD-2236 Even if context mapper is set to includes=".*" for SOAP binding, HTTP headers are not propagated. Version-Release number of selected component (if applicable): n/a How reproducible: 100% Steps to Reproduce: 1. Run 'mvn test' against the attached reproducer (bean-service.zip). 2. Confirm no HTTP headers are propagated to OrderService in the trace log: 12:45:12,839 INFO [org.apache.cxf.services.OrderService.OrderServicePort.OrderService] Inbound Message ---------------------------- ID: 1 Address: http://localhost:18001/quickstart-bean/OrderService Encoding: UTF-8 Http-Method: POST Content-Type: application/soap+xml; charset=UTF-8 Headers: {connection=[keep-alive], Content-Length=[392], content-type=[application/soap+xml; charset=UTF-8], Host=[localhost:18001], User-Agent=[Apache-HttpClient/4.2.6.redhat-3 (java 1.5)]} Payload: <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> <soap:Header/> <soap:Body> <orders:submitOrder xmlns:orders="urn:switchyard-quickstart:bean-service:1.0"> <order> <orderId>PO-19838-XYZ</orderId> <itemId>BUTTER</itemId> <quantity>200</quantity> </order> </orders:submitOrder> </soap:Body> </soap:Envelope> -------------------------------------- 12:45:12,910 INFO [org.switchyard.handlers.MessageTraceHandler] ------- Begin Message Trace ------- Consumer -> {urn:switchyard-quickstart:bean-service:0.1.0}OrderService Provider -> [unassigned] Operation -> submitOrder MEP -> IN_OUT Phase -> IN State -> OK Exchange Context -> CamelCreatedTimestamp ..........................: Thu Apr 23 12:45:12 JST 2015 CamelFilterMatched .............................: false CamelToEndpoint ................................: direct://%7Burn:switchyard-quickstart:bean-service:0.1.0%7DOrderService org.switchyard.bus.camel.consumer ..............: ServiceReference [name={urn:switchyard-quickstart:bean-service:0.1.0}OrderService, interface=SWITCHYARD010007: BaseServiceInterface [type=wsdl, operations=[SWITCHYARD010008: submitOrder : IN_OUT : [{urn:switchyard-quickstart:bean-service:1.0}submitOrder, {urn:switchyard-quickstart:bean-service:1.0}submitOrderResponse, null]]], domain=ServiceDomain [name=org.switchyard.domains.root]] org.switchyard.bus.camel.contract ..............: org.switchyard.metadata.BaseExchangeContract@50e6cb7e org.switchyard.bus.camel.dispatcher ............: org.switchyard.bus.camel.ExchangeDispatcher@6039e6b0 org.switchyard.bus.camel.labels ................: {org.switchyard.exchangeGatewayName=[org.switchyard.label.behavior.transient], org.switchyard.exchangeInitiatedNS=[org.switchyard.label.behavior.transient], org.switchyard.security.context.SecurityContext=[org.switchyard.label.behavior.transient]} org.switchyard.bus.camel.phase .................: IN org.switchyard.bus.camel.replyHandler ..........: org.switchyard.component.common.SynchronousInOutHandler@79585e2a org.switchyard.exchangeGatewayName .............: _OrderService_soap_1 org.switchyard.exchangeInitiatedNS .............: 60562112980679 org.switchyard.security.context.SecurityContext : DefaultSecurityContext@619513442[systemUUID=c96abdca-87be-458f-a7ab-c1e1e517f33e, expirationMillis=0, credentials=[ConfidentialityCredential@1161699038[confidential=false]], securityDomainsToSubjects={}] Message Context -> Accept ..............................: application/soap+xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 breadcrumbId ........................: ID-reunion-42724-1429760707015-4-1 org.switchyard.bus.camel.labels .....: {org.switchyard.contentType=[org.switchyard.label.behavior.transient], org.switchyard.bus.camel.messageSent=[org.switchyard.label.behavior.transient], Accept=[org.switchyard.label.endpoint.http, org.switchyard.label.component.soap]} org.switchyard.bus.camel.messageSent : true org.switchyard.contentType ..........: {urn:switchyard-quickstart:bean-service:1.0}submitOrder org.switchyard.messageId ............: ID-reunion-42724-1429760707015-4-1 org.switchyard.soap.messageName .....: submitOrder Message Content -> <orders:submitOrder xmlns:orders="urn:switchyard-quickstart:bean-service:1.0"> <order> <orderId>PO-19838-XYZ</orderId> <itemId>BUTTER</itemId> <quantity>200</quantity> </order> </orders:submitOrder> ------ End Message Trace ------- Actual results: - HTTP headers are not propagated. Expected results: - HTTP headers should be propagated. Additional info: n/a
Created attachment 1017702 [details] bean-service.zip
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.