| Author |
Web Services accessible via HTTP using IBM WebSphere Studio Application Developer
|
Marco Palazzini
Greenhorn
Joined: Apr 18, 2002
Posts: 13
|
|
Hi, I am using IBM's tool and I cannot see how to create a web service and make it accessible through HTTP (GET or POST). The approach chosen is to create a web service starting from a Java Bean (a plain Java class). The tool generates proxy classes that access the web service through SOAP/HTTP. My second need would also be to have the same operation accessible both through HTTP GET and SOAP/HTTP. Thanks Marco
|
 |
Kyle Brown
author
Ranch Hand
Joined: Aug 10, 2001
Posts: 3879
|
|
There is a tutorial on creating Web Services in the WSAD "Help" Perspective. If you go through that it should lead you through the necessary steps. Another tutorial to go through that explains things in even more detail is found in the "Web Services Wizardry" redbook at www.redbooks.ibm.com. Kyle
|
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
|
 |
Marco Palazzini
Greenhorn
Joined: Apr 18, 2002
Posts: 13
|
|
Thanks Kyle, I have been following the tutorials both in the Help Perspective of the Application Developer and in the red book. But all the web services in the examples seem to use SOAP/HTTP for the communication. While I would need an example of web service for which the operations are accessible directly via HTTP GET, as URLs. Is it possible? Should the web service be implemented as a servlet? Maybe it wouldn't be a "web service" anymore... I am quite confused. Thanks Marco
|
 |
Kyle Brown
author
Ranch Hand
Joined: Aug 10, 2001
Posts: 3879
|
|
I'm confused as to what you mean by "HTTP GET". Do you mean something like a REST service? One that doesn't use SOAP? We don't support that in our Web services implementation... Kyle
|
 |
Marco Palazzini
Greenhorn
Joined: Apr 18, 2002
Posts: 13
|
|
Yes Kyle, in the specifications I have been asked to have some web services accessible not using SOAP but just HTTP (GET). In the end the web service operation should be invoked just as a URL. So I guessed you gave me the answer, the Application Developer does not support this kind of web services. I don't know what a REST service is, can you give me any link about it? Edit: I have found docs about REST architectural style. It may be that accessing a web service operation as a URI is in accordance with such style... Sorry for having not been clear in my requests. Thanks a lot Marco [ May 13, 2002: Message edited by: Marco Palazzini ]
|
 |
 |
|
|
subject: Web Services accessible via HTTP using IBM WebSphere Studio Application Developer
|
|
|