Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Murach's Java Servlets and JSP this week in the Servlets 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
It is sorta covered in the JavaRanch Style Guide.
subject: Webservice Security(Generating Stub files)
Similar Threads
apache-cxf-2.4.3 : Print SOAP request resonse
Apache CXf stub class generation - JAXBElement datatype
Difference between Apache CXF Maven distribution and CXF distribution
Creating Apache Axis2 Webservice Client
RMI Skeleton class