[Phpwm] SOAP/XMLRPC/ Web services question
Elliot Smith
elliot at townx.org
Mon Apr 7 22:35:47 BST 2008
David,
Are you using Apache HttpClient for the Java client-side stuff?
I don't like to keep banging on about it, but I think you'd find REST
much more liberating. The format is far more lax, which does mean the
semantics are a bit woolier; but it's much closer to writing a standard
HTTP client, without the hassle of WSDL and the related junk you get
with SOAP.
Elliot
David Goodwin wrote:
> Hi,
>
> Yes; I'm tempted to provide a proxy 'service' on the xmlrpc code so
> clients which can't do cookies have to provide (effectively) a
> PHPSESSIONID as the first parameter. Method calls then get passed
> through to the 'normal' code.
>
> It seems not straight forward to create e.g. a Java XMLRPC client
> which supports cookies (and likewise for Python).
>
>
> I'm reading a Packt book which covers SOAP/XMLRPC, and it's briefly
> mentioned using headers, but not in _any_ detail (there was about 20
> words on it)... so, are headers part of the SOAP protocol, and
> effectively what I'm trying to achieve with cookies? (i.e. are using
> them the real solution to my problem?)
>
> The thing that puts me off SOAP is the WSDL file definition/creation.
>
>
> David.
>
More information about the Phpwm
mailing list