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 "Jake Goulding (JIRA)" <ji...@apache.org> on 2006/09/29 00:37:56 UTC
[jira] Created: (AXIS2-1264) java.lang.RuntimeException: Unexpected
subelement
java.lang.RuntimeException: Unexpected subelement
-------------------------------------------------
Key: AXIS2-1264
URL: http://issues.apache.org/jira/browse/AXIS2-1264
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Environment: Linux 2.6.9, x86-64
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode)
Reporter: Jake Goulding
Used WSDL2Java.sh on the attached wsdl file. Created a simple client with the attached code. Request envelope appears fine, response parsing fails with:
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement Lists
at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16602)
at com.vivisimo.connector.sharepoint.ListsStub.GetListCollection(ListsStub.java:672)
at Test.main(Test.java:24)
Caused by: java.lang.RuntimeException: Unexpected subelement Lists
at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResult_type16$Factory.parse(ListsStub.java:9338)
at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResponse$Factory.parse(ListsStub.java:14294)
at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16498)
... 2 more
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1264) java.lang.RuntimeException: Unexpected
subelement
Posted by "Jake Goulding (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1264?page=all ]
Jake Goulding updated AXIS2-1264:
---------------------------------
Attachment: Test.java
> java.lang.RuntimeException: Unexpected subelement
> -------------------------------------------------
>
> Key: AXIS2-1264
> URL: http://issues.apache.org/jira/browse/AXIS2-1264
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Environment: Linux 2.6.9, x86-64
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode)
> Reporter: Jake Goulding
> Attachments: Lists-wsdl.xml, response.xml, Test.java
>
>
> Used WSDL2Java.sh on the attached wsdl file. Created a simple client with the attached code. Request envelope appears fine, response parsing fails with:
> Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16602)
> at com.vivisimo.connector.sharepoint.ListsStub.GetListCollection(ListsStub.java:672)
> at Test.main(Test.java:24)
> Caused by: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResult_type16$Factory.parse(ListsStub.java:9338)
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResponse$Factory.parse(ListsStub.java:14294)
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16498)
> ... 2 more
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1264) java.lang.RuntimeException:
Unexpected subelement (xs:any)
Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1264?page=comments#action_12439041 ]
Eran Chinthaka commented on AXIS2-1264:
---------------------------------------
Dims, I wanted something in the serverside for the client to invoke. When I use your code, without a server side code, I get a java.net.SocketException: Connection reset which is, which is obvious. I wanted to get his skeleton as I wanted to test it. Anyway, since he doesn't have that I will create my own.
> java.lang.RuntimeException: Unexpected subelement (xs:any)
> ----------------------------------------------------------
>
> Key: AXIS2-1264
> URL: http://issues.apache.org/jira/browse/AXIS2-1264
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Environment: Linux 2.6.9, x86-64
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode)
> Reporter: Jake Goulding
> Assigned To: Eran Chinthaka
> Priority: Blocker
> Attachments: Lists-wsdl.xml, Main.java, response.xml, Test.java
>
>
> Used WSDL2Java.sh on the attached wsdl file. Created a simple client with the attached code. Request envelope appears fine, response parsing fails with:
> Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16602)
> at com.vivisimo.connector.sharepoint.ListsStub.GetListCollection(ListsStub.java:672)
> at Test.main(Test.java:24)
> Caused by: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResult_type16$Factory.parse(ListsStub.java:9338)
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResponse$Factory.parse(ListsStub.java:14294)
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16498)
> ... 2 more
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Assigned: (AXIS2-1264) java.lang.RuntimeException:
Unexpected subelement
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1264?page=all ]
Davanum Srinivas reassigned AXIS2-1264:
---------------------------------------
Assignee: Eran Chinthaka
> java.lang.RuntimeException: Unexpected subelement
> -------------------------------------------------
>
> Key: AXIS2-1264
> URL: http://issues.apache.org/jira/browse/AXIS2-1264
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Environment: Linux 2.6.9, x86-64
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode)
> Reporter: Jake Goulding
> Assigned To: Eran Chinthaka
> Attachments: Lists-wsdl.xml, Main.java, response.xml, Test.java
>
>
> Used WSDL2Java.sh on the attached wsdl file. Created a simple client with the attached code. Request envelope appears fine, response parsing fails with:
> Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16602)
> at com.vivisimo.connector.sharepoint.ListsStub.GetListCollection(ListsStub.java:672)
> at Test.main(Test.java:24)
> Caused by: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResult_type16$Factory.parse(ListsStub.java:9338)
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResponse$Factory.parse(ListsStub.java:14294)
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16498)
> ... 2 more
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1264) java.lang.RuntimeException: Unexpected
subelement
Posted by "Jake Goulding (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1264?page=all ]
Jake Goulding updated AXIS2-1264:
---------------------------------
Attachment: Lists-wsdl.xml
> java.lang.RuntimeException: Unexpected subelement
> -------------------------------------------------
>
> Key: AXIS2-1264
> URL: http://issues.apache.org/jira/browse/AXIS2-1264
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Environment: Linux 2.6.9, x86-64
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode)
> Reporter: Jake Goulding
> Attachments: Lists-wsdl.xml
>
>
> Used WSDL2Java.sh on the attached wsdl file. Created a simple client with the attached code. Request envelope appears fine, response parsing fails with:
> Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16602)
> at com.vivisimo.connector.sharepoint.ListsStub.GetListCollection(ListsStub.java:672)
> at Test.main(Test.java:24)
> Caused by: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResult_type16$Factory.parse(ListsStub.java:9338)
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResponse$Factory.parse(ListsStub.java:14294)
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16498)
> ... 2 more
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-1264) java.lang.RuntimeException:
Unexpected subelement (xs:any)
Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1264?page=all ]
Eran Chinthaka resolved AXIS2-1264.
-----------------------------------
Fix Version/s: 1.1
Resolution: Fixed
Fixed in 451907.
> java.lang.RuntimeException: Unexpected subelement (xs:any)
> ----------------------------------------------------------
>
> Key: AXIS2-1264
> URL: http://issues.apache.org/jira/browse/AXIS2-1264
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Environment: Linux 2.6.9, x86-64
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode)
> Reporter: Jake Goulding
> Assigned To: Eran Chinthaka
> Priority: Blocker
> Fix For: 1.1
>
> Attachments: Lists-wsdl.xml, Main.java, response.xml, Test.java
>
>
> Used WSDL2Java.sh on the attached wsdl file. Created a simple client with the attached code. Request envelope appears fine, response parsing fails with:
> Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16602)
> at com.vivisimo.connector.sharepoint.ListsStub.GetListCollection(ListsStub.java:672)
> at Test.main(Test.java:24)
> Caused by: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResult_type16$Factory.parse(ListsStub.java:9338)
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResponse$Factory.parse(ListsStub.java:14294)
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16498)
> ... 2 more
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1264) java.lang.RuntimeException: Unexpected
subelement
Posted by "Jake Goulding (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1264?page=all ]
Jake Goulding updated AXIS2-1264:
---------------------------------
Attachment: response.xml
> java.lang.RuntimeException: Unexpected subelement
> -------------------------------------------------
>
> Key: AXIS2-1264
> URL: http://issues.apache.org/jira/browse/AXIS2-1264
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Environment: Linux 2.6.9, x86-64
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode)
> Reporter: Jake Goulding
> Attachments: Lists-wsdl.xml, response.xml, Test.java
>
>
> Used WSDL2Java.sh on the attached wsdl file. Created a simple client with the attached code. Request envelope appears fine, response parsing fails with:
> Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16602)
> at com.vivisimo.connector.sharepoint.ListsStub.GetListCollection(ListsStub.java:672)
> at Test.main(Test.java:24)
> Caused by: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResult_type16$Factory.parse(ListsStub.java:9338)
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResponse$Factory.parse(ListsStub.java:14294)
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16498)
> ... 2 more
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1264) java.lang.RuntimeException:
Unexpected subelement (xs:any)
Posted by "Jake Goulding (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1264?page=comments#action_12438742 ]
Jake Goulding commented on AXIS2-1264:
--------------------------------------
I did not write, and do not have control of the server code. I am connecting to a Microsoft Sharepoint server. The best suggestion I can give is to look at the response SOAP message and make up a server skeleton that emulates that.
> java.lang.RuntimeException: Unexpected subelement (xs:any)
> ----------------------------------------------------------
>
> Key: AXIS2-1264
> URL: http://issues.apache.org/jira/browse/AXIS2-1264
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Environment: Linux 2.6.9, x86-64
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode)
> Reporter: Jake Goulding
> Assigned To: Eran Chinthaka
> Priority: Blocker
> Attachments: Lists-wsdl.xml, Main.java, response.xml, Test.java
>
>
> Used WSDL2Java.sh on the attached wsdl file. Created a simple client with the attached code. Request envelope appears fine, response parsing fails with:
> Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16602)
> at com.vivisimo.connector.sharepoint.ListsStub.GetListCollection(ListsStub.java:672)
> at Test.main(Test.java:24)
> Caused by: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResult_type16$Factory.parse(ListsStub.java:9338)
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResponse$Factory.parse(ListsStub.java:14294)
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16498)
> ... 2 more
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1264) java.lang.RuntimeException: Unexpected
subelement
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1264?page=all ]
Davanum Srinivas updated AXIS2-1264:
------------------------------------
Attachment: Main.java
tiny test that uses generated code to recreate the problem.
-- dims
> java.lang.RuntimeException: Unexpected subelement
> -------------------------------------------------
>
> Key: AXIS2-1264
> URL: http://issues.apache.org/jira/browse/AXIS2-1264
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Environment: Linux 2.6.9, x86-64
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode)
> Reporter: Jake Goulding
> Attachments: Lists-wsdl.xml, Main.java, response.xml, Test.java
>
>
> Used WSDL2Java.sh on the attached wsdl file. Created a simple client with the attached code. Request envelope appears fine, response parsing fails with:
> Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16602)
> at com.vivisimo.connector.sharepoint.ListsStub.GetListCollection(ListsStub.java:672)
> at Test.main(Test.java:24)
> Caused by: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResult_type16$Factory.parse(ListsStub.java:9338)
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResponse$Factory.parse(ListsStub.java:14294)
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16498)
> ... 2 more
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1264) java.lang.RuntimeException:
Unexpected subelement (xs:any)
Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1264?page=comments#action_12439047 ]
Eran Chinthaka commented on AXIS2-1264:
---------------------------------------
One more comment on this. The attached wsdl says elementFormDefault="qualified". But looking at the response you have attached, I don't see the elements in that are namespace qualified.
Anyway, I changed that to unqualified, but still there is another bug related to this. Now fixing it.
> java.lang.RuntimeException: Unexpected subelement (xs:any)
> ----------------------------------------------------------
>
> Key: AXIS2-1264
> URL: http://issues.apache.org/jira/browse/AXIS2-1264
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Environment: Linux 2.6.9, x86-64
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode)
> Reporter: Jake Goulding
> Assigned To: Eran Chinthaka
> Priority: Blocker
> Attachments: Lists-wsdl.xml, Main.java, response.xml, Test.java
>
>
> Used WSDL2Java.sh on the attached wsdl file. Created a simple client with the attached code. Request envelope appears fine, response parsing fails with:
> Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16602)
> at com.vivisimo.connector.sharepoint.ListsStub.GetListCollection(ListsStub.java:672)
> at Test.main(Test.java:24)
> Caused by: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResult_type16$Factory.parse(ListsStub.java:9338)
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResponse$Factory.parse(ListsStub.java:14294)
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16498)
> ... 2 more
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1264) java.lang.RuntimeException:
Unexpected subelement (xs:any)
Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1264?page=comments#action_12438682 ]
Eran Chinthaka commented on AXIS2-1264:
---------------------------------------
Jake,
Can you please attach your skeleton also in to this, as I can use that for testing.
> java.lang.RuntimeException: Unexpected subelement (xs:any)
> ----------------------------------------------------------
>
> Key: AXIS2-1264
> URL: http://issues.apache.org/jira/browse/AXIS2-1264
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Environment: Linux 2.6.9, x86-64
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode)
> Reporter: Jake Goulding
> Assigned To: Eran Chinthaka
> Priority: Blocker
> Attachments: Lists-wsdl.xml, Main.java, response.xml, Test.java
>
>
> Used WSDL2Java.sh on the attached wsdl file. Created a simple client with the attached code. Request envelope appears fine, response parsing fails with:
> Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16602)
> at com.vivisimo.connector.sharepoint.ListsStub.GetListCollection(ListsStub.java:672)
> at Test.main(Test.java:24)
> Caused by: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResult_type16$Factory.parse(ListsStub.java:9338)
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResponse$Factory.parse(ListsStub.java:14294)
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16498)
> ... 2 more
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1264) java.lang.RuntimeException: Unexpected
subelement (xs:any)
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1264?page=all ]
Davanum Srinivas updated AXIS2-1264:
------------------------------------
Summary: java.lang.RuntimeException: Unexpected subelement (xs:any) (was: java.lang.RuntimeException: Unexpected subelement)
Priority: Blocker (was: Major)
> java.lang.RuntimeException: Unexpected subelement (xs:any)
> ----------------------------------------------------------
>
> Key: AXIS2-1264
> URL: http://issues.apache.org/jira/browse/AXIS2-1264
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Environment: Linux 2.6.9, x86-64
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode)
> Reporter: Jake Goulding
> Assigned To: Eran Chinthaka
> Priority: Blocker
> Attachments: Lists-wsdl.xml, Main.java, response.xml, Test.java
>
>
> Used WSDL2Java.sh on the attached wsdl file. Created a simple client with the attached code. Request envelope appears fine, response parsing fails with:
> Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16602)
> at com.vivisimo.connector.sharepoint.ListsStub.GetListCollection(ListsStub.java:672)
> at Test.main(Test.java:24)
> Caused by: java.lang.RuntimeException: Unexpected subelement Lists
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResult_type16$Factory.parse(ListsStub.java:9338)
> at com.vivisimo.connector.sharepoint.ListsStub$GetListCollectionResponse$Factory.parse(ListsStub.java:14294)
> at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16498)
> ... 2 more
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org