File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Webservice Security(Generating Stub files) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Webservice Security(Generating Stub files)" Watch "Webservice Security(Generating Stub files)" New topic

Webservice Security(Generating Stub files)

Venkatesh grandhi

Joined: Jan 19, 2013
Posts: 1
Hi every one...I have small issue in generating stub files for the published webservice . I am using Apache-CXF tool to generate the stub files...So the problem is..inorder to consume published webservice we need to enter the credentails .As I'm Apache-CXF to generate stub files I need to send the credentails also in the command also.

Generally without credentials the command is: wsdl2java -client -p com.venkee.experiment http://xx.yy.zz.www:8802/service/SampleService?wsdl

So how do we pass the credentails as parameters in command
I agree. Here's the link:
subject: Webservice Security(Generating Stub files)
It's not a secret anymore!