Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 56927 invoked from network); 20 Nov 2006 00:00:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2006 00:00:25 -0000 Received: (qmail 32509 invoked by uid 500); 20 Nov 2006 00:00:33 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 32460 invoked by uid 500); 20 Nov 2006 00:00:33 -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 32449 invoked by uid 99); 20 Nov 2006 00:00:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Nov 2006 16:00:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Sun, 19 Nov 2006 16:00:22 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9057E7142DC for ; Sun, 19 Nov 2006 16:00:02 -0800 (PST) Message-ID: <31360294.1163980802573.JavaMail.jira@brutus> Date: Sun, 19 Nov 2006 16:00:02 -0800 (PST) From: "Frederick N. Brier (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS-2227) Axis fails to emit WSDL when using beans classes ex WSDL2Java In-Reply-To: <2053522966.1127375308022.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/AXIS-2227?page=comments#action_12451202 ] Frederick N. Brier commented on AXIS-2227: ------------------------------------------ This bug seems to be very similar to JIRA Bug#AXIS-2096. I have posted a comment and potential workaround/patch to that bug. > Axis fails to emit WSDL when using beans classes ex WSDL2Java > ------------------------------------------------------------- > > Key: AXIS-2227 > URL: http://issues.apache.org/jira/browse/AXIS-2227 > Project: Apache Axis > Issue Type: Bug > Components: Serialization/Deserialization > Affects Versions: 1.2.1 > Environment: Windows XP SP2, JDK 1.5.0, Axis 1.2.1 > Reporter: Guy Rixon > > I used WSDL2Java to generate stubs and data-binding classes from hand-written WSDL. When I deployed the service Axis failed to emit the WSDL giving this error-message: > Fault - Bean attribute ivoId is of type org.apache.axis.types.URI, which is not a simple type > AxisFault > faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException > faultSubcode: > faultString: Bean attribute ivoId is of type org.apache.axis.types.URI, which is not a simple type > faultActor: > faultNode: > faultDetail: > {http://xml.apache.org/axis/}hostname:capc57 > Here is the WSDL: > > targetNamespace="urn:gtr:schema:vosi:prototype" > xmlns="http://schemas.xmlsoap.org/wsdl/" > xmlns:tns="urn:gtr:schema:vosi:prototype" > xmlns:avail="urn:ivoa:namespace:temporary:gtr:availability:v0.2" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > targetNamespace="urn:gtr:schema:vosi:prototype" > attributeFormDefault="unqualified" > elementFormDefault="qualified" > xmlns="http://schemas.xmlsoap.org/wsdl/" > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > namespace="urn:ivoa:namespace:temporary:gtr:availability:v0.2" > schemaLocation="http://www.ivoa.net/internal/IVOA/IvoaGridAndWebServices/availability-v0.2.xsd"/> > > > > > > > > > > > > > > > > > > > name="VosiSoapBinding" > type="tns:Vosi"> > style="rpc" > transport="http://schemas.xmlsoap.org/soap/http"/> > > > > > > > > > > > > binding="tns:VosiSoapBinding" > name="Vosi"> > location="http://localhost:8080/astrogrid-vosi/services/Vosi"/> > > > > > and the WSDD: > xmlns="http://xml.apache.org/axis/wsdd/" > xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > xmlns:ns="http://www.ivoa.net/xml/VOResource/v0.10" > qname="ns:ResourceName" > type="java:org.astrogrid.vosi.VOResource.v0_10.axis.v1_2_1.ResourceName" > serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory" > deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory" > encodingStyle="" > /> > xmlns:ns="urn:ivoa:namespace:temporary:gtr:availability:v0.2" > qname="ns:Availability" > type="java:org.astrogrid.vosi.Availability.v0_2.axis.v1_2_1.Availability" > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" > encodingStyle="" > /> > xmlns:ns="http://www.ivoa.net/xml/VOResource/v0.10" > qname="ns:Contact" > type="java:org.astrogrid.vosi.VOResource.v0_10.axis.v1_2_1.Contact" > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" > encodingStyle="" > /> > xmlns:ns="http://www.ivoa.net/xml/VOResource/v0.10" > qname="ns:IdentifierURI" > type="java:org.apache.axis.types.URI" > serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory" > deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory" > encodingStyle="" > /> > > -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org