Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1227C55C for ; Mon, 17 Nov 2014 11:55:56 +0000 (UTC) Received: (qmail 74160 invoked by uid 500); 17 Nov 2014 11:55:56 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 74114 invoked by uid 500); 17 Nov 2014 11:55:56 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 14487 invoked by uid 99); 17 Nov 2014 11:13:12 -0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of amitroy005@gmail.com does not designate 162.253.133.43 as permitted sender) Date: Mon, 17 Nov 2014 04:12:14 -0700 (MST) From: Royamit To: users@camel.apache.org Message-ID: <1416222734601-5759196.post@n5.nabble.com> Subject: How to remove soap header before sending the request to realweb service MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I have created a proxy service upon axis2's version service. In this proxy service i have implemented basic authentication using wss4jInInterceptor. Here is my camel-context.xml : Now the proxy service's basic authentication is working good. *The only problem is from camel proxy, when the request which invokes the axis service has Header information on the request payload which my axis service is unable to understand * Here is the request that axis service is getting: POST /axis2/services/Version HTTP/1.1 accept-encoding: gzip,deflate SOAPAction: "urn:getVersion" Authorization: Basic b3BwOm9wcFBhc3N3b3Jk breadcrumbId: ID-localhost-1749-1416221247796-2-1 User-Agent: Apache-HttpClient/4.1.1 (java 1.5) Host: localhost:8080 Content-Length: 1078 Content-Type: text/xml;charset=UTF-8 2014-11-17T10:51:24Z2014-11-17T11:24:44ZoppoppPasswordjIgJSain2vn2QbwORyShTA==2014-11-17T10:51:24.851Z *So my question is how can i remove the soap header through camel-config.xml before invoking the axis2 version service.* Looking forward to your answers. Thanks in advance -- View this message in context: http://camel.465427.n5.nabble.com/How-to-remove-soap-header-before-sending-the-request-to-realweb-service-tp5759196.html Sent from the Camel - Users mailing list archive at Nabble.com.