Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

GUIDs

$
0
0
GUIDs
West Wind Client Tools
GUIDs
05/08/2012
08:39:21 PM
3HX189XCC Show this entire thread in new window
Gratar Image based on email address
From:
nigel
To:
All 
Attachments:
None
is there an issue getting a GUID returned from a proxy?

every attempt to reference loNugget.token in this code gives a vfp "function argument value, type or count is invalid".


DO servicesproxy THIS.ows = CREATEOBJECT("servicesProxy","V2") loNugget = this.ows.login(misc.uktduser,misc.uktdpass) THIS.token = lonugget.token

************************************************************************ * login **************************************** FUNCTION login(email as String,pwd as String) as utdNugget LOCAL loException as Exception, lvResult as utdNugget THIS.lError = .F. this.cErrorMsg = "" lvResult = .F. TRY lvResult = this.oBridge.InvokeMethod(this.oService, "login", email,pwd) CATCH to loException THIS.GetErrorDetail(loException) ENDTRY RETURN lvResult ENDFUNC * login

<s:element name="login">
<s:complexType>
<s:sequence>
<s:element name="email" type="s:string" maxOccurs="1" minOccurs="0"/>
<s:element name="pwd" type="s:string" maxOccurs="1" minOccurs="0"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="loginResponse">
<s:complexType>
<s:sequence>
<s:element name="loginResult" type="tns:utdNugget" maxOccurs="1" minOccurs="0"/>
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="utdNugget">
<s:sequence>
<s:element name="Token" type="s1:guid" maxOccurs="1" minOccurs="1"/>
<s:element name="ExpiresSeconds" type="s:int" maxOccurs="1" minOccurs="1"/>
</s:sequence>
</s:complexType>


Viewing all articles
Browse latest Browse all 10393

Trending Articles