Questions tagged [soaphttpclientprotocol]

33 questions
30
votes
6 answers

Slow SoapHttpClientProtocol constructor

I'm doing some experiments with Microsoft Dynamics CRM. You interact with it through web services and I have added a Web Reference to my project. The web service interface is very rich, and the generated "Reference.cs" is some 90k loc. I'm using…
friism
  • 19,068
  • 5
  • 80
  • 116
20
votes
1 answer

adding http headers in call to SoapHttpClient service

I have to consume a service provided by one of our partners. I was given little direction, but was told the security was to be PasswordDigest. I looked it up and immediatly saw lots of references to WSE, so off I went. It was very easy to…
Alan Gieseke
  • 681
  • 2
  • 6
  • 8
9
votes
1 answer

SoapHttpClientProtocol log response xml

For a couple of days we have problem with our app. We use SoapHttpClientProtocol in order to invoke java mbeans. This basically makes a call to a java webservice to invoke methods. Our problem is that sometimes we get the following…
Radu D
  • 3,505
  • 9
  • 42
  • 69
8
votes
2 answers

How do I configure a C# web service client to send HTTP request header and body in parallel?

I am using a traditional C# web service client generated in VS2008 .Net 3.5, inheriting from SoapHttpClientProtocol. This is connecting to a remote web service written in Java. All configuration is done in code during client initialization, and can…
8
votes
2 answers

How to turn off certificate revocation for a WCF service's client?

How can I turn off certificate revocation for a WCF service's client? The client proxy was generated by wsdl.exe and inherits SoapHttpClientProtocol.
Meidan Alon
  • 3,074
  • 7
  • 45
  • 63
7
votes
3 answers

ASMX web service reference how to set equivalent to MaxReceivedMessageSize

Web Service is an ASMX web service (NOT WCF) I am receiving an error The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding…
Gustavo
  • 685
  • 3
  • 7
  • 17
5
votes
0 answers

Extending SoapHttpClientProtocol to correct faulty server Content-Length

Recently I got the need to access a web service created using SOAP::Lite. It's really messy to use since there's no WSDL, it doesn't return reasonable datatypes etc. so I started out using the provided sample code. Right from the start I got…
5
votes
2 answers

What version of SSL/TLS does System.Web.Services.Protocols.SoapHttpClientProtocol use?

Now that SSL 3 has been found to be vulnerable to the POODLE attack: What version of SSL/TLS does System.Web.Services.Protocols.SoapHttpClientProtocol use when connecting to any https Uri? I use SoapHttpClientProtocol to connect to several 3rd party…
JK.
  • 21,477
  • 35
  • 135
  • 214
4
votes
1 answer

Modifying SOAP requests with GetWebRequest

I am trying to dynamically modify XML data in SOAP requests to ASMX services. I overrided GetWebRequest() method in SoapHttpClientProtocol class in order to read and modify XML data that the RequestStream contains. The problem is, the request seems…
Vex
  • 1,179
  • 3
  • 15
  • 24
3
votes
2 answers

SoapHttpClientProtocol automatically retry after exception?

I am just curious about this. I am making a change in this project, that is using NetSuite web service, and sometimes it throws a SoapException at random, "Only one request may be made against a session at a time". private NetSuiteService…
live-love
  • 48,840
  • 22
  • 240
  • 204
2
votes
1 answer

SoapHttpClientProtocol receives unexpected content type

I created a C# proxy class via wsdl.exe from a WSDL-URL. I'm using this proxy class in the context of a web app which I do not control (so there's no way to change a web.conf or similar). I'm also unable to change anything in the web service that…
germi
  • 4,628
  • 1
  • 21
  • 38
2
votes
2 answers

How to set the User-Agent header in SoapHttpClientProtocol?

I am calling a 3rd party SOAP service (a Magento webstore) in ASP.NET MVC4. When importing the web service reference, all of the service methods are automatically implemented by Visual Studio, eg the login soap method is implemented as public…
JK.
  • 21,477
  • 35
  • 135
  • 214
2
votes
0 answers

Need to have self-closing elements in SOAP request to web service

I'm working on a C# client that consumes a third-party web service. I have the wsdl and xsd from them, and almost everything works fine. The only problem I'm running into is that the service expects self-closing elements within an array argument,…
Ant
  • 545
  • 1
  • 9
  • 26
1
vote
0 answers

Webservice call in mono results "System.Net.WebException:The request timed out" & "System.ObjectDisposedException:Cannot access a disposed object"

When I tried to consume (SOAP) web service (trying to uplaod file content with data of 1 MB - 10 MB size) using mono framework on Linux results in System.Net.WebException: The request timed out as below:- System.Net.WebException: The request timed…
1
vote
1 answer

C# SoapHttpClientProtocol - set local binding address (source address)

I am trying to make a Soap call to a webservice hosted by business partner. The problem I am having is that our client is hosted on a virtual PC with multiple IPs. I would like to call the hosted webservice with a different (not default) IP address.…
raiden_x7
  • 71
  • 1
  • 6
1
2 3