Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

wdsl webservices client call error

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
please post your CLASSPATH, PATH and JAVA_HOME values
 
Acetylsalicylic acid is aspirin. This could be handy too:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic