Tim Blair wrote:
MyWS = CreateObject("WebService",wsURL); WSResponse = MyWS.Login();
Can you not do:
WSResponse = MyWS.Login(userName="myName", password="myPassword");
<cf_sheepish>Maybe....</cfsheepish>
Ok so all I need to do is actually dump the object, so I can see what is being returned?
<cfoutput> of WSresponse gives me [EMAIL PROTECTED]
<cfdump> of WSresponse gives me
response - object of org.tempuri.LoginResultView
Methods hashCode (returns int)
equals (returns boolean)
getSerializer (returns interface org.apache.axis.encoding.Serializer)
getDeserializer (returns interface org.apache.axis.encoding.Deserializer)
getTypeDesc (returns org.apache.axis.description.TypeDesc)
isSuccess (returns boolean)
setSuccess (returns void)
getDomainObjects (returns org.tempuri.ArrayOfAnyType)
setDomainObjects (returns void)
getClass (returns java.lang.Class)
wait (returns void)
wait (returns void)
wait (returns void)
notify (returns void)
notifyAll (returns void)
toString (returns java.lang.String)<cfloop> of WSResponse as a collection gives me (collectionitem - content) DomainObjects - [EMAIL PROTECTED] Success - YES TypeDesc - [EMAIL PROTECTED]
So I'm kinda stuck... I know I've had a valid login (Success = YES), but I feel like I should have some kind of session ID in the response, but I'm lost as to where I should go now, unless I can get a decent dump of the object.....
Any thought??
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]
