wse

Calling .NET Web Service (WSE 2/3, WS-Security) from Java

I need to call a web service written in .NET from Java. The web service implements the WS-Security stack (either WSE 2 or WSE 3, it's not clear from the information I have). The information that I received from the service provider included WSDL, a policyCache.config file, some sample C# code, and a sample application that can succes...

WSE Server under Windows 2000

Hello, I have a problem with WSE on Windows 2000 Machines. The method SoapReceivers.Add crashed under Windows 2000. It seemes that the windows 2000 os did not allow to start a listening service on excluse addresses. So I find a out that I can set this in the config file to "false" But the problem is still be available. Anybody with a...

Using own exceptions in wse, not only SoapException

Is it possible to send my own developed exceptions over Soap to a client using http.sys?? ...

Calling a WSE web-service though a proxy

Hi. I'm using Web Services Enhancements 3.0 to call a web-service from an ASP.NET application written in C# with Visual Studio 2005. I can call the web-service in Internet Explorer if I change the network connection settings to use a specific SOCKS5 proxy but from the .ASPX page I get an error message that tells me that I should be usi...

WSE 2.0 SP2 on VS 2008

Is it possible to use WSE 2.0 SP2 under VS 2008? I realise that the add-in (that generates the proxy classes/configuration) is not compatible but there are work-arounds to this (copying over the files from a VS 2003 solution). Our web services are relatively static so would not be making too many changes anwyay. We may at a future date...

How do I mix message encoding types (Text/MTOM) in the Request & Response of a Web Service client application using WCF (or WSE 3)?

Here is my problem. I am hitting a web service (hosted on a Java based server) that will only accept text encoded Requests, but it returns MTOM Responses. What I've found is that if I set the web service to RequireMtom, it sends an Mtom request! Unfortunately, the server chokes on an Mtom request and returns a 500 error. However, if I se...

Primer for X.509 certificates on Windows

I am presently studying the topic of encrypting and signing SOAP messages via WSE 3.0 or WCF. Since I have not participated in distributed application development involving the public Internet, I find my knowledge on X.509 ceritificates lacking and how it works in the Windows certificate store mechanism. It is not about asymmetric crypto...

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...

Calling .asmx service from a .net 3.5 application

Hi, I am trying to call a .asmx (WSE) web service from a .net 3.5 application. This is possible correct? It seems when I add a web reference the API is completely different than when I add a reference in a .net 2.0 app. ...

Where is IPasswordProvider for WSE services?

Hi, I can't find IPasswordProvider interface in my WSE project. I want to create a custom password provider so I have to implement this interface. Which namespace is it in? In VS.NET, I can't find Microsoft.Web.Services.Security anywhere? Update I found Microsoft.Web.Services3, is that .net 3.5 or it still works in .net 2.0? But I...

SetClientCredential visible in vs.net 2005 but not 2008

I add a web reference to my wse 3.0 service in Visual Studio 2005 and my intellisense shows the name of my service like MyServiceWse (it adds the WSE extension to the name). I also have access to SetClientCredentials() where I pass in my UsernameToken, everything works fine. In Visual Studio 2008 I don't have the proxy class with MySer...

WCF and WSE 2.0 web services.

How I can use WCF to communicate to old school WSE 2.0 web services? ...

exposing custom types (classes) in a web service (WSE)

Hi, If I have custom types (classes) in my web service, do I have to mark with with special attributes so they are serialized properly? i.e. [SomeAttribute] ? Update I am using WSE at the moment ...

In WSE services, with custom types, do constructors work on the consuming client's side?

Hi, I have custom types in a WSE web service. the consuming client can't seem to see my constructor when instantiating a class, is this normal? ...

What to look out for when moving from Visual Studio 2005 to 2008?

We're planning on updating our developers from Visual Studio 2005 to 2008. Are there any common "gotchas" to look out for during this move? My major concern at the moment is that we use WSE 3.0 quite a bit (mostly to consume external .asmx web services, but we also host a few ourselves). Will that be an issue since WSE 3.0 has been ...

How can you interop WSE 2.0 and 3.0 in a single project

Hello all, As a part of my job, I need to add a new webservice to one our existing projects. Currently all of the services are ASMX webservices using WSE 3.0, but the new service needs to use WSE 2.0 SP3 because the vendor that will be calling it refuses to upgrade to 3.0. I was hoping that someone here knew how to let these two versi...

Converting WSE example code to WCF

I am new to both WSE and WCF and I am trying to consume a web service using WCF but all the example documentation is for VS2005 + WSE. This web service uses WS-Security 1.0. I have added a service reference thru visual studio but I am at a loss on how to do the equivalent of the code below in WCF: // 1. Initialize the web service prox...

What's the difference between Request.Security.Tokens and Request.Security.Elements in WSE 3?

So I'm trying to get a WSE 2.0 SP3 client to work with a WSE 3.0 server. I'm running into an issue with this line of code on the client: transaction.RequestSoapContext.Security.Elements.Add(new MessageSignature(token)); I'm wondering how important is this line if the client is already using the following line of code: transaction.Req...

Tips for calling WSE service from WCF?

I've got a WSE 3.0 web service that I'm trying to call using a VS 2008-generated WCF client. VS generated the client with a basicHttpBinding but I'm getting the exception "Microsoft.Web.Services3.Security.SecurityFault: Security requirements are not satisfied because the security header is not present in the incoming message." I'm assu...

IPv6 and SoapTcpTransport.GetInputChannel (WSE)

I’m having a problem getting IPv6 addresses to work with the .NET WSE SoapTcpTransport.GetInputChannel or more specifically SoapReceivers.Add, which uses GetInputChannel under the covers. Since no one else on the planet seems to be having this issue, I assume that I’m doing something wrong. If I create a SOAP input channel using an IPv...