axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilias Bartolini (JIRA)" <>
Subject [jira] Created: (AXIS-1946) Java2WSDL generates invalid schema
Date Fri, 22 Apr 2005 14:47:27 GMT
Java2WSDL generates invalid schema

         Key: AXIS-1946
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.2RC3    
 Environment: Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Linux digitalman 2.6.5 #6 Tue Apr 20 03:46:25 CEST 2004 i686 unknown unknown GNU/Linux

    Reporter: Ilias Bartolini

I've deployed a service which java methods return an array of objects. All Java objects are
mapped with BeanMapping. Signature of one of the methods follows:
  public Facolta[] getFacolta(String language) throws RemoteException {...}

The autogenerated WSDL contains the following schema snippet:
<schema elementFormDefault="qualified"
  <import namespace=""/>
  <import namespace=""/>
  <element maxOccurs="unbounded" name="getFacoltaReturn" type="tns2:Facolta"/>

AS described in
maxOccours attribute isn't allowed in XMLSchema if <element> descends directly
from <schema>!!!

If you need more information about my service definition, just ask.
I'm trying to attach a .zip of the whole service definition

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message