Questions tagged [soap-extension]

Questions related to extensions, or extending functionality, for SOAP method calls.

Questions related to extensions, or extending functionality, for SOAP method calls. For example, in ASP.NET, this is done by extending the SoapExtension class and then configuring that extension to be used by the SOAP methods in a web application.

32 questions
1
vote
1 answer

how to add delegate class for service manager class when calling soap service in c#?

First of all, I want to share my scenario what i want to build - Scenario: I am building a client app using wpf. In some cases, I need to call a web service to get data from the server. In order to do this, I added a web reference using wsld url.…
1
vote
0 answers

SOAP Extension not running in .net framework

So I need a SOAP extension for the project I'm working on. I made a C# class that extends SoapExtension, and added a reference to it in web.config. But it's not being run. The class should mung any data that goes through it, but I can run web…
1
vote
0 answers

SOAP Extension Configuration (Initialization) .NET

I'm using SOAP Extension to encrypt/decrypt messages between server-client (Using IIS Webservices) From msdn, I've known that there are 2 methods GetInitializer(Type) & GetInitializer(LogicalMethodInfo, SoapExtensionAttribute) to get initializer for…
totorochan
  • 55
  • 1
  • 8
1
vote
1 answer

SoapExtension won't execute

I have a SoapExtension which, for now, only writes a log: public class CatchInputParametersExtension : SoapExtension { public override object GetInitializer(Type serviceType) { return null; } public override object…
Armaggedon
  • 399
  • 4
  • 14
1
vote
1 answer

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…
klerik123456
1
vote
1 answer

How to handle Timeout exceptions in SoapExtension

I have a SoapExtension. It logs my all webservice requests and responses. I think there are over one thousand of webservice calls in project. My problem is i cant log request if my webservice call ends with timeout or httpexceptions like 403, 404 .…
Hakan Kara
  • 433
  • 1
  • 6
  • 16
1
vote
0 answers

How to retry a SOAP call using a WebService Extension (at the server, not client)

I have developed a SOAP service that accesses a finicky back-end across a WAN. I want to implement retry logic to save the consumer apps from implementing retry logic. Cleanest way to write retry logic? has some interesting ideas, but I would like…
jlo
  • 256
  • 1
  • 2
  • 11
1
vote
1 answer

.Net Web Service Client SoapExtension Screwed Up Response Message from Java Web Service

I tried to add a SoapExtension to my project which uses a web reference to call a Java Web Service. All my code is in .Net 4.0 I just added an empty SoapExtension public class MyServiceSoapExtension : SoapExtension { private Stream…
hardywang
  • 4,864
  • 11
  • 65
  • 101
0
votes
3 answers

How to detect which web service protocol an ASP.NET request is using?

I have an ASP.NET (1.1) web service which authenticates clients using a SoapExtension.ProcessMessage(SoapMessage) override as described in: http://www.codeguru.com/columns/experts/article.php/c5479 However if the web.config if not set up such that…
stovroz
  • 6,835
  • 2
  • 48
  • 59
0
votes
1 answer

soap extension to log my webservices

I have this soap extension in order to trace my webservices: using System; using System.IO; using System.Web.Services.Protocols; namespace MyLibrary.MySystem { // Define a SOAP Extension that traces the SOAP request and SOAP // response…
Naor
  • 23,465
  • 48
  • 152
  • 268
0
votes
2 answers

ASMX Web Service: How to throw soap exception from asmx service which i like to capture from client side

I want if client send wrong credentials then service throw soap exception but I tried but still no luck. see my updated code from here https://github.com/karlosRivera/EncryptDecryptASMX Anyone can download my code and run in their PC to capture the…
Mou
  • 15,673
  • 43
  • 156
  • 275
0
votes
1 answer

Trace/Log SOAP XML Request and Response AND HTTP status code from SOAP .Net Client App

I have C# .Net 2.0 App that is client of SOAP web services added to project through WebReferences. .Net creates convenient wrapper classes extending SoapHttpClientProtocol, so that everything like XML and serialization/deserialization of SOAP XML…
Lyubo Gos
  • 19
  • 6
0
votes
1 answer

Is possible to get HTTP status code in side SOAP Extensions C#?

I create C# webservice with soap extension base on this article : https://msdn.microsoft.com/en-us/library/esw638yk(v=vs.71).aspx for keep soap log,Is it possible to get http status code in soap extension section.
MAXZZXAM
  • 67
  • 7
0
votes
1 answer

Need Raw XML For Request & Response In UPS API (.Net console app)

Need Raw XML For Request & Response In UPS API (.Net) Trying to implement logging with code posted from the post above but I am having trouble with code posted. TranceExtension returns everything as null. Any help is appreciated. Thank you.
stsong
  • 1
  • 2
0
votes
1 answer

Invoke other webmethod with SoapExtension

I've a WSDL defining a web service named CalendarService: The WSDL defines following methods: String setDate(String date) int setTime(int time) CalendarService is not deployed…