Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > AxisFault java.lang.reflect.InvocationTargetException

Reply
Thread Tools

AxisFault java.lang.reflect.InvocationTargetException

 
 
in_dv
Guest
Posts: n/a
 
      07-28-2006
Hi,

I am creating a web service application with the help of this example
http://www.simpaq.com/pages/4/index.htm . It was running successfully
until I changed the method name in the descriptor.

When I try to undeploy the service , I am getting following error.

[root@ni-project simpaq]# java org.apache.axis.client.AdminClient -p
8080 undeploy.wsdd
Processing file undeploy.wsdd
Exception: 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:ni-project

[root@ni-project simpaq]#

.. Also if I check on this url
http://localhost:8080/axis/services/StateMessageService
blank page is displayed.

otherwise it was displaying following message:
hi there this is an AXIS service
Perhaps there will be a form for invoking the service here...

Please let me know what I am missing ...here goes the descriptor
deploy.wsdd

<deployment name="test" xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
xmlnssi="http://www.w3.org/2000/10/XMLSchema-instance">
<!-- note that either style="message" OR provider="java:MSG" both
work -->
<service name="PpmService" style="message">
<parameter name="className" value="com.simpaq.message.PpmService" />
<parameter name="allowedMethods" value="RechargeCreditCard" />
</service>
</deployment>

original ex. descriptor

<deployment name="test" xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
xmlnssi="http://www.w3.org/2000/10/XMLSchema-instance">
<!-- note that either style="message" OR provider="java:MSG" both
work -->
<service name="StateMessageService" style="message">
<parameter name="className"
value="com.simpaq.message.StateMessageService" />
<parameter name="allowedMethods" value="getInformation" />
</service>
</deployment>


Thanks a lot for your help

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Axis2 - org.apache.axis2.AxisFault: Transaction not active Michael Post Java 5 08-22-2009 09:33 PM
org.apache.axis.AxisFault.makeFault(AxisFault.java:101) John Smith Java 28 05-20-2009 07:14 PM



Advertisments