Index: [Article Count Order] [Thread]

Date:  Tue, 12 Feb 2002 12:41:02 +0900
From:  "NAKAMURA, Hiroshi" <nahi@keynauts.com>
Subject:  [webricken:6] Re: SOAPlets
To:  <webricken@notwork.org>
Message-Id:  <00c601c1b377$18164f80$85222fc0@sarion.co.jp>
In-Reply-To:  <20020209221823.XFIU12697.mta2-rme.xtra.co.nz@there>
X-Mail-Count: 00006

Hi Holden,

Regards to SOAPlet problem, I put the newest soaplet.rb
in the CVS repository.  See
http://www.ruby-lang.org/~knu/cgi-bin/cvsweb.cgi/lib/soap4r/sample/webri
ck/soaplet.rb

> From: Holden Glova [mailto:dsafari@xtra.co.nz] 
> Sent: Sunday, February 10, 2002 7:23 AM

> > Also, I was wondering if I could have an example of how you make the

> > server return some sort of object back to the client. I'm guessing
it 
> > is to do with the mappingRegistry, but that is only a guess from me
:)  
> > I'm quite new to soap but i've done some reading last night on the 
> > subject and it looks like they use some sort of descriptor to define

> > the attributes of the class, but i'm not really sure if this is 
> > required due to dynamic nature of Ruby.
> >
> > Any help is greatly appreciated - many thanks in advance.
> 
> I haven't actually tried it with code but I think I see how 
> it is done in the 
> RAA example in SOAP4R. In retrospect of my previous post, I 
> shouldn't have been asking questions about how to use SOAP4R (soap in 
> general) on this WEBrick list, I apologize for that.

RAA example is too complicated for introduction.
I should add more sample in the package...  BTW,
http://www.ruby-lang.org/~knu/cgi-bin/cvsweb.cgi/lib/soap4r/sample/webri
ck/
contains 2 soaplet examples.

If you install SOAP4R and Devel::Logger correctly,
sampleStructClient.rb should work.  Use
  server = 'http://rrr.jin.gr.jp/soapsrv'
if you have not installed WEBrick and soaplet.rb yet.

WEBrickees: I'm sorry for OT.

Regards,
// NaHi