Results 1 to 10 of 10
Thread: WSIF: any guide?
- 02-25-2010, 05:15 PM #1
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
- 02-25-2010, 06:36 PM #2
Senior Member
- Join Date
- Dec 2009
- Location
- Belgrade, Serbia
- Posts
- 364
- Rep Power
- 4
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!
- 02-26-2010, 03:36 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
What else, this is it I'm using with my NetBeans.
Welcome to WSIF: Web Services Invocation Framework
All what you need is there.
- 02-26-2010, 09:31 AM #4
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
- 02-26-2010, 09:36 AM #5
- 02-26-2010, 10:32 AM #6
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
MarcoLast edited by MarKco; 02-26-2010 at 10:32 AM. Reason: Forgot signature
- 02-26-2010, 01:33 PM #7
Senior Member
- Join Date
- Dec 2009
- Location
- Belgrade, Serbia
- Posts
- 364
- Rep Power
- 4
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!
- 02-27-2010, 01:25 AM #8
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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.
- 02-28-2010, 03:27 PM #9
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
- 02-28-2010, 03:30 PM #10
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
-
Guide For New Members
By Java Tip in forum Forum GuidesReplies: 13Last Post: 02-28-2013, 12:26 AM -
can ne1 guide me plz
By silversurfer2in in forum New To JavaReplies: 7Last Post: 01-21-2010, 09:25 AM -
Hibernate guide
By nn12 in forum Enterprise JavaBeans (EJB)Replies: 0Last Post: 02-18-2009, 08:53 AM -
Please Guide me
By senorita2007 in forum New To JavaReplies: 6Last Post: 11-07-2008, 07:59 AM -
Guide For Moderators
By JavaBean in forum Forum GuidesReplies: 5Last Post: 01-23-2008, 05:18 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks