Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 28645 invoked from network); 5 Oct 2009 09:32:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Oct 2009 09:32:05 -0000 Received: (qmail 8673 invoked by uid 500); 5 Oct 2009 09:32:03 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 8601 invoked by uid 500); 5 Oct 2009 09:32:02 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 8592 invoked by uid 99); 5 Oct 2009 09:32:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 09:32:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 09:31:51 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Mujuk-0001eN-2N for axis-user@ws.apache.org; Mon, 05 Oct 2009 02:31:30 -0700 Message-ID: <25747709.post@talk.nabble.com> Date: Mon, 5 Oct 2009 02:31:30 -0700 (PDT) From: sh_santosh To: axis-user@ws.apache.org Subject: How to add explicit SOAP header in WSDL for generating SOAP message - Axis1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: santosh.ncstk@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Dear All, I need to expose java web services. I am using Axis1.4, Java 1.5 and Tomcat 5.0 for exposing services. SOAP request and SOAP response have 'authentication' tag in SOAP header. SOAP Request - UserName Password ....................................... -------------------------------------------------------------- SOAP response - XXUserName XXPassword 2007B ................ By seeing the SOAP message structure, we have decided to add SOAP header explicitly in WSDL. We are NOT able to differentiate between SOAP request and SOAP response 'authentication' tag in WSDL. We have attempted to solve the above problem by creating 2 different type of WSDL. Please have look into these wsdl. WSDL-1 : WSDL-2 : Please advise. Regards, Santosh -- View this message in context: http://www.nabble.com/How-to-add-explicit-SOAP-header-in-WSDL-for-generating-SOAP-message---Axis1.4-tp25747709p25747709.html Sent from the Axis - User mailing list archive at Nabble.com.