[Zope] SOAP Method

Jonathan Hobbs toolkit at magma.ca
Thu Sep 30 07:29:26 EDT 2004


From: "Ruchith Fernando" <ruchith.fernando at gmail.com>
> I'm trying to use the SOAPMethod product to use some web service from
ZOPE.
>
> I was able to call a web service that doesn't take any parameters (RPC
Style).
> I created a SOAP Method called "ws1" which calles a simple web service
> and called it int eh following manner from the browser.
>
> http://localhost:8080/ws1
>
> And it gave me the proper response.
>
> But when I'm using the a SOAP MEthod how can I pass parameters into a
> webservice from the browser. I tried to use the following but it
> didn't work :-?
>
> http://localhost:8080/ws1?param1=value1

I don't know about SOAP Methods, but the about url will work with DTML
methods and python scripts.  The parameters will show up in REQUEST  - ie.
you can get at them with REQUEST['param1'] or
REQUEST.get('param1','notFoundrtn')


Jonathan





More information about the Zope mailing list