Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 16888 invoked from network); 4 Nov 2004 23:08:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Nov 2004 23:08:42 -0000 Received: (qmail 88761 invoked by uid 500); 4 Nov 2004 23:08:36 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 88737 invoked by uid 500); 4 Nov 2004 23:08:36 -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: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 88727 invoked by uid 99); 4 Nov 2004 23:08:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 04 Nov 2004 15:08:35 -0800 Received: (qmail 13466 invoked from network); 4 Nov 2004 23:08:34 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 4 Nov 2004 23:08:34 -0000 Message-ID: <685889773.1099609714302.JavaMail.apache@nagoya> Date: Thu, 4 Nov 2004 15:08:34 -0800 (PST) From: "Michael Woinoski (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS-1646) "Java2WSDL -y wrapped -u literal" generates incorrect schema for byte[] parameters Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N "Java2WSDL -y wrapped -u literal" generates incorrect schema for byte[] parameters ---------------------------------------------------------------------------------- Key: AXIS-1646 URL: http://nagoya.apache.org/jira/browse/AXIS-1646 Project: Axis Type: Bug Components: WSDL processing Versions: 1.2RC1 Environment: Win2K Pro Reporter: Michael Woinoski For a parameter of type byte[], running Java2WSDL with --style="wrapped" and --use="literal" generates a schema with a sequence of elements of type xsd:byte instead of a single element of type xsd:base64Binary. For example, given the following method: public byte[] updatePdf(byte[] pdfDoc, String newValues) the generated schema contains the following definition: Stubs generated with WSDL2Java create the following SOAP message: soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 111 114 105 103 105 110 97 108 32 115 116 114 105 110 103 update values The pdfDoc element should be defined as: Running Java2WSDL with --style="document" produces the correct output. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira