• 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:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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
 
Tomorrow is the first day of the new metric calendar. Comfort me tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic