axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Murygin (JIRA)" <>
Subject [jira] Created: (AXIS2-1310) Deserialization of XMLBeans fails
Date Thu, 05 Oct 2006 12:40:26 GMT
Deserialization of XMLBeans fails

                 Key: AXIS2-1310
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: databinding
    Affects Versions: 1.0, nightly
         Environment: Linux, Java 5 (Sun)
            Reporter: Daniel Murygin


the deserialization of a web service response fails.


* I use axis2 nightly build form 2006/10/04. I also tried Version 1.0.
* I use XMLBeans for databinding
* I generated client code for my web service: -o ./ -d xmlbeans -s -uri ./resources/FahrzeugExportFacade.wsdl
* I access the web service by using (modified) generated test code:

public void testsperreFahrzeug() throws java.lang.Exception
    LOG.debug( "testsperreFahrzeug" ); stub = new; param22 = (
)getTestObject( );
    param22.addNewSperreFahrzeug().setFahrzeugId( -56 );

    SperreFahrzeugResponseDocument antwort = stub.sperreFahrzeug( param22 );
    LOG.debug( "XML: " + antwort );
    LOG.debug( "Fehler: " + antwort.getSperreFahrzeugResponse().getSperreFahrzeugReturn().getFehlertext()

*Log output is:

11:06:23,710 DEBUG [FahrzeugExportFacadeServiceTest] testsperreFahrzeug
11:06:25,820 DEBUG [FahrzeugExportFacadeServiceTest] XML: <sperreFahrzeugResponse xmlns=""
xmlns:xsi="" xmlns:xsd=""
    <fehlertext>Fahrzeug nicht gefunden, Fahrzeug-Id ist: -56</fehlertext>
11:06:25,931 DEBUG [FahrzeugExportFacadeServiceTest] Fehler: null

* antwort.getSperreFahrzeugResponse().getSperreFahrzeugReturn().getFehlertext() is null but
"antwort" contains the xml element "fehlertext"

Maybe this bug is related to AXIS2-644 and

Is there a work-around to get values when using XMLBeans?

Thanks for your help, Daniel.

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:


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

View raw message