axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilias Bartolini (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (AXIS-1946) Java2WSDL generates invalid schema
Date Fri, 22 Apr 2005 14:58:23 GMT
     [ http://issues.apache.org/jira/browse/AXIS-1946?page=all ]

Ilias Bartolini updated AXIS-1946:
----------------------------------

    Attachment: service.wsdl

In the attachment there is the resulting wsdl that i actually obtain calling serviceName?wsdl

(Visible to jira-users)


> Java2WSDL generates invalid schema
> ----------------------------------
>
>          Key: AXIS-1946
>          URL: http://issues.apache.org/jira/browse/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
>  Attachments: AXIS-1946Example.zip, service.wsdl
>
> 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"
> targetNamespace="http://mid2vm.unibo.it:7782/axis12RC3/services/guideDocument">
>   <import namespace="urn:guide.www.unibo.it"/>
>   <import namespace="http://guide.www.unibo.it"/>
>   <element maxOccurs="unbounded" name="getFacoltaReturn" type="tns2:Facolta"/>
>  [...cut...]
> </schema>
> ------------
> AS described in http://www.w3.org/TR/xmlschema-1/#declare-element
> 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
>   Ilias

-- 
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


Mime
View raw message