Advertisement

01.28.2008 at 04:35PM PST, ID: 23118046
[x]
Attachment Details

Axis2 Error While consuming WebService on Eclipse

Asked by pzaprianov in Java Programming Language, Extensible Markup Language (XML), Web Services Description Language

Tags: Java/WebServices/Axis2

Hi,

I Create a Web Service Client with Eclipse/WTP/Axis2 wizard, and i generate the stub, but when I execute the WebService I obtain the following error:

org.apache.axis2.AxisFault: Error invoking service: Could not read XML stream.. Nested exception is javax.xml.stream.XMLStreamException: ParseError at [row,col]:[0,0]
Message: Unexpected event type 10
      at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
      at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
      at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
      at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
      at com.google.www.api.afa.BroadcasterServiceCcrV1Stub.getSpotDetailReport(BroadcasterServiceCcrV1Stub.java:1126)
      at com.google.www.api.afa.Test.main(Test.java:54)

Any idea?

Thanks

Start Free Trial
 
Loading Advertisement...
 
[+][-]01.29.2008 at 12:50AM PST, ID: 20766236

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Programming Language, Extensible Markup Language (XML), Web Services Description Language
Tags: Java/WebServices/Axis2
Sign Up Now!
Solution Provided By: ragerino
Participating Experts: 1
Solution Grade: B
 
 
[+][-]01.30.2008 at 10:41AM PST, ID: 20779678

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628