Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 34952 invoked from network); 8 May 2006 17:21:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 May 2006 17:21:11 -0000 Received: (qmail 82358 invoked by uid 500); 8 May 2006 17:21:05 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 81966 invoked by uid 500); 8 May 2006 17:21:04 -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 81955 invoked by uid 99); 8 May 2006 17:21:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 10:21:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 10:21:03 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7BD0F41000E for ; Mon, 8 May 2006 17:20:22 +0000 (GMT) Message-ID: <2147091.1147108822504.JavaMail.jira@brutus> Date: Mon, 8 May 2006 17:20:22 +0000 (GMT+00:00) From: "Bjorn Townsend (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS-2472) WSDL not relating array of objects (base class - children) when deploying in the Apache Tomcat Server In-Reply-To: <690029.1146866974832.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-2472?page=comments#action_12378465 ] Bjorn Townsend commented on AXIS-2472: -------------------------------------- Does the service still operate in the fashion you expect, or does the problem only appear when you try to retrieve the WSDL? > WSDL not relating array of objects (base class - children) when deploying in the Apache Tomcat Server > ------------------------------------------------------------------------------------------------------ > > Key: AXIS-2472 > URL: http://issues.apache.org/jira/browse/AXIS-2472 > Project: Apache Axis > Type: Bug > Components: Deployment / Registries > Versions: 1.3 > Environment: Windows XP, Apache Tomcat 4.1, j2sdk 1.4.2, axis 1.3 > Reporter: Roxana Quiroga Sollinger > > When deploying a web service into my server, I found it's not the same one create with Java2WSDL. > I have the following data structure: > public class SimpleBean implements Serializable { } > public class UserBean extends SimpleBean { > private String name; } > In order to get the wsdl for the client, I execute the following command: > Java2Wsdl -o ProcessConnector.wsdl -l"http://localhost:8080/gtw/services/ProcessConnector" -n urn:ProcessConnector -p"ProcessConnectorService" urn:ProcessConnectorService com.acriter.gtw.core.connector.WSConnector -a -e com.acriter.strutsclient.beans.UserBean > Therefore I get a ProcessConnector.wsdl with the following information (which is correct) > > > > > > > > > > > > > > > > > > > > > > > > The following step (at the client).. wsdl2java ... -s... which generates correctly all the java classes and I get the deploy.wsdl with the following information: > xmlns:ns="urn:ProcessConnector" > qname="ns:ArrayOf_tns2_SimpleBean" > type="java:com.acriter.gtw.beans.impl.SimpleBean[]" > innerType="cmp-ns:SimpleBean" xmlns:cmp-ns="http://impl.beans.gtw.acriter.com" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > /> > xmlns:ns="http://beans.strutsclient.acriter.com" > qname="ns:UserBean" > type="java:com.acriter.strutsclient.beans.UserBean" > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > /> > xmlns:ns="http://impl.beans.gtw.acriter.com" > qname="ns:SimpleBean" > type="java:com.acriter.gtw.beans.impl.SimpleBean" > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > /> > Now.. if I deploy at the server with the AdminClient... and I want to retrieve the same wsdl that I had before, it's not coming > http://localhost:8080/gtw/services/ProcessConnector?wsdl > The relation in the tag with the UserBean class does not exist in the ProcessConnector.wsdl, which is different from the one which was generated by java2wsdl. > But on the server-config.wsdd was binded > > > > The array of SimpleBean is being used as a part of another bean as a response for the process. > Thanks for your help. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira