List Info

Thread: WSDL revisited




WSDL revisited
user name
2007-05-15 10:36:55
This weekend I was looking again at WSDL for the SOAP
interface.
I don't have it done (nothing tested at all, might cause
baby
dieties to cry, etc.), but I finished <types> section,
which is
by far the hardest part, the rest being pretty mechanical.

If anyone has any advice/corrections/examples....
I'm not very confident with WSDL/XML Schema,
so like the <xsd:choice> stuff might be all wrong for
example.
And I used RPC/Encoded style, which I gather isn't very
widely
used outside of SOAP::Lite, so maybe it'd be better as
Document/Literal Wrapped but I'm not sure if that works
with SOAP::Lite, ....

I know a year ago John Gillis had a small part working with
PHP,
like story list_ids and export, or something. Wondering if
he
or anyone else got any further.
  
RE: WSDL revisited
user name
2007-05-15 10:42:19
One check might be to use JAVA AXIS (Jakarta project) to
auto-generate classes / method stubs from your WSDL and see
whether they can be used to invoke the Bricolage SOAP API
remotely.  It's been about 2 years since I used axis, but
back then I know it supported RPC/Enc and Doc/Lit, so I
suspect that it still does.

-----Original Message-----
From: slanninglocalhost.localdomain on behalf of Scott
Lanning
Sent: Tue 5/15/2007 11:36 AM
To: userslists.bricolage.cc
Subject: WSDL revisited
 
This weekend I was looking again at WSDL for the SOAP
interface.
I don't have it done (nothing tested at all, might cause
baby
dieties to cry, etc.), but I finished <types> section,
which is
by far the hardest part, the rest being pretty mechanical.

If anyone has any advice/corrections/examples....
I'm not very confident with WSDL/XML Schema,
so like the <xsd:choice> stuff might be all wrong for
example.
And I used RPC/Encoded style, which I gather isn't very
widely
used outside of SOAP::Lite, so maybe it'd be better as
Document/Literal Wrapped but I'm not sure if that works
with SOAP::Lite, ....

I know a year ago John Gillis had a small part working with
PHP,
like story list_ids and export, or something. Wondering if
he
or anyone else got any further.


RE: WSDL revisited
user name
2007-05-15 11:00:57
On Tue, 15 May 2007, Beaudet, David P. wrote:
> One check might be to use JAVA AXIS (Jakarta project)
to auto-generate classes 
> / method stubs from your WSDL and see whether they can
be used to invoke the 
> Bricolage SOAP API remotely.  It's been about 2 years
since I used axis, but 
> back then I know it supported RPC/Enc and Doc/Lit, so I
suspect that it still 
> does.

Axis is on my list. I installed that and downloaded
tutorials.
Since I'm not a Java programmer, not sure how far I'll get.
Same story for PHP, Python. And SOAP::Lite,
but I don't know if its WSDL support is any good.
Firefox (XUL) also has SOAP support and in principle WSDL
support, but the last time I looked it wasn't very good.

Re: WSDL revisited
user name
2007-05-15 12:28:27
On Tue, May 15, 2007 at 05:36:55PM +0200, Scott Lanning
wrote:
> This weekend I was looking again at WSDL for the SOAP
interface.
> I don't have it done (nothing tested at all, might
cause baby
> dieties to cry, etc.), but I finished <types>
section, which is
> by far the hardest part, the rest being pretty
mechanical.
> 
> If anyone has any advice/corrections/examples....
> I'm not very confident with WSDL/XML Schema,
> so like the <xsd:choice> stuff might be all wrong
for example.
> And I used RPC/Encoded style, which I gather isn't very
widely
> used outside of SOAP::Lite, so maybe it'd be better as
> Document/Literal Wrapped but I'm not sure if that
works
> with SOAP::Lite, ....

I'm playing a bit with SOAP these days too, but not with
SOAP::Lite -- so for the sake of people in the same boat as
me (python, tcl, php, etc.) I hope that something that works
between diff't SOAP clients can be built... I'm _not_ a SOAP
expert, but have been working with it at a
"programming" level lately, so I may be able to
help. Scott, let's have an initial discussion off-list and
see if we're understanding ea. other correctly.

> I know a year ago John Gillis had a small part working
with PHP,
> like story list_ids and export, or something. Wondering
if he
> or anyone else got any further.



-- 

-bch
http://www.methodlogic.net

RE: WSDL revisited
user name
2007-05-23 11:41:13
On Tue, 15 May 2007, Scott Lanning wrote:
> On Tue, 15 May 2007, Beaudet, David P. wrote:
>> One check might be to use JAVA AXIS (Jakarta
project) to auto-generate 
[...]
> Axis is on my list.

I've pretty much given up on making a WSDL now.
Unless someone can tell me how to:
1) save cookies in java axis
2) make parameters optional - for example, this is a
relatively
simple method call to category list_ids, generated from
wsdl:

public int[] list_ids(java.lang.Integer active,
java.lang.String directory,
java.lang.String name, java.lang.Integer parent,
java.lang.String path,
java.lang.String site, java.lang.String uri) throws
java.rmi.RemoteException,
net.sourceforce.bricolage.FaultResponse;

For story list_ids, there are like 67 parameters.

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )