[ 
https://issues.apache.org/jira/browse/AXIS2-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479283
 ] 

Ole Dalgaard commented on AXIS2-2000:
-------------------------------------

OK,  interesting...
I wanted to test the testBad with the latest snapshot from 
http://people.apache.org/dist/axis2/nightly/axis2-SNAPSHOT.zip
It seems to be missing a lot of jar files, so I tried to copy the ones from 
axis2-1.1.1. It gives errors like this:

java.lang.NoSuchMethodError: 
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder: method 
<init>(Ljavax/xml/stream/XMLStreamReader;)V not found
        at 
org.apache.axis2.builder.SOAPBuilder.processDocument(SOAPBuilder.java:43)
        at 
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:118)
        at 
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:77)
        at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:357)
        at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:295)
        at 
dk.test.axis2.MyTestWSServiceStub.getOtherFoo(MyTestWSServiceStub.java:533)
        at dk.test.axis2.MyTestWSTest.testBad2(MyTestWSTest.java:94)

I guess it is caused by using wrong versions of the non axis2*.jar files. Where 
can I find the correct versions of these files? 



> java.lang.RuntimeException: Unexpected subelement antal
> -------------------------------------------------------
>
>                 Key: AXIS2-2000
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2000
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.1.1
>         Environment: jdk 1.4.2 and Windows XP
>            Reporter: Ole Dalgaard
>         Assigned To: Amila Chinthaka Suriarachchi
>         Attachments: MyTestWS.wsdl, myTestWS.zip
>
>
> Using arrays in inherited types gives this error:
> java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement 
> antal
>       at 
> dk.test.axis2.MyTestWSServiceStub.fromOM(MyTestWSServiceStub.java:6360)
>       at 
> dk.test.axis2.MyTestWSServiceStub.getOtherFoo(MyTestWSServiceStub.java:182)
>       at dk.test.axis2.MyTestWSTest.testBad2(MyTestWSTest.java:94)
> Caused by: java.lang.RuntimeException: Unexpected subelement antal
>       at 
> dk.test.axis2.MyTestWSServiceStub$Bar$Factory.parse(MyTestWSServiceStub.java:1189)
>       at 
> dk.test.axis2.MyTestWSServiceStub$OtherFoo$Factory.parse(MyTestWSServiceStub.java:3681)
>       at 
> dk.test.axis2.MyTestWSServiceStub$GetOtherFooResponse$Factory.parse(MyTestWSServiceStub.java:3200)
>       at 
> dk.test.axis2.MyTestWSServiceStub.fromOM(MyTestWSServiceStub.java:6312)
>       ... 21 more
> Preparing some test data for the issue, I guess I found another bug:
> java.lang.RuntimeException: java.lang.RuntimeException: Unsupported type null 
> FooBar
>       at 
> dk.test.axis2.MyTestWSServiceStub.fromOM(MyTestWSServiceStub.java:6360)
>       at 
> dk.test.axis2.MyTestWSServiceStub.getOtherBar(MyTestWSServiceStub.java:388)
>       at dk.test.axis2.MyTestWSTest.testBad(MyTestWSTest.java:78)
> Caused by: java.lang.RuntimeException: Unsupported type null FooBar
>       at 
> dk.test.axis2.MyTestWSServiceStub$ExtensionMapper.getTypeObject(MyTestWSServiceStub.java:4144)
>       at 
> dk.test.axis2.MyTestWSServiceStub$Bar$Factory.parse(MyTestWSServiceStub.java:1091)
>       at 
> dk.test.axis2.MyTestWSServiceStub$OtherBar$Factory.parse(MyTestWSServiceStub.java:4724)
>       at 
> dk.test.axis2.MyTestWSServiceStub$GetOtherBarResponse$Factory.parse(MyTestWSServiceStub.java:5465)
>       at 
> dk.test.axis2.MyTestWSServiceStub.fromOM(MyTestWSServiceStub.java:6340)
>       ... 21 more

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to