Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How do I manually supply WSDL instead of returning automatically generated WSDL?  RSS feed

Megha Gulati
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have an application where we use Jboss5.1 with Axis 1.4.

In answer to my above question, <service name="Test" provider="java:RPC" >
<!-- <wsdlFile>WEB-INF/wsdls/mywsdl.wsdl</wsdlFile> -->
</service> I found the following solution on the axis site :

I tried using <wsdlFile> with both absolute and relative paths separately. but I am not able to find the wsdl file anywhere.
PFB my wsdd details :

<service name="cpAPI" provider="java:RPC">
<parameter name="wsdlTargetNamespace" value=""/>
<parameter name="className" value="com.pb.clearpath.api.service.ClearPathAPIBean" />
<parameter name="allowedMethods" value="*" />


and on running it on localhost I get the following error :

AXIS error

Sorry, something seems to have gone wrong... here are the details:

Fault - Unable to find WSDL file or resource /srv/webapps/axis/cpAPI.wsdl

faultCode: {}Server.generalException
faultString: Unable to find WSDL file or resource /srv/webapps/axis/cpAPI.wsdl

I am quite new to axis and Jboss. Kindly explain which directory path we should give for <wsdlFile> . It can be any existing path or somewhere else?
Please help, its quite urgent. I hope I am able to explain the problem properly. I am new to both Jboss and axis.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!