Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This should be so simple
Message
From
20/04/2009 11:53:32
 
 
General information
Forum:
ASP.NET
Category:
Web Services
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01395505
Message ID:
01395592
Views:
69
>The error message says it all. ALL Attributes are written to the EXE at compilation so only constants make sense as parameters.
>Where in the soap extension do you want to use this information?

It seems from the point of origin, which is at the WebMethod() level, that nothing has been firing yet in the application. This seems to happen at the very first and that would explain why my framework object does not live yet. It is very sad that we cannot link any object to a SOAP extension, as once we are in it, we cannot benefit of any framework or application functionalities.

The only way I have found to establish some kind of communication between the application and the SOAP extension is to store something in the System.Web.HttpContext.Current.Items object, from the SOAP extension, such as System.Web.HttpContext.Current.Items("HTTPInputStream") and make use to that from the application later on. But, this is only a one way only. I cannot do it in the reverse way.

This is something Microsoft should enhance in its Web Service infrastructure. We should be able to deal with low level SOAP envelope, either at the Request or Response level, in a conventional way.

For example, we can call our classes from the SOAP extension, by initiating a call to an object of our application created from the SOAP extension. But, that is not the same as gaining access to an object that lives at the Web Service level, as anything in it, simply does not exist yet when the SOAP extension is called for the first time and cannot be seen either after the deserialization as we simply cannot communicate between both tiers.
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
Previous
Reply
Map
View

Click here to load this message in the networking platform