Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: Problem with installing JWSDP

  1. #1
    Junior Member
    Join Date
    Mar 2019
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Problem with installing JWSDP

    Hi everyoone,

    im fairly new to programming and just started learning Java. After learning the basics i tried to build a simple program which makes a soap-call to a WS (saw a tutorial for it on youtube).

    So i used wsimport to create Java Classes from a WSDL but in Eclipse the Classes are full of compiling errors. Google search suggested, that i would need the Java Webservice developers pack, so i downloaded it. On every install tutorial i see a gui but i only get a console in which it seems to search for a java virtual machine. I cannot see any error though because the console is closing itself at some point. I attached a screenshot of what i see while trying to install it.

    I have installed :
    jdk-10.0.2
    jdk-11.0.2
    jre-10.0.2
    eclipse

    i tried installing:
    jwsdp-1_5-windows-i586
    jwsdp-2_0-windows-i586

    MAybe someone can help me out, what am i doing wrong ?

    I hope this is the right board for this question, i wasnt 100% sure.

    Thank you very mich in advance and best regards,
    Helmi
    install 2.jpgibnstall1.jpg

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,113
    Thanks
    52
    Thanked 2,369 Times in 2,323 Posts

    Default Re: Problem with installing JWSDP

    what am i doing wrong ?
    If you are getting error messages, please copy the full text and paste it here. No images.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Mar 2019
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Problem with installing JWSDP

    Hi,

    im not getting error messages (at least i dont see any)

    translated to english it says:

    Java 1.5.X by Sun Microsystems is getting testet

    The harddrive is searched for a Java Virtual Machine...
    .................................................. ...........................
    .................................................. ...........................
    .................................................. ...........................
    .....
    Java 1.5.X by Sun Microsystems is getting testet

    The harddrive is searched for a Java Virtual Machine...
    ......................

    Java 1.5.X by Sun Microsystems is getting testet

    The harddrive is searched for a Java Virtual Machine...

    Java 1.6.X by Sun Microsystems is getting testet

    The harddrive is searched for a Java Virtual Machine...
    .................................................. .........................
    .................................................. ........................

    And then the console closes itself. So if there is any error message, im not able to see it before it closes the console

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,113
    Thanks
    52
    Thanked 2,369 Times in 2,323 Posts

    Default Re: Problem with installing JWSDP

    Sorry, I don't recognize what that console is showing. I don't use Eclipse.

    The tutorial I just downloaded for JWS is dated 2006. That's old. Are you sure you want to work with that?
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Junior Member
    Join Date
    Mar 2019
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Problem with installing JWSDP

    I was trying to rebuild what this youtube tutorial showed me ( https://www.youtube.com/watch?v=6hqDMS-oJ9k tutorial about bulding a SOAP Client with wsimport). When i was importing the files which where generated by wsimport, i got a compiler error at this lines:

    import javax.xml.bind.annotation.XmlAccessType; (the import java.xml cannot be resolved)
    import javax.xml.bind.annotation.XmlAccessorType; (the import java.xml cannot be resolved)
    import javax.xml.bind.annotation.XmlRootElement; (the import java.xml cannot be resolved)
    import javax.xml.bind.annotation.XmlType; (the import java.xml cannot be resolved)

    If this method is completely outdated im more than happy to use whatever is best.

    All im trying to do right now is make a simple SOAP Client in Java which makes a API Call.

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,113
    Thanks
    52
    Thanked 2,369 Times in 2,323 Posts

    Default Re: Problem with installing JWSDP

    compiler error at this lines:

    import javax.xml.bind.annotation.XmlAccessType; (the import java.xml cannot be resolved)
    The package names don't match: javax on the left and java on the right.

    That import statement is OK with my version (1.8) of the JDK:
    C:\Program Files\Java\jdk1.8.0_60\bin\javac.exe -cp . -Xlint -Xdiags:verbose TestCode25.java

    The API doc says it is javax.xml
    https://docs.oracle.com/javase/8/docs/api/index.html
    If you don't understand my answer, don't ignore it, ask a question.

  7. The Following User Says Thank You to Norm For This Useful Post:

    oOaHelmi (March 17th, 2019)

Similar Threads

  1. Replies: 1
    Last Post: October 14th, 2013, 12:50 AM
  2. environmental problems of how installing what and where
    By willemjar in forum JDBC & Databases
    Replies: 4
    Last Post: August 2nd, 2013, 02:21 AM
  3. problem with installing netBeans
    By Afraa in forum Java IDEs
    Replies: 0
    Last Post: February 17th, 2013, 09:23 AM
  4. [SOLVED] failed install jwsdp??
    By hertom.lear in forum What's Wrong With My Code?
    Replies: 0
    Last Post: December 4th, 2012, 09:49 PM
  5. Installing JMF, setting up Classpath in Netbeans Problem
    By chronoz13 in forum Java Theory & Questions
    Replies: 0
    Last Post: May 19th, 2011, 09:11 AM