Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 10605 invoked from network); 28 Jul 2008 13:06:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Jul 2008 13:06:26 -0000 Received: (qmail 1155 invoked by uid 500); 28 Jul 2008 13:06:23 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 1105 invoked by uid 500); 28 Jul 2008 13:06:22 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 1094 invoked by uid 99); 28 Jul 2008 13:06:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 06:06:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 13:05:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AC626234C174 for ; Mon, 28 Jul 2008 06:05:32 -0700 (PDT) Message-ID: <1359359186.1217250332704.JavaMail.jira@brutus> Date: Mon, 28 Jul 2008 06:05:32 -0700 (PDT) From: "Emidio Stani (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-3948) WSDL2Java doesn't allow to add a custom header element through the Skeleton In-Reply-To: <1876487726.1217249131800.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emidio Stani updated AXIS2-3948: -------------------------------- Attachment: wsdlsoapheader.zip The WSDL file and the XSD related that I used > WSDL2Java doesn't allow to add a custom header element through the Skeleton > --------------------------------------------------------------------------- > > Key: AXIS2-3948 > URL: https://issues.apache.org/jira/browse/AXIS2-3948 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: Tools > Affects Versions: 1.4, 1.3 > Environment: OS: Microsoft Windows Server 2003/Mac OS X 10.5 > IDE: Eclipse 3.2/Eclipse 3.4 with plugin Axis2Codegen Wizard > Tool: WSDL2java as command line or called by the Axis2Codegen Wizard > Reporter: Emidio Stani > Attachments: wsdlsoapheader.zip > > Original Estimate: 168h > Remaining Estimate: 168h > > Hi all, > I created a WSDL file WS-I compliant (Basic Profile 1.1) where I specify an header. After that I generated stub and skeleton with the wsdl2java tool; inside the stub I have the method to call the service which allows me to add my custom header element but from the skeleton side the method allows only to work on the object that will be included in the body and not on the header. > It seems that the only way is to modify the MessageReceiverInOut java class to add the header manually when it created a new soap message. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org