Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wdsl webservices client call error

 
raj chopra
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • 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
 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
please post your CLASSPATH, PATH and JAVA_HOME values
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic