Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with wsdl2java in Axis

 
thakur thakur
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tired to get some answers from Axis/SOAP mailing list on this but couldn't-

I am using Axis-1_1 and using the standard packages that come with Axis.
I am using WSDL2Java to gernerate the stubs doing the standard way-

org.apache.axis.wsdl.WSDL2Java <wsdl.name>

I get the following error 'invalid endpoint address' for any wsdl that come with the samples. I did some search on the web and I learned that I should be using ssl package (jsse.jar) and use the following command-

Java - Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
org.apache.axis.wsdl.WSDL2Java -o \src -p samples.stock GetQuote.wsdl

I still get the same error??

I welcome any suggestions from the followers of Axis or Authors of WebServices-

-JT
 
James Wang
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that it is not part of this exam objects
 
YH Lai
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try

Java org.apache.axis.wsdl.WSDL2Java -p samples.stock http://<yourservername>/<webapp>/<yourwebservice>?GetQuote.wsdl

example

Java org.apache.axis.wsdl.WSDL2Java -p samples.stock http://localhost/BasicWS/Basic.jws?GetQuote.wsdl
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic