You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Norman Schöneich <sc...@ecooperate.de> on 2001/09/24 17:24:38 UTC

Jetspeed goes Webservices !

I checked out the latest cvs and see a stock quote portlet (as a webservice
call).

Good job !

P.S.
What's about a common webservice portlet, where i can choose a webservice
from UDDI and call methods of the webservice and get response.
Are there plans to do something like that ?


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Jetspeed goes Webservices !

Posted by "Scott A. Roehrig" <sa...@hotmail.com>.
As I would be willing to work on this. The portlet that I wrote uses a bean
to query a soap webservice and return the result. The result can then be
used within a portlet. Since I work for IBM, the portlet I wrote to use this
was developed under WPS; however, the bean is generic and with a defined
WSDL file can be used against any webservice. The one I used it against was
an XMethods Search Aggregator.

I think it would be very important to have such a generic portlet that would
be available under Jetspeed with the advent of webservices. The
possibilities are pretty mind bending.

I am sure the portlet could use some additional work. I would be willing to
undertake this for the Jetspeed team as well.

If you would be interested in seeing the portlet and bean code, please drop
me an email and I will forward it:)

Thanks.

Scott
IBM Corporation
----- Original Message -----
From: "Norman Schöneich" <sc...@ecooperate.de>
To: <je...@jakarta.apache.org>
Sent: Monday, September 24, 2001 1:11 PM
Subject: AW: Jetspeed goes Webservices !


> I would be interested in such a portlet.
> But I don't have write-access to jetspeed cvs. I would aggree in taking a
> look at this portlet.
> If some integration is necessary, i would do it.
>
> If none of the jetspeed contributors are willing to do that or have other
> task with higher priority to do (i think so, see do to list), i would be
> interested in.
>
> What does the jetspeed users think ? (especially the jetspeed
contributors)
> ?
>
>
> Maybe you can mail me the portlet.
>
> Thanks in advance
>
> norman schöneich
>
>
> -----Ursprüngliche Nachricht-----
> Von: Scott A. Roehrig [mailto:saroehr@hotmail.com]
> Gesendet: Montag, 24. September 2001 17:48
> An: jetspeed-user@jakarta.apache.org
> Betreff: Re: Jetspeed goes Webservices !
>
>
> I have written a portlet that uses a soapbean in this manner. If the
> jetspeed team would be interested in taking a look they are welcome to.
>
>
> Scott
> IBM Corporation
> ----- Original Message -----
> From: "Norman Schöneich" <sc...@ecooperate.de>
> To: <je...@jakarta.apache.org>
> Sent: Monday, September 24, 2001 11:24 AM
> Subject: Jetspeed goes Webservices !
>
>
> > I checked out the latest cvs and see a stock quote portlet (as a
> webservice
> > call).
> >
> > Good job !
> >
> > P.S.
> > What's about a common webservice portlet, where i can choose a
webservice
> > from UDDI and call methods of the webservice and get response.
> > Are there plans to do something like that ?
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


AW: Jetspeed goes Webservices !

Posted by Norman Schöneich <sc...@ecooperate.de>.
I would be interested in such a portlet.
But I don't have write-access to jetspeed cvs. I would aggree in taking a
look at this portlet.
If some integration is necessary, i would do it.

If none of the jetspeed contributors are willing to do that or have other
task with higher priority to do (i think so, see do to list), i would be
interested in.

What does the jetspeed users think ? (especially the jetspeed contributors)
?


Maybe you can mail me the portlet.

Thanks in advance

norman schöneich


-----Ursprüngliche Nachricht-----
Von: Scott A. Roehrig [mailto:saroehr@hotmail.com]
Gesendet: Montag, 24. September 2001 17:48
An: jetspeed-user@jakarta.apache.org
Betreff: Re: Jetspeed goes Webservices !


I have written a portlet that uses a soapbean in this manner. If the
jetspeed team would be interested in taking a look they are welcome to.


Scott
IBM Corporation
----- Original Message -----
From: "Norman Schöneich" <sc...@ecooperate.de>
To: <je...@jakarta.apache.org>
Sent: Monday, September 24, 2001 11:24 AM
Subject: Jetspeed goes Webservices !


> I checked out the latest cvs and see a stock quote portlet (as a
webservice
> call).
>
> Good job !
>
> P.S.
> What's about a common webservice portlet, where i can choose a webservice
> from UDDI and call methods of the webservice and get response.
> Are there plans to do something like that ?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Jetspeed goes Webservices !

Posted by "Scott A. Roehrig" <sa...@hotmail.com>.
David:

Sure, I did indeed write a soap bean using the Apache Soap Framework. I am
sure it could use some work, but it got the job done for me!

Here is the relevant code. As I mentioned the portlet extends the Jetspeed
abstract portlet. I have used the bean in several manners, servlets, ejbs
etc.

Basically, you obtain the needed parameters from the service wsdl file, set
those on the bean and then ask it to processRequest(). It returns the
results object which you can then use in any manner you wish.

Hope it is helpful in some manner.

Scott
IBM Corporation
----- Original Message -----
From: "David Sean Taylor" <da...@bluesunrise.com>
To: <je...@jakarta.apache.org>
Sent: Monday, September 24, 2001 1:54 PM
Subject: RE: Jetspeed goes Webservices !


> Scott,
>
> I assume you are talking about the apache soap (beans).
> I'd like to learn more about apache soap, please send the example code to
> the list, thanks!
>
> David
>
>
> > -----Original Message-----
> > From: Scott A. Roehrig [mailto:saroehr@hotmail.com]
> > Sent: Monday, September 24, 2001 8:48 AM
> > To: jetspeed-user@jakarta.apache.org
> > Subject: Re: Jetspeed goes Webservices !
> >
> >
> > I have written a portlet that uses a soapbean in this manner. If the
> > jetspeed team would be interested in taking a look they are
> > welcome to.
> >
> >
> > Scott
> > IBM Corporation
> > ----- Original Message -----
> > From: "Norman Schöneich" <sc...@ecooperate.de>
> > To: <je...@jakarta.apache.org>
> > Sent: Monday, September 24, 2001 11:24 AM
> > Subject: Jetspeed goes Webservices !
> >
> >
> > > I checked out the latest cvs and see a stock quote portlet (as a
> > webservice
> > > call).
> > >
> > > Good job !
> > >
> > > P.S.
> > > What's about a common webservice portlet, where i can
> > choose a webservice
> > > from UDDI and call methods of the webservice and get response.
> > > Are there plans to do something like that ?
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > jetspeed-user-help@jakarta.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>

RE: Jetspeed goes Webservices !

Posted by David Sean Taylor <da...@bluesunrise.com>.
Scott,

I assume you are talking about the apache soap (beans).
I'd like to learn more about apache soap, please send the example code to
the list, thanks!

David


> -----Original Message-----
> From: Scott A. Roehrig [mailto:saroehr@hotmail.com]
> Sent: Monday, September 24, 2001 8:48 AM
> To: jetspeed-user@jakarta.apache.org
> Subject: Re: Jetspeed goes Webservices !
>
>
> I have written a portlet that uses a soapbean in this manner. If the
> jetspeed team would be interested in taking a look they are
> welcome to.
>
>
> Scott
> IBM Corporation
> ----- Original Message -----
> From: "Norman Schöneich" <sc...@ecooperate.de>
> To: <je...@jakarta.apache.org>
> Sent: Monday, September 24, 2001 11:24 AM
> Subject: Jetspeed goes Webservices !
>
>
> > I checked out the latest cvs and see a stock quote portlet (as a
> webservice
> > call).
> >
> > Good job !
> >
> > P.S.
> > What's about a common webservice portlet, where i can
> choose a webservice
> > from UDDI and call methods of the webservice and get response.
> > Are there plans to do something like that ?
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> jetspeed-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Jetspeed goes Webservices !

Posted by "Scott A. Roehrig" <sa...@hotmail.com>.
I have written a portlet that uses a soapbean in this manner. If the
jetspeed team would be interested in taking a look they are welcome to.


Scott
IBM Corporation
----- Original Message -----
From: "Norman Schöneich" <sc...@ecooperate.de>
To: <je...@jakarta.apache.org>
Sent: Monday, September 24, 2001 11:24 AM
Subject: Jetspeed goes Webservices !


> I checked out the latest cvs and see a stock quote portlet (as a
webservice
> call).
>
> Good job !
>
> P.S.
> What's about a common webservice portlet, where i can choose a webservice
> from UDDI and call methods of the webservice and get response.
> Are there plans to do something like that ?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


RE: Jetspeed goes Webservices !

Posted by David Sean Taylor <da...@bluesunrise.com>.
Thanks Norman,

Yes, I agree that the StockQuote service code needs to be refactored and
made more generic.
I wrote all the soap client code from scratch to illustrate how easy it is
to write soap clients without the need of any framework.
In fact, the only other jar file needed in the example is xerces.jar (that
reminds me, the code needs to be decoupled from xerces)
We should consider using soap beans or other frameworks in the refactoring.
See

http://xml.apache.org/soap/docs/apiDocs/org/apache/soap/package-summary.html

The code in the jetspeed cvs is actually a webservice client, whereas the
webservice is running in another container on my server.

The StockQuote portlet is not complete, hope to finish this week...:
- customization, to select your own quotes, and store the quote list by user
- wml support

As for a UDDI browser portlet, yes, great!

With this portlet, my goal was to bring some focus to web services in
jetspeed, which we haven't really explored up until now.

David



> -----Original Message-----
> From: Norman Schöneich [mailto:schoeneich@ecooperate.de]
> Sent: Monday, September 24, 2001 8:25 AM
> To: jetspeed-user@jakarta.apache.org
> Subject: Jetspeed goes Webservices !
>
>
> I checked out the latest cvs and see a stock quote portlet
> (as a webservice
> call).
>
> Good job !
>
> P.S.
> What's about a common webservice portlet, where i can choose
> a webservice
> from UDDI and call methods of the webservice and get response.
> Are there plans to do something like that ?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org