Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 42659 invoked from network); 19 Oct 2007 13:14:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Oct 2007 13:14:07 -0000 Received: (qmail 43044 invoked by uid 500); 19 Oct 2007 13:09:44 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 42994 invoked by uid 500); 19 Oct 2007 13:09:44 -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 42982 invoked by uid 99); 19 Oct 2007 13:09:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 06:09:44 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 13:09:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9E8E671423B for ; Fri, 19 Oct 2007 06:08:51 -0700 (PDT) Message-ID: <2337358.1192799331647.JavaMail.jira@brutus> Date: Fri, 19 Oct 2007 06:08:51 -0700 (PDT) From: "Patrik Tennberg (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-3291) An xsd-file specifies both elements and attributes as parts of a SOAP block header. WDSL2Java generates all neccessary code for both elements and attributes but only the elements are included in the actual SOAP request when it arrives to the server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org An xsd-file specifies both elements and attributes as parts of a SOAP block header. WDSL2Java generates all neccessary code for both elements and attributes but only the elements are included in the actual SOAP request when it arrives to the server -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Key: AXIS2-3291 URL: https://issues.apache.org/jira/browse/AXIS2-3291 Project: Axis 2.0 (Axis2) Issue Type: Bug Affects Versions: 1.3 Reporter: Patrik Tennberg Our xsd-file specifies both elements and attributes as part of a SOAP block header. WDSL2Java generates all neccessary code for both elements and attributes but only the elements are included in the actual SOAP request. The SOAP standard says (5.2.1) says: "Among these MAY be any or all of the following, which have special significance for SOAP processing: encodingStyle attribute information item (see 5.1.1 SOAP encodingStyle Attribute). role attribute information item (see 5.2.2 SOAP role Attribute). mustUnderstand attribute information item (see 5.2.3 SOAP mustUnderstand Attribute). relay attribute information item (see 5.2.4 SOAP relay Attribute)." We interpret this as that you are allowed to include your own attributes in a SOAP header block. The generated request looks like follows: N231820 String String true DK 2007-10-18T13:12:07.413Z String OFFICE false Hello The edited source XSD-file looks like this: The layer or component that this test parameter is intended for. Components are expected to ignore params targeted at others. Easily selectable using XPath: //testParam[@target='mycomponent'] // Removed all of the other elements to keep it short and sweet Identifies the version of this schema used for creating the metadata. Currently this should always be schemaVersion="1.0". Element containing metadata information -- 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