Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Services accessible via HTTP using IBM WebSphere Studio Application Developer

 
Marco Palazzini
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Marco Palazzini
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic