axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charitha Kankanamge (JIRA)" <>
Subject [jira] Created: (AXIS2-3397) Incorrectly handled data type in the generated schema
Date Tue, 11 Dec 2007 08:59:43 GMT
Incorrectly handled data type in the generated schema

                 Key: AXIS2-3397
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: nightly
         Environment: winxp, jdk15
            Reporter: Charitha Kankanamge
            Assignee: Amila Chinthaka Suriarachchi
            Priority: Critical

I have a pojo with the following method.

public URI echoURI(URI inuri){
		return inuri;

When exposing this as a web service in Axis2 , the generated schema (?xsd) is invalid. See
the following excerpt from the schema.

<xs:element name="echoURI">
<xs:element minOccurs="0" name="inuri" nillable="true" type="ns1:URI"/>

<xs:element name="echoURIResponse">
<xs:element minOccurs="0" name="return" nillable="true" type="ns1:URI"/>

The relevant schema element type should be anyURI.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message