Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning XML response before method
Message
From
09/12/2016 15:16:55
 
 
To
All
General information
Forum:
ASP.NET
Category:
Web Services
Title:
Returning XML response before method
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01644778
Message ID:
01644778
Views:
60
I have a Web Service with a few methods. Each of them returns a XML string for the response.

Before each method is accessed, I have some top level code which is executed. In that code, in a very unique situation, I need to return a custom XML response and send that as is without any process to continue, thus the Web Service method called would not even be executed.

In my top level code, the one which is executed before any Web Service method, I have access to the SOAP envelope. I have a oTraceExtension available at that location and can have access to the SOAP envelope.

What kind of mechanism can I use to return a XML response directly, even before the method get accessed?
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