I am new to web services and I am using the jwsdp from Sun. I succesfully built and deployed a web service and I would like to test it with a java client. I just do not know where to find my generated stub. I ran the following command:
Can anyone please help?
Thanks in advance,
Julien.
Rr Kumaran
Ranch Hand
Joined: Sep 17, 2001
Posts: 548
posted
0
it would create a directory package u specified in config.xml using packageName attribute and it would generate such package comprising stub classes in the directory specified by -d option of wscompile -gen command
RR Kumaran
SCJP 1.4
Julien Martin
Ranch Hand
Joined: Apr 24, 2004
Posts: 383
posted
0
No. That is the whole point of my post. There is NO stub generated in either directory. Is my command wrong? How do I get my generated stub?? Thanks in advance, Julien.
2. c:\> wscompile �httpproxy:10.236.235.7:3128 �import .\WS\config.xml c:\> wscompile �httpproxy:10.236.235.7:3128 �gen .\WS\config.xml This will create a com directory in the current folder
c:\> jar �cvf aws.jar com copy this aws.jar to your web application�s lib direcory
Julien Martin
Ranch Hand
Joined: Apr 24, 2004
Posts: 383
posted
0
Hello and thanks for your replies,
I followed your instructions and I am now running this:
Here is what I get:
Here is my WSDL:
By the way when I run this:
I get this:
error: error: file not found: G╟⌠httpproxy:10.236.235.7:3128 Usage: wscompile [options] configuration_file
Regards,
Julien.
Rr Kumaran
Ranch Hand
Joined: Sep 17, 2001
Posts: 548
posted
0
I think you didnt read the JWSDP'S wscompile documentation completely. I prefer you to do that.
-httpproxy options are required to be specified if you are usually accessing internet from behind a firewall otherwise u dont need to provide those details. try removing this option ...
Julien Martin
Ranch Hand
Joined: Apr 24, 2004
Posts: 383
posted
0
Hello Nritya,
I got it to work with the �httpproxy option. I got it to work for the amazon web service as well as for the jwsdp samples.
However it does not work for the wsdl listed below.
I get the following warning and no stub class is generated.