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

Error with Axis - InvocationException  RSS feed

 
Vrinda Werdel
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am a newbie to Axis soap engine.
when I try to invoke the webservice which is successfully deployed on Axis, I get the following error. I am not aable to decode this. has somebody encountered a similar problem?

regards
Vrinda

======================
Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:myhost

java.lang.reflect.InvocationTargetException
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
======================
 
Doug Slattery
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vrinda,

It sounds like there is a mismatch between your endpoints. I'd suggest meticulously recreating the service and client paying close attention to any pre-filled values. Then redeploy and test.

How are you creating your service/client? If it's the Axis2 plugin wizard for Eclipse, I might be able to help you further.

Aloha,
Doug

-- Nothing is impossible if I'mPossible
 
pradeep jaladi
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please check your Host Name and Port Number. It says that it cannot find the Host.
 
Vrinda Werdel
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Doug and Pradeep. I recrated the service and it worked fine. I need to find what went wrong the first time. I am using the axis tools to create my services.

regards
Vrinda
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!