my dog learned polymorphism
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Webservice Security(Generating Stub files)
It's not a secret anymore!