Connect Web service using JAVA

nav_devp
nav_devp Member Posts: 47
edited 2010-03-09 in NAV Three Tier
Hi All,
I was looking for the sample code to connect web service via JAVA code, can somebody please help.

Thanks.

Comments

  • ara3n
    ara3n Member Posts: 9,258
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • nav_devp
    nav_devp Member Posts: 47
    Hi Rashed, thanks.

    I tried to follow the steps mentioned in the Blog, but while running the WSIMPORT command,
    (C:\Program files\Java\jdk1.6.0_18\bin>Wsimport -d Generated -S Source //http://localhost:7047/DynamicsNAV/WS/SystemService)

    system is giving the error,
    [Error] Source /Schemas/dynamics/microsoft/nav/system/companies.Java <The system can not find the path specified>

    Genereated an Source folder are already exists in the BIN folder.
    Has anyone come across such error while running the ws over java, please comment, thanks.