Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

XML parse Fail exception - AXIS 1 1.2 java client  RSS feed

 
swapnil paranjape
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I am using axis 2 1.2 and have used WSDL to java to generate the java client stub and have wriiten the java client . I get the following run time exception:

Can you please provide me some pointers?

org.apache.axis2.AxisFault: XML parse failed to build a document from bytes
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.j
ava:434)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
peration.java:373)
at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAx
isOperation.java:294)
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
A wild guess is that a fault occurs in your service and the client cannot parse the fault message the server returns to the client.
Have you tried looking at the message exchange between the client and service using Wireshark or some other packet sniffing tool?
Best wishes!
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!