You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by Daniel Rall <dl...@finemaltcoding.com> on 2002/11/01 23:57:21 UTC
Re: XmlRpcClient.setSessionId() ?
"Rupp,Heiko" <he...@bancotec.de> writes:
> Hi,
>
> in helma.XmlRpcClient, there was a method setSessionId(), which
> seems to have vanished in Apache xml-rpc 1.1.
>
> How can I achieve the same with Apache xml-rpc?
Can you describe exactly what it did? The actual source for the
method would be helpful.
--
Daniel Rall <dl...@finemaltcoding.com>
Re: XmlRpcClient.setSessionId() ?
Posted by Ryan Hoegg <rh...@isisnetworks.net>.
I use salesforce.com with the latest XML-RPC from CVS with some minor
modifications. Their sessionID stuff is cookie-based as well as
"in-band" in the XML-RPC request. To make the session ID work you will
need to either
A) manually create a cookie header by modifying your copy of the library
B) send me a personal e-mail for a JAR that supports the Jakarta Commons
HttpClient and automatically handles cookies. You will also need to
incorporate the session ID in your XML-RPC request.
C) Sit tight. We are working on some changes to the library that
include a pluggable transport layer. One such layer will be the Commons
HttpClient, which natively supports cookies.
--
Ryan Hoegg
ISIS Networks
http://www.isisnetworks.net
Dave Kelly wrote:
>Are you using Salesforce.com by any chance ?
>
>The xmlrpc.jar file they supply with some sample code for their API includes
>a call to setSessionId but there isn't any reference to it in the old helma
>documentation and there isn't any in the Apache xml-rpc implementation.
>
>I guess they modfied the code like I had to.
>
Re: XmlRpcClient.setSessionId() ?
Posted by Ryan Hoegg <rh...@isisnetworks.net>.
I use salesforce.com with the latest XML-RPC from CVS with some minor
modifications. Their sessionID stuff is cookie-based as well as
"in-band" in the XML-RPC request. To make the session ID work you will
need to either
A) manually create a cookie header by modifying your copy of the library
B) send me a personal e-mail for a JAR that supports the Jakarta Commons
HttpClient and automatically handles cookies. You will also need to
incorporate the session ID in your XML-RPC request.
C) Sit tight. We are working on some changes to the library that
include a pluggable transport layer. One such layer will be the Commons
HttpClient, which natively supports cookies.
--
Ryan Hoegg
ISIS Networks
http://www.isisnetworks.net
Dave Kelly wrote:
>Are you using Salesforce.com by any chance ?
>
>The xmlrpc.jar file they supply with some sample code for their API includes
>a call to setSessionId but there isn't any reference to it in the old helma
>documentation and there isn't any in the Apache xml-rpc implementation.
>
>I guess they modfied the code like I had to.
>
Re: XmlRpcClient.setSessionId() ?
Posted by Dave Kelly <da...@samsungcontact.com>.
Are you using Salesforce.com by any chance ?
The xmlrpc.jar file they supply with some sample code for their API includes
a call to setSessionId but there isn't any reference to it in the old helma
documentation and there isn't any in the Apache xml-rpc implementation.
I guess they modfied the code like I had to.
----- Original Message -----
From: "Daniel Rall" <dl...@finemaltcoding.com>
To: <rp...@xml.apache.org>
Sent: Friday, November 01, 2002 10:57 PM
Subject: Re: XmlRpcClient.setSessionId() ?
> "Rupp,Heiko" <he...@bancotec.de> writes:
>
> > Hi,
> >
> > in helma.XmlRpcClient, there was a method setSessionId(), which
> > seems to have vanished in Apache xml-rpc 1.1.
> >
> > How can I achieve the same with Apache xml-rpc?
>
> Can you describe exactly what it did? The actual source for the
> method would be helpful.
> --
>
> Daniel Rall <dl...@finemaltcoding.com>
>
Re: XmlRpcClient.setSessionId() ?
Posted by Dave Kelly <da...@samsungcontact.com>.
Are you using Salesforce.com by any chance ?
The xmlrpc.jar file they supply with some sample code for their API includes
a call to setSessionId but there isn't any reference to it in the old helma
documentation and there isn't any in the Apache xml-rpc implementation.
I guess they modfied the code like I had to.
----- Original Message -----
From: "Daniel Rall" <dl...@finemaltcoding.com>
To: <rp...@xml.apache.org>
Sent: Friday, November 01, 2002 10:57 PM
Subject: Re: XmlRpcClient.setSessionId() ?
> "Rupp,Heiko" <he...@bancotec.de> writes:
>
> > Hi,
> >
> > in helma.XmlRpcClient, there was a method setSessionId(), which
> > seems to have vanished in Apache xml-rpc 1.1.
> >
> > How can I achieve the same with Apache xml-rpc?
>
> Can you describe exactly what it did? The actual source for the
> method would be helpful.
> --
>
> Daniel Rall <dl...@finemaltcoding.com>
>