You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Charitha Kankanamge (JIRA)" <ji...@apache.org> on 2007/12/11 09:59:43 UTC

[jira] Created: (AXIS2-3397) Incorrectly handled java.net.URI data type in the generated schema

Incorrectly handled java.net.URI data type in the generated schema
------------------------------------------------------------------

                 Key: AXIS2-3397
                 URL: https://issues.apache.org/jira/browse/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:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="inuri" nillable="true" type="ns1:URI"/>
</xs:sequence>
</xs:complexType>
</xs:element>

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

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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-3397) Incorrectly handled java.net.URI data type in the generated schema

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi reassigned AXIS2-3397:
---------------------------------------------------

    Assignee: Deepal Jayasinghe  (was: Amila Chinthaka Suriarachchi)

please have a look at this is a POJO issue

> Incorrectly handled java.net.URI data type in the generated schema
> ------------------------------------------------------------------
>
>                 Key: AXIS2-3397
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3397
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: nightly
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>            Assignee: Deepal Jayasinghe
>            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:complexType>
> <xs:sequence>
> <xs:element minOccurs="0" name="inuri" nillable="true" type="ns1:URI"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> <xs:element name="echoURIResponse">
> <xs:complexType>
> <xs:sequence>
> <xs:element minOccurs="0" name="return" nillable="true" type="ns1:URI"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org