Heh heh.... Not the first time....

Shame it appears to imply that I'm a CF novice, when in fact I'm actually a .NET/webservice novice and my problem isn't helped by the fact that the developers of the .NET webservice are less expert themselves, but hey ho...

In response to my other question from yesterday as noone else seems to know the answers ;o) :

> I've had a bit of a look, but can't see anything, so do you know if
> there is an equivalent to php's "Webservice.CookieContainer = New
> System.Net.CookieContainer" in CFMX???
>
The Axis equivalent to cookiecontainer is setMaintainSession, which you should see in the top level of your webservice object. The following URLs should be of assistance (took me an age to find!), but I have to say I haven't tried the suggestions properly yet.


http://www.dur.ac.uk/barry.cornelius/Java/web.services.using.axis/onefile/
http://shemnon.com/speling/archives/000098.html
http://ws.apache.org/axis/java/apiDocs/org/apache/axis/client/Service.html#setMaintainSession(boolean)

My only concern is this statement :
"Calling setMaintainSession will only affect future instantiations of the Call object, not those that already exist"


Does that mean that it only affects future calls to methods or future creations of the web service object?? Well I'll have a play and let you know what I find out.

Regards

Stephen

Peter Harrison wrote:
Hey Stephen, your name is in print...
http://www.sys-con.com/coldfusion/article.cfm?id=695&count=5049&tot=2&page=2

- Peter

----- Original Message ----- From: "Stephen Moretti" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 14, 2004 2:55 PM
Subject: Re: [ cf-dev ] Accessing .NET webservices session management




Also, getResponseHeader() will give me a soap header if I know its
namespace and name, but is there anyway to find out what headers there
are in a returned object??



To answer this part of my own email....

webservice.getHeaders() will return an array of header information....
I missed this cos the webservice I'm hitting has no headers!



http://otn.oracle.com/sample_code/tech/java/codesnippet/webservices/soapheader/index.html


All in java, but quite interesting all the same...

Regards

Stephen


-- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



Reply via email to