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 Certification (SCDJWS/OCEJWSD) and the fly likes Issue when deploying wsdd file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Issue when deploying wsdd file" Watch "Issue when deploying wsdd file" New topic
Author

Issue when deploying wsdd file

Srinivasan Rengan
Ranch Hand

Joined: Nov 07, 2004
Posts: 122
Hi All,

When I tried to deploy the wsdd file from the command prompt using:

java org.apache.axis.client.AdminClient server-config.wsdd

I am getting the following error:

Processing file server-config.wsdd
Exception: AxisFault
faultCode: {http://xml.apache.org/axis/}Server.NoService
faultSubcode:
faultString: The AXIS engine could not find a target service to invoke! target
Service is null
faultActor:
....


My wsdd file is as following:

<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

<service name="MyFirstService" provider="java:RPC">
<parameter name="className" value="samples.math.Calculator"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="scope" value="application"/>
</service>
</deployment>


Please let me know what is going wrong here.


Thanks in advance!
Srini


SCJP, SCWCD, SCBCD (EJB 2.x and EJB 3), OCA, SCDJWS
Ugender Rekulampally
Ranch Hand

Joined: Nov 14, 2005
Posts: 130
Srinivasan,

Your deploy.wsdd (server-config.wsdd) looks good to me but I guess you are not using the complete path name while you are running your .wsdd file ..

below is the example of my test program. and 'svq' is my war file which has the service method.



hope that helps.

Thanks,
Ugender
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue when deploying wsdd file