File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Web Services accessible via HTTP using IBM WebSphere Studio Application Developer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web Services accessible via HTTP using IBM WebSphere Studio Application Developer" Watch "Web Services accessible via HTTP using IBM WebSphere Studio Application Developer" New topic
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: 3892
    
    5
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: 3892
    
    5
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web Services accessible via HTTP using IBM WebSphere Studio Application Developer