aspose file tools*
The moose likes Web Services and the fly likes wdsl webservices client call error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "wdsl webservices client call error" Watch "wdsl webservices client call error" New topic
Author

wdsl webservices client call error

raj chopra
Ranch Hand

Joined: Apr 09, 2012
Posts: 60
Hi All,

I am learning web services, when i am trying to use a web service wsdl from geoipservices.
The wsdl url is" http://www.webservicex.net/geoipservice.asmx?WSDL "
I am getting the system cannot find the path specified error while i am using the "wsimport http://www.webservicex.net/geoipservice.asmx?WSDL " in cmd prompt.

adding more

when i am trying to execute the wsimport in cmd prompt from any random location like c:\user\raj .. wsimport is not executed ,says wsimport cmd is not recognised etc. however the same command works when i change the directory to jdk folder of java 7. i also have checked the path which is pointing to jdk 7 bin folder only. which makes me wonder as wsimport should be available regardless of the path i mentioned.

Anylight shed on this will be greatly helpful for me to move head.

Thanks in advance.

Regards,
Raj

Reagrds,
raj chopra
Abhay Agarwal
Ranch Hand

Joined: Feb 29, 2008
Posts: 1105
    
    1

seem like simple PATH eniv variable setting error. Please check whether you have set JAVA_HOME path and PATH variable correctly or not.
raj chopra
Ranch Hand

Joined: Apr 09, 2012
Posts: 60
Hi Abhay ,

Thanks for your reply.

That's the interesting part here, the class path of the java is set to java 7 bin foler where the wsimport resides.

However the wsimport command fails if i am pointing the cmd curzor location to a different folder or directory

Regards,
Raj
Abhay Agarwal
Ranch Hand

Joined: Feb 29, 2008
Posts: 1105
    
    1

please post your CLASSPATH, PATH and JAVA_HOME values
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: wdsl webservices client call error