File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Having problem with Web service Response fields:   org.xml.sax.SAXException: Invalid element Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Having problem with Web service Response fields:   org.xml.sax.SAXException: Invalid element " Watch "Having problem with Web service Response fields:   org.xml.sax.SAXException: Invalid element " New topic
Author

Having problem with Web service Response fields: org.xml.sax.SAXException: Invalid element

Siphiwe Madi
Ranch Hand

Joined: Aug 16, 2007
Posts: 70
Hi,

I have written a JAVA client application to consume a Web service, but i'm getting the error:

org.xml.sax.SAXException: Invalid element in ... - AdminLockStatus

which is one of the fields that is supposed to be part of the Response:

<TSOResponse>
<cbs:AdminLockStatus>N</cbs:AdminLockStatus>
<cbs:BillingPlatformID>99</cbs:BillingPlatformID>
<cbs:PaymentType>P</cbs:PaymentType>
<cbs:RoamingClass/>
</TSOResponse>


Testing this service using SOAP UI works fine, but giving an error in my application.
I used Axis 1.4 to convert the WSDL to Java.

Can anyone please help with this problem???

Thanks.

Regards,
Siphiwe Madi


Regards, Siphiwe Madi
[SCJP, SCWCD, __] Next ... scjwsd
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Having problem with Web service Response fields: org.xml.sax.SAXException: Invalid element
 
Similar Threads
org.xml.sax.SAXException: SimpleDeserializer encountered a child element
Array of Complex Type- item tag missing
Complex type generating "invalid element" error with Axis 1.3
org.xml.sax.SAXException: Invalid element
Need Help regarding -- org.xml.sax.SAXException: Invalid element