[ http://issues.apache.org/jira/browse/AXIS2-644?page=comments#action_12439778 ] Daniel Murygin commented on AXIS2-644: --------------------------------------
Hello, is there any solution or workaround for the first problem? I have the same problem. Details: * I use axis2 nightly build form 2006/10/04 * I generated client code: WSDL2Java.sh -o ./ -d xmlbeans -s -uri resources/FahrzeugExportFacade.wsdl * I accessed the web service by using the generated test code: public void testsperreFahrzeug() throws java.lang.Exception { LOG.debug( "testsperreFahrzeug" ); com.carano.dbfleet.export.fahrzeug.ws.FahrzeugExportFacadeServiceStub stub = new com.carano.dbfleet.export.fahrzeug.ws.FahrzeugExportFacadeServiceStub(); com.carano.dbfleet.export.fahrzeug.ws.SperreFahrzeugDocument param22 = ( com.carano.dbfleet.export.fahrzeug.ws.SperreFahrzeugDocument )getTestObject( com.carano.dbfleet.export.fahrzeug.ws.SperreFahrzeugDocument.class ); param22.addNewSperreFahrzeug().setFahrzeugId( -56 ); SperreFahrzeugResponseDocument antwort = stub.sperreFahrzeug( param22 ); LOG.debug( antwort ); LOG.debug( "Fehler: " + antwort.getSperreFahrzeugResponse().getSperreFahrzeugReturn().getFehlertext() ); } * Log output is: 11:06:23,710 DEBUG [FahrzeugExportFacadeServiceTest] testsperreFahrzeug 11:06:25,820 DEBUG [FahrzeugExportFacadeServiceTest] <sperreFahrzeugResponse xmlns="http://ws.fahrzeug.export.dbfleet.carano.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <sperreFahrzeugReturn> <fehlerAufgetreten>true</fehlerAufgetreten> <fehlertext>Fahrzeug nicht gefunden, Fahrzeug-Id ist: -56</fehlertext> </sperreFahrzeugReturn> </sperreFahrzeugResponse> 11:06:25,931 DEBUG [FahrzeugExportFacadeServiceTest] Fehler: null Summary: antwort.getSperreFahrzeugResponse().getSperreFahrzeugReturn().getFehlertext() is null but antwort contains the xml element "fehlertext". It is the same problem Siamak described before. Is there a solution or workaround? Thanks for your help, Daniel (n2). > [Axis2]Deserialization of XMLBeans > ----------------------------------- > > Key: AXIS2-644 > URL: http://issues.apache.org/jira/browse/AXIS2-644 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: databinding > Environment: Axis2 RC5 > Reporter: Siamak Haschemi > Assigned To: Ajith Harshana Ranabahu > Attachments: inheritance.wsdl > > > Hello. > I have a problem with extension-types. > I used a litte WSDL-file to test the possibilities of extension-types. Well, > the WSDL-file is very simple. It contains: > - a Basetype "abstract-product-type" > - a conrete-type "beer-type" > - a INOnly request "save" > Generating client and server with WSDL works and a added the following lines > to the skeleton: > public void save(org.example.www.inheritance.SaveRequestDocument param0) { > final SaveRequest saveRequest = param0.getSaveRequest(); > final AbstractProductType abstractProductType = saveRequest.getProduct(); > System.out.println("InheritanceSkeleton.save() product = " + > abstractProductType); > } > The request from the client is > <?xml version="1.0" encoding="http://schemas.xmlsoap.org/soap/envelope/"?> > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> > <soapenv:Header/> > <soapenv:Body> > <saveRequest xmlns="http://www.example.org/inheritance/"> > <product xmlns:inh="http://www.example.org/inheritance/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:type="inh:beer-type"> > <name>Klausthaler</name> > </product> > </saveRequest> > </soapenv:Body> > </soapenv:Envelope> > And the output of the server is "InheritanceSkeleton.save() product = null" > So, please can you take a look at my files? > Thank you very much, > Siamak Haschemi -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]