soapextension

How to trace ScriptService WebService requests?

I have a SoapExtension that is intended to log all SOAP requests and responses. It works just fine for calls from an application using the MS Soap Toolkit (OnBase Workflow). But it doesn't work for calls made by $.ajax() on an html page. Here's an example: $.ajax({ type: "POST", url: url, data: data, contentType: "app...

ASMX web service with Soap extension - problem with Encryption method

I try sing and encrypt SOAP message in ASP.NET Web Service. //I have Crypt class, which input parameters is Stream: public class CryptUtility { public virtual Stream EncryptAndSingXml (Stream inputStream) { XmlTextReader reader = new XmlTextReader(inputStream); XmlDocument doc = new XmlDocument(); ...

Is it possible to use a SOAPExtension in a class library that accesses a web service

I'm tasked with accesssing a 3rd party web service and have run into an issue that I haven't been able to resolve. This web service requires some security headers to be sent. I have created a SOAPExtension that successfully sends the headers as expected, and am able to use the web services. However, other web service clients are negativ...

Invoke other webmethod with SoapExtension

I've a WSDL defining a web service named CalendarService: <soap:address location="http://example.com/calendar"/&gt; The WSDL defines following methods: String setDate(String date) int setTime(int time) CalendarService is not deployed anywhere. CalendarServiceProxy is a proxy generated from CalendarService WSDL. I've a web servic...

adding a token onto a webservice or wcf call via soap extender

I have a soap extender which I am using to log the http soap request and response for each webservice that is called from my application as a comms log. I would like to inject a token on the 1st call (possibly the 1st call to invoke the service that is being logged) and then be able to track all subsequent webservice calls run in the sa...

Using SoapExtensionAttributes on client side with async web methods

Hey, I have a simple question. I implemented custom soap extension and registered it into client application configuration file. It works fine. (I would like to implement progress bar functionality like http://msdn.microsoft.com/en-us/library/aa480520.aspx) But I don't like some thing - custom soap extension is invoked by every call o...