Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 51518 invoked from network); 27 Jun 2009 04:33:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jun 2009 04:33:27 -0000 Received: (qmail 92592 invoked by uid 500); 27 Jun 2009 04:33:37 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 92544 invoked by uid 500); 27 Jun 2009 04:33:37 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 92535 invoked by uid 99); 27 Jun 2009 04:33:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jun 2009 04:33:37 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.198.247] (HELO rv-out-0708.google.com) (209.85.198.247) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jun 2009 04:33:27 +0000 Received: by rv-out-0708.google.com with SMTP id f25so48646rvb.28 for ; Fri, 26 Jun 2009 21:33:06 -0700 (PDT) Received: by 10.141.22.1 with SMTP id z1mr3525307rvi.211.1246077186465; Fri, 26 Jun 2009 21:33:06 -0700 (PDT) Received: from ?192.168.1.4? ([124.43.166.144]) by mx.google.com with ESMTPS id g22sm13808444rvb.45.2009.06.26.21.33.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 26 Jun 2009 21:33:05 -0700 (PDT) Subject: Re: Simple modify SOAP header client needed From: Manjula Peiris To: Apache AXIS C User List In-Reply-To: <24225699.post@talk.nabble.com> References: <24225699.post@talk.nabble.com> Content-Type: text/plain Date: Sat, 27 Jun 2009 10:03:00 +0530 Message-Id: <1246077180.5235.12.camel@manjula-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I think you can build a soap_header_node using Axiom and add it using the following function in axis2_svc_client.h AXIS2_EXTERN axis2_status_t AXIS2_CALL axis2_svc_client_add_header( axis2_svc_client_t * svc_client, const axutil_env_t * env, axiom_node_t * header); Thanks, -Manjula. On Fri, 2009-06-26 at 12:06 -0700, mhuffman wrote: > Sorry if this has been asked before, but I'm looking for a simple client > showing how to modifying SOAP header... or a really good Axis2 C/C++ > reference book. > > I'm not looking to do something overly complicated, something like add > 'value' to the SOAP header. > > I've tried modifying the Echo client/server... I've seen on-line that > someone mentioned using op_client to modify the SOAP header, but I'm at a > loss as to where to start. > > Thank in advance for help, > --Mike.