Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Storing errors
Message
From
29/10/2001 19:09:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Storing errors
Miscellaneous
Thread ID:
00574815
Message ID:
00574815
Views:
54
In a Web Service, sometimes, we have to return an error. For now, I am using a condition on the client side to detect if I have an XML cursor or not. If not, than I know this is an error message. How can I store the error in the Web Service object at the server level? Basically, on the client side, there could be a use of the error property for such need. I could then use the following:
loUniversalThread=Createobject("mssoap.soapclient")
loUniversalThread.mssoapinit("...")
loUniversalThread.GetMessage()
IF loUniversalThread.lError
   MESSAGEBOX(loUniversalThread.cErrorMessage)
   RETURN
ENDIF
* Show cursor...
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform