Results 1 to 10 of 10
  1. #1
    MarKco's Avatar
    MarKco is offline Member
    Join Date
    Feb 2010
    Location
    Venice, Italy
    Posts
    8
    Rep Power
    0

    Default WSIF: any guide?

    this is my first post, so first of all I'd like to say a big Hello to everyone in here! :-)

    I'm an Italian developer and I'm trying to play a bit around Java and Webservices. I've got an application (Infor EAM) which publishes all its webservices in the same (axis) URL. I also have all the WSDL files of the single webservices, so I suppose I own everything I need for a successful webservice method call (isn't it?).

    What I would like to do is to create a webapp which, using a WSDL, interfaces with the axis published instance and calls a remote method (creating, for example, a workorder). Obviously I woudn't like to write all the necessary XMLs by hand, so I downloaded and installed WSIF. But now? All the documentation I found here and there rely to a lot of example (the first) or to very-very-very-exoteric language (the latter, and not because it's written in Italian!)

    Does any good guide/tutorial/cheat-sheet for WSIF exist on the web? Where can I find it? If it does not exist, would you please suggest me any other way to achieve my goal? I'd like to avoid using .NET, if possible, but I'm so confused that I really don't know how to step further into Java webservices handling.

    Thanks in advance for your support
    --
    MarKco

  2. #2
    FON
    FON is offline Senior Member
    Join Date
    Dec 2009
    Location
    Belgrade, Serbia
    Posts
    364
    Rep Power
    5

    Default

    Hello and welcome to the forum :)

    So you are trying to create web service CLIENT app from that wsdl?

    It's not big deal if you have right tool.

    What is your IDE?

    Eclipse and Netbeans as most popular and have built in tools to create CLIENT code from that WSDL file using wizards. There is plenty tutorials on this with explanation how everything works and screen shots so it's very good for beginners.

    good luck!

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  4. #4
    MarKco's Avatar
    MarKco is offline Member
    Join Date
    Feb 2010
    Location
    Venice, Italy
    Posts
    8
    Rep Power
    0

    Default

    Quote Originally Posted by Eranga View Post
    What else, this is it I'm using with my NetBeans.

    Welcome to WSIF: Web Services Invocation Framework

    All what you need is there.
    I thank you for the link. I've already been exploring that site but unluckily I'm not able to find what I'm looking for. The quick start is very quick, FAQ don't work (there's a runtime error) and samples seem to be the only way to explore WSIF use. Anyway I'd prefer to follow a guide telling me why I'm doing something, and not only an example telling me how to do it.
    By the way there could surely be something I've missed in the site...


    MarKco

  5. #5
    MarKco's Avatar
    MarKco is offline Member
    Join Date
    Feb 2010
    Location
    Venice, Italy
    Posts
    8
    Rep Power
    0

    Default

    Quote Originally Posted by FON View Post
    Hello and welcome to the forum :)

    So you are trying to create web service CLIENT app from that wsdl?

    It's not big deal if you have right tool.

    What is your IDE?

    Eclipse and Netbeans as most popular and have built in tools to create CLIENT code from that WSDL file using wizards. There is plenty tutorials on this with explanation how everything works and screen shots so it's very good for beginners.

    good luck!
    Hi!
    Yes, I'm trying to create a client application starting from the WSDL. I'm trying to do it using Eclipse, since it'is the only Java IDE I've previously been working on. Did you follow any specific guide about it? Could you link me it?
    Thanks in advance
    MarKco

  6. #6
    MarKco's Avatar
    MarKco is offline Member
    Join Date
    Feb 2010
    Location
    Venice, Italy
    Posts
    8
    Rep Power
    0

    Default

    Quote Originally Posted by FON View Post
    Hello and welcome to the forum :)

    So you are trying to create web service CLIENT app from that wsdl?

    It's not big deal if you have right tool.

    What is your IDE?

    Eclipse and Netbeans as most popular and have built in tools to create CLIENT code from that WSDL file using wizards. There is plenty tutorials on this with explanation how everything works and screen shots so it's very good for beginners.

    good luck!
    Quote Originally Posted by MarKco View Post
    Hi!
    Yes, I'm trying to create a client application starting from the WSDL. I'm trying to do it using Eclipse, since it'is the only Java IDE I've previously been working on. Did you follow any specific guide about it? Could you link me it?
    Thanks in advance
    MarKco
    I found this guide, which seems suitable to me! I'm experiencing some other problem, but since it's not concerning WSIF I'm going to open another thread if I can't solve it myself.

    Remaining in the WSIF area, do you know if Netbeans/Eclipse use those libraries in order to create stubs and skeletons?

    Thanks

    Marco
    Last edited by MarKco; 02-26-2010 at 10:32 AM. Reason: Forgot signature

  7. #7
    FON
    FON is offline Senior Member
    Join Date
    Dec 2009
    Location
    Belgrade, Serbia
    Posts
    364
    Rep Power
    5

    Default

    If you use Eclipse first you find
    Web Service Explorer

    Using Web Service Explorer to test a Web service

    You must have proper version of Eclipse with Web services within (like Galileo 3.5...Ganymede 3.4...all of them JEE versions)

    To run it, Right click on your WSDL file => Web Services => Test With web service explorer

    Pick some action from the list put in proper arguments and click GO.

    If you got good response that means that server side is OK

    Now you create client.

    WSDL file => Web Services => Create client
    Pay attention on engine here - Axis is used!
    Go through wizard and notice new package created in your src code.

    Now you need simple test class.
    In main method just make instance of proxy, call some method of proxy
    with proper params, get response and write it on console.

    Piece of cake!

    come on!

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by MarKco View Post
    I thank you for the link. I've already been exploring that site but unluckily I'm not able to find what I'm looking for. The quick start is very quick, FAQ don't work (there's a runtime error) and samples seem to be the only way to explore WSIF use. Anyway I'd prefer to follow a guide telling me why I'm doing something, and not only an example telling me how to do it.
    By the way there could surely be something I've missed in the site...


    MarKco
    Sorry about that. Actually when I'm using it in the past everything is working fine, but I didn't check it before send it to you. I just collect the link from my bookmarks. Sorry about that.

    The way it organize is fine for me. Normally what I'm doing is while doing the examples go through the documentation and all, explanation only on the tutorial not enough at all.

  9. #9
    MarKco's Avatar
    MarKco is offline Member
    Join Date
    Feb 2010
    Location
    Venice, Italy
    Posts
    8
    Rep Power
    0

    Default

    Quote Originally Posted by FON View Post
    If you use Eclipse first you find
    Web Service Explorer

    Using Web Service Explorer to test a Web service

    You must have proper version of Eclipse with Web services within (like Galileo 3.5...Ganymede 3.4...all of them JEE versions)

    (...)

    Piece of cake!

    come on!
    Thank you for your exhaustive answer! I tried but unluckily couldn't create the client from my WSDL. I can't remember exactly what the error was since now I'm at home, but surely was something concerning the WSDL itself and not the actions I performed on it. I also tried to use the guide you linked with another WSDL, downloaded from a public webservices provider, and it worked perfectly. Now I'm learning a lot about web services and I hope that I will be able to solve the problems I have with mine. Thanks again!

    --
    MarKco

  10. #10
    MarKco's Avatar
    MarKco is offline Member
    Join Date
    Feb 2010
    Location
    Venice, Italy
    Posts
    8
    Rep Power
    0

    Default

    Quote Originally Posted by Eranga View Post
    Sorry about that. Actually when I'm using it in the past everything is working fine, but I didn't check it before send it to you. I just collect the link from my bookmarks. Sorry about that.

    The way it organize is fine for me. Normally what I'm doing is while doing the examples go through the documentation and all, explanation only on the tutorial not enough at all.
    You don't have to apologize, since you all here have been very kind to me. The guide you linked me would work perfectly but I should have - as you said - also a full documentation "on the other hand" helping me to understand examples. This is what I couldn't find in the site. Anyway a good example is much better that having nothing in hand, isn't it?

    Thanks anyway

    --
    MarKco

Similar Threads

  1. Guide For New Members
    By Java Tip in forum Forum Guides
    Replies: 21
    Last Post: 04-08-2014, 05:51 PM
  2. can ne1 guide me plz
    By silversurfer2in in forum New To Java
    Replies: 7
    Last Post: 01-21-2010, 09:25 AM
  3. Hibernate guide
    By nn12 in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 02-18-2009, 08:53 AM
  4. Please Guide me
    By senorita2007 in forum New To Java
    Replies: 6
    Last Post: 11-07-2008, 07:59 AM
  5. Guide For Moderators
    By JavaBean in forum Forum Guides
    Replies: 5
    Last Post: 01-23-2008, 05:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •