wse3.0

How to sign custom Soap Header?

Hello I've added a custom soap header <MyApp:FOO> element to the <soap:Header> element and the requirments states that i must sign this element , how would one do that? <MyApp:FOO> contains a number of things (username, preferences, etc) that identifies a user on higher level. I've succesfully used a policy file and now a policyClass wi...

WSE client project keeps reverting WebServicesClientProtocol to SoapHttpClientProtocol

Despite enabling WSE 3.0 on client projects in Visual Studio 2005, web references I make always end up with service proxies derived from SoapHttpClientProtocol. I have to manually change the inheritance to WebServicesClientProtocol, but updating it will revert back to SoapHttpClientProtocol. I am unsure where in Visual Studio project pro...

good resource about assert policies in WSE3

Hi where can i find a good resource about assert policies in WSE3 ? ...

Remove WS-Addressing/WS-Security sections from WSE 3.0 Client request

I've got a simple C# web service proxy class that I created with WSDL.exe. I am invoking a method on the remote web service, and it is including a bunch of WS-Addressing and WS-Security headers that I do not want (and that the server is choking on). Here is an example of the raw soap request: <?xml version="1.0" encoding="utf-8"?> <so...

Web Service Security: What are the pros and cons of WSE3.0 and WCF?

I'm developing a new set of web services at my company. My manager asked me to provide a greater level of security for this, as the web services will handle sensitive informations. I've searched the net for resources about how to secure an web service and the two runner ups are WSE3.0 and WCF. But I have no idea which one is the best ...

WSE 3.0 set content type

Hi, I've a simple question, for you, that I just can't seem to get my head around. The situation is the following: We create and send a request to a web service, using WSE 3. The web service is written in Java. Most of the things are fine, but I can't seem to have an impact on the ContentType of either the WebResuest or WebResponse...

WSE 3.0 crashes when ClearHeaders is called

...

Connect to an asmx page behind https, requiring sign only, using WCF

I'm trying to connect to a web service that requires me to sign with a certificate before I connect. In WSE 3.0, all I had to do is create a certificate policy and choose the "sign only" radio button. That worked fine in WSE 3.0, but I want to use this on Visual Studio 2008+ (wse 3.0 only supports 2005). In order to get around the 2005 ...

How do I prevent my .NET SOAP client from including "Connection: KeepAlive" in the HTTP headers. (using WSE3.0)

In the HTTP Connection header, my web service client is including: Connection: Keep-Alive I want to disable this. After doing some research, it appears the way to do this is to set the KeepAlive member of the SoapHttpChannelOptions class to false. But, I do not see a way to access/modify SoapHttpChannelOptions in the webservice clien...

Microsoft.Web.Services3.ResponseProcessingException

I deployed a web service that used WSE 3.0 to a test server. I am getting the cryptic error below. Have any idea what this means and how to fix it? Thanks in advance! Microsoft.Web.Services3.ResponseProcessingException: WSE910: An error happened during the processing of a response message, and you can find the error in the inner excepti...

WSE 3.0 cookies support?

Hi, I'm trying to call a web service with WSE 3.0 which uses cookies for authentication. With standard SoapHttpClientProtocol, I could assign my CookieContainer to a request. However, WSE 3.0 web services does not directly or indirectly inherit from it. How can I set cookies to WSE 3.0 request? ...

'Microsoft.Web.Services3.Addressing.Address' cannot be serialized

I'm trying to write a WCF wrapper web service for a WSE3/ASMX web service. [The ugly reason why is that a 3rd party vendor won't support SSL and that is what's needed for BizTalk 2009 WCF adapter to work with WS-Security. So if the vendor doesn't change - I need to call a local WCF web service...] I followed this article to get the ...

"Unable to connect to the remote server"

I'm able to call a 3rd party vendor's web service from a Windows form program just fine. When I try to call the same web service and web method and same URL from a WCF web service I get the following error: ExportValuationPolicyNumber:Exception=System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.Soc...

Specify a Proxy in config vs code for a WSE/SOAP web service

Is there a way to specify a WSE3 proxy in the config file instead of code. I figured out how to get it working in code as follows: valservice.Proxy = new System.Net.WebProxy("http://10.192.xx.xx:8080", true); Details: I have a WCF wrapper web service that is calling a WSE3 external vendor web service. The WSE3 code was working fine...

WSE3 Destination vs URL

I have a vendor telling me that the SOAP header should not have https in it, but that we can still communicate via SSL. Our concern is that we want to communicate via SSL and that their sample code is causing it not to happen. In their sample program, they provide this code: if (valservice.Url.StartsWith("https")) { ...

Derived type unknown to WSE 3.0 web service

I have a WSE 3.0 based web service, and a WinForms client application that makes use of the types defined in that service's References.cs, but subclasses them to provide some additional functionality required by the client. However, when I pass an instance of the subclass back to the web service, even though I explicitly cast back to th...

WSE032 error, WebServicesConfiguration cannot load config. section

I have developed a small tool to upload salary information to the swiss administration and I used WSE 3.0 with success. But now, one of my customers has reported that on his machine, my program crashes with the following stack trace: WSE032: There was an error loading the microsoft.web.services3 configuration section. at Microsoft.Web...

CryptographicException using WSE3 crashes webservice IIS process

We are using c# webservice hosted in IIS. Webservice uses WSE3 extensions for Kerberos authentication. Sometimes webservice crashes with unhandled exception, which is loged in event log: Ereignistyp: Fehler Ereignisquelle: ASP.NET 2.0.50727.0 Ereigniskategorie: Keine Ereigniskennung: 1334 Datum: 22.01.2010 Zeit: 08:39:49 Benutzer: Nicht...

Adding SOAP:HEADER username and password with WSE 3.0

I have successfully created a WS client that works correctly when NOT using authentication. However, the server (WebSphere) now requires adding a ws-security username token, and I'm having a hard time doing this. The resulting SOAP message is supposed to look something like this: <soapenv:Envelope xmlns:ns="http://foo.bar/1.0" xm...

WSE 3.0 Settings Menu Missing from VS2005

I'm simply trying to get the WSE 3.0 Settings menu to show up when I right click a newly-created ASP.NET Web Service Application in Visual Studio 2005. I found 1 solution about including the Add-In, but that file already exists, and when I check Tools -> Add-in Manager, I already see "WSE Settings 3.0..." with all checkboxes checked. I...