This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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
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
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
Joined: Aug 10, 2001
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
Joined: Apr 18, 2002
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 ]