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 "Shailesh Kumar Sinha (JIRA)" <ax...@ws.apache.org> on 2005/03/14 17:57:10 UTC

[jira] Created: (AXIS-1871) Unable to Unmarshal XML files having xsi:type

Unable to Unmarshal XML files having xsi:type 
----------------------------------------------

         Key: AXIS-1871
         URL: http://issues.apache.org/jira/browse/AXIS-1871
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.2RC1    
 Environment: JDK -j2sdk1.4.2_02
Axis -1.2RC
    Reporter: Shailesh Kumar Sinha



Steps for getting this peoblem.

1)Get the wsdl file of a webservice.
2)Generate the java classes using wsdl2java.
3)Write a client for calling the webservcie.Run the client app.
4)Since the Code generated by Axis tries to Unmarshal the response of the webservice and it fails.
5)The unmarshalling fails only when xsi:type appears in the response XML. xsi:type appears in the XML only when object of an extended class comes in place of the base class.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS-1871) Unable to Unmarshal XML files having xsi:type

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1871?page=history ]
     
Davanum Srinivas resolved AXIS-1871:
------------------------------------

    Resolution: Incomplete

Please include a complete test that we can use to recreate the problem (and make sure u try 1.2 RC3)

-- dims

> Unable to Unmarshal XML files having xsi:type
> ---------------------------------------------
>
>          Key: AXIS-1871
>          URL: http://issues.apache.org/jira/browse/AXIS-1871
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2RC1
>  Environment: JDK -j2sdk1.4.2_02
> Axis -1.2RC
>     Reporter: Shailesh Kumar Sinha

>
> Steps for getting this peoblem.
> 1)Get the wsdl file of a webservice.
> 2)Generate the java classes using wsdl2java.
> 3)Write a client for calling the webservcie.Run the client app.
> 4)Since the Code generated by Axis tries to Unmarshal the response of the webservice and it fails.
> 5)The unmarshalling fails only when xsi:type appears in the response XML. xsi:type appears in the XML only when object of an extended class comes in place of the base class.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira