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 "Ole Dalgaard (JIRA)" <ji...@apache.org> on 2007/01/18 16:18:30 UTC
[jira] Created: (AXIS2-2000) java.lang.RuntimeException: Unexpected
subelement antal
java.lang.RuntimeException: Unexpected subelement antal
-------------------------------------------------------
Key: AXIS2-2000
URL: https://issues.apache.org/jira/browse/AXIS2-2000
Project: Apache 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
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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-2000) java.lang.RuntimeException:
Unexpected subelement antal
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-2000.
-------------------------------------------------
Resolution: Invalid
Resolve this issue since the cause for this issue with the invalide response returned from the webshere server
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2000) java.lang.RuntimeException:
Unexpected subelement antal
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470131 ]
Amila Chinthaka Suriarachchi commented on AXIS2-2000:
-----------------------------------------------------
can you tell me the parameters you used to generate the code?
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2000) java.lang.RuntimeException:
Unexpected subelement antal
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479231 ]
Amila Chinthaka Suriarachchi commented on AXIS2-2000:
-----------------------------------------------------
thankx Dalgaard for your work.
As I told you this is a problem with the response. Response testBad passes correctly. The problem is only with the testBad2.
your bar element schema is as follows. note that the minOccurs is 1 in dato
<complexType name="Bar">
<sequence>
<element name="text" nillable="true" type="xsd:string"/>
<element maxOccurs="unbounded" minOccurs="1" name="dato" nillable="true" type="xsd:dateTime"/>
<element name="antal" nillable="true" type="xsd:long"/>
</sequence>
</complexType>
but your response
<someBars>
<text xsi:nil="true"/>
<antal>990123</antal>
</someBars>
it should have an dato element. at least a null element since it is nillable.
eg.
<someBars>
<text xsi:nil="true"/>
<dato xsi:nil="true"/>
<antal>990123</antal>
</someBars>
So it is basically a problem with Websphere.
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2000) java.lang.RuntimeException:
Unexpected subelement antal
Posted by "Sathija Pavuluri (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467851 ]
Sathija Pavuluri commented on AXIS2-2000:
-----------------------------------------
I have an issue exactly similar to this.
With ADB, inherited classes are not being serialized properly.
I wonder if this is an issue only with ADB or other data binding methods as well.
And I am seeing this not only with arrays as your sample code shows, but also with the object itself.
As in your case, for example, if you return an instance of FooBar (as opposed to an array) which extends from Bar, you'd still see the same problem.
So its not to do with arrays, its to do with inheritence.
The reason you get this error
java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement antal
is because the soap response is missing 'antal' which is defiend in your superclass Bar.
- Sathija Pavuluri.
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-2000) java.lang.RuntimeException: Unexpected
subelement antal
Posted by "Ole Dalgaard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ole Dalgaard updated AXIS2-2000:
--------------------------------
Attachment: MyTestWS.wsdl
myTestWS.zip
> java.lang.RuntimeException: Unexpected subelement antal
> -------------------------------------------------------
>
> Key: AXIS2-2000
> URL: https://issues.apache.org/jira/browse/AXIS2-2000
> Project: Apache 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
> 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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2000) java.lang.RuntimeException:
Unexpected subelement antal
Posted by "Ole Dalgaard (JIRA)" <ji...@apache.org>.
[ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2000) java.lang.RuntimeException:
Unexpected subelement antal
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472278 ]
Amila Chinthaka Suriarachchi commented on AXIS2-2000:
-----------------------------------------------------
your zip contains a file called MyTestWSSoapBindingImpl.java how did you generate this file? you testing axis2 client with an axis1.x service? Can you describes the steps you did to produce this bug?
Can you try this with nightly builds?
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2000) java.lang.RuntimeException:
Unexpected subelement antal
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473615 ]
Amila Chinthaka Suriarachchi commented on AXIS2-2000:
-----------------------------------------------------
It seems that the problem raises when axis2 client try to parse the response received from the websphere server. Can you check whether the response comes from the websphere server is valid according the the shema? does wesphere validate the response message before sending?
Can you attached the soap request message you recive from the websphere server? Then I can check your problem.
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2000) java.lang.RuntimeException:
Unexpected subelement antal
Posted by "Ole Dalgaard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470155 ]
Ole Dalgaard commented on AXIS2-2000:
-------------------------------------
I used
wsdl2java.bat -s -o testsrc -uri myTestWS.wsdl
The errors are all client side.
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2000) java.lang.RuntimeException:
Unexpected subelement antal
Posted by "Ole Dalgaard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473488 ]
Ole Dalgaard commented on AXIS2-2000:
-------------------------------------
I wrote the MyTestWSSoapBindingImpl.java myself for a Websphere webservice.
I use axis2 to test security on the websphere server, as the websphere webservice client does not support security unless the client is within a websphere server :-(
To reproduce the bug I run axis2 wsdl2java using the websphere generated wsdl file.. Then I use the axis2 client to invoke the websphere webservice.
I will try a nightly build tomorrow.
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2000) java.lang.RuntimeException:
Unexpected subelement antal
Posted by "Ole Dalgaard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478802 ]
Ole Dalgaard commented on AXIS2-2000:
-------------------------------------
Finally I found some time for this, sorry for the delay.
The request for testBad is:
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><ns6:getOtherBar xmlns:ns6="http://axis2.test.dk"><bar xmlns:ns0="http://somebeans.axis2.test.dk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns0:OtherBar"><kode>0</kode><someBar><text>@Q8903829408lkjsdlkfjslkdf</text><dato>2007-03-07T16:44:39.462Z</dato><dato>2007-03-07T16:44:39.462Z</dato><antal>898912984923</antal></someBar><cats>91238972</cats><dogName>ajsdlk</dogName></bar></ns6:getOtherBar></soapenv:Body></soapenv:Envelope>
The response for testBad is:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><p716:getOtherBarResponse xmlns:p716="http://axis2.test.dk"><getOtherBarReturn><kode>98321094</kode><someBar xsi:type="p273:FooBar" xmlns:p273="http://beans.axis2.test.dk"><text xsi:nil="true"/><dato>2007-03-07T15:43:29.917Z</dato><antal>128</antal><name>powieproipo</name></someBar><someBar xsi:type="p273:FooBar" xmlns:p273="http://beans.axis2.test.dk"><text xsi:nil="true"/><dato>2007-03-07T15:43:29.917Z</dato><antal>123128</antal><name>poiopsdfloiuouio</name></someBar><cats>912</cats><dogName>Fido</dogName></getOtherBarReturn></p716:getOtherBarResponse></soapenv:Body></soapenv:Envelope>
The request for testBad2 is:
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><ns6:getOtherFoo xmlns:ns6="http://axis2.test.dk"><foo xmlns:ns0="http://someotherbeans.axis2.test.dk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns0:OtherFoo"><kode>1898</kode><someBars><text>oiwueoiru230789827398sdjflksjdlf</text><dato>2007-03-07T16:44:40.143Z</dato><antal>8812211212</antal></someBars><someBars><text xsi:nil="true" /><dato xsi:nil="true" /><antal>9082</antal></someBars></foo></ns6:getOtherFoo></soapenv:Body></soapenv:Envelope>
The response for testBad2 is:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><p716:getOtherFooResponse xmlns:p716="http://axis2.test.dk"><getOtherFooReturn><kode>9823</kode><someBars><text xsi:nil="true"/><antal>990123</antal></someBars></getOtherFooReturn></p716:getOtherFooResponse></soapenv:Body></soapenv:Envelope>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2000) java.lang.RuntimeException:
Unexpected subelement antal
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476188 ]
Amila Chinthaka Suriarachchi commented on AXIS2-2000:
-----------------------------------------------------
could you have time to test this? you can use the tpcmon to find the response.
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Assigned: (AXIS2-2000) java.lang.RuntimeException:
Unexpected subelement antal
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepal Jayasinghe reassigned AXIS2-2000:
----------------------------------------
Assignee: Amila Chinthaka Suriarachchi
> java.lang.RuntimeException: Unexpected subelement antal
> -------------------------------------------------------
>
> Key: AXIS2-2000
> URL: https://issues.apache.org/jira/browse/AXIS2-2000
> Project: Apache 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2000) java.lang.RuntimeException:
Unexpected subelement antal
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485146 ]
Amila Chinthaka Suriarachchi commented on AXIS2-2000:
-----------------------------------------------------
can you please test this with the RC1 release?
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org