From axis-dev-return-76679-apmail-ws-axis-dev-archive=ws.apache.org@ws.apache.org Thu Sep 03 13:01:24 2009 Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 78971 invoked from network); 3 Sep 2009 13:01:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Sep 2009 13:01:24 -0000 Received: (qmail 56049 invoked by uid 500); 3 Sep 2009 13:01:23 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 55930 invoked by uid 500); 3 Sep 2009 13:01:23 -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 55921 invoked by uid 99); 3 Sep 2009 13:01:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 13:01:23 +0000 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; Thu, 03 Sep 2009 13:01:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4ED87234C004 for ; Thu, 3 Sep 2009 06:00:59 -0700 (PDT) Message-ID: <1738497653.1251982859308.JavaMail.jira@brutus> Date: Thu, 3 Sep 2009 06:00:59 -0700 (PDT) From: "Martin Kidby (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-4485) In an ADB Client how do I set/control an Element's attributes/sub-elements MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org In an ADB Client how do I set/control an Element's attributes/sub-elements -------------------------------------------------------------------------- Key: AXIS2-4485 URL: https://issues.apache.org/jira/browse/AXIS2-4485 Project: Axis 2.0 (Axis2) Issue Type: Bug Affects Versions: 1.4 Environment: Windows XP / Axis2 1.4.1 / Java 1.4.2 Reporter: Martin Kidby First of all I apologise for wasting people's time but I am still very green when it comes to web services and Axis. I have been supplied with a WSDL and using WSDL2Java have generated my client stub. Then I've written my client and all appears OK as I have successfully tested it against the required remote service. However, the one part of the serviice calls for an XML construct such as this: VALUE1 In the past I have only had to deal with elements such as TAG2 and it's value - no problem. I have never had to cater for the TAG1 situation, i.e. where it has attributes (or are they sub-elements?). How and where do I need to define/set ATTR1, "ABC", ATTR2, "DEF" etc. ? I have trawled around the internet but cannot seem to find the info I need - probably because I'm using the wrong terminology. Any help at all would be greatly appreciated. Thanks in advance -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.