How do I refer to a client_deploy.wsdd file that's in WEB-INF?

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2011-03-03T07:21:23Z Indexed on 2011/03/03 7:25 UTC
Read the original article Hit count: 175

Filed under:
|
|
|

A basic question, but I can't seem to find the answer.

I have an Axis-generated web service that also calls another web service (for which the stubs are also generated with Axis). It's deployed in weblogic 9.2

That called web service requires authentication.

I've googled for the code to set up authentication. It requires that I set up a client_deploy.wsdd file which I've done, and added it to WEB-INF.

I need to specify this flle to Axis. There seem to be several ways of doing this, including

 System.setProperty("axis.ClientConfigFile", "client_deploy.wsdd")

or

 EngineConfiguration config = new FileProvider("client_deploy.wsdd");

but these aren't working for me. Is the issue the path for the client_deploy.wsdd file? How do I refer to a file that's at the top level of the WEB-INF directory? Googling tells me how to access it as a stream, but I don't want that, I need to pass a file name to these functions...

Please point out the obvious that I have missed

© Stack Overflow or respective owner

Related posts about java

Related posts about web-services