jQuery in Action, 3rd edition
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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: http://aspose.com/file-tools
subject: Webservice Security(Generating Stub files)
It's not a secret anymore!