Questions tagged [wse]

WSE is the obsolete Web Services Enhancements code from Microsoft. It has been replaced with WCF, is barely supported, and has no tooling support in Visual Studio versions after VS2005. It should only be used if you have no other choices at all.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

Routing WSE 3.0 SOAP request through NAT

I'm trying to send a soap request to a WSE 3.0 service but can't get the request to work. It's working great when there is a direct connection between computer A and B. When there is a NAT device ...
Teh Swish's user avatar
0 votes
0 answers
25 views

SOAPEnvelope class replacement after WSE 3.0 decomission

I ran into an issue recently when in an existing Console Application project we're forced to remove a reference to WSE 3.0. When I tried to remove it from references (because I could not find where it'...
Cosmin's user avatar
  • 152
1 vote
0 answers
115 views

Migrate WSE to WCF

using Microsoft.Web.Services2; using Microsoft.Web.Services2.Security; using Microsoft.Web.Services2.Security.Tokens; using Microsoft.Web.Services2.Security.X509; public void ConfigureService(...
Medo's user avatar
  • 958
0 votes
1 answer
4k views

IIS 10 Application permissions to access a Cert in Certificate Manager

I am a ASP and IIS noob. I live in a Linux terminal, so this is been a steep learning curve... I have a C# Web API written in .Net 4.6. The Web API communicates with a 3rd Party SOAP Web Service ...
LorneCurrie's user avatar
1 vote
1 answer
508 views

WSE 3.0 WSE839 Exception

There is a Java-Soap-Service which I want to call with WSE 3.0, I generated a Proxy with the WSDL-File but the service expects MTOM for it´s data. I also followed this tutorial and it worked well but ...
Felix Arnold's user avatar
1 vote
1 answer
1k views

How do I consumer a WSE WebService in VS2015?

I am trying to connect to the Ohio Finder Service to obtain local sales tax information. The documentation for the service, and the endpoint address are available via: https://thefinder.tax.ohio.gov/...
Zoop's user avatar
  • 872
0 votes
1 answer
760 views

Add Microsoft WSE 2.0SP3 to Microsoft .NET container

I am trying to containerize a legacy application which relies on Microsoft WSE 2.0 SP3. I wrote a nupkg for the WSE 2.0 SP3 .msi and the application, and am able to install via the nupkg to a 2012R2 ...
justlearning's user avatar
0 votes
0 answers
545 views

Outgoing SOAP message encryption for WS

I need to access a WS method by C# and one of its requirements is encrypting the SOAP message with the server's certificate public key. They sent me, for testing, that certificate, but it expired some ...
SySc0d3r's user avatar
  • 632
1 vote
0 answers
408 views

Secure SOAP request (with WSE 3.0?) C#

I need to sign and encrypt a SOAP request with a certificate to access a WS method, but i'm getting the same response all the time: "A security error was encountered when verifying the message". I ...
SySc0d3r's user avatar
  • 632
12 votes
1 answer
8k views

How Do I Call XML SOAP Service that Requires Signature from .Net Core?

I realize that this question refers to old technology. I am calling a vendor system and have no ability to change the service. We are required to call an XML/SOAP WS and then sign the request. 10 ...
Pete's user avatar
  • 3,981
1 vote
0 answers
1k views

SoapHeaderException: SOAP header Security was not understood using WSE3

I'm using WSE3 in .Net to connect to a third party Java WebService. The SOAP request and response captured in Fiddler shows that the communication is working good. Response: <SOAP-ENV:Envelope ...
rasputino's user avatar
  • 684
4 votes
1 answer
2k views

WebServicesClientProtocol add EncodingType to Nonce in Security header

Similar question: How do I add an EncodingType attribute to the Nonce element of a UsernameToken in WSE 3.0 (.NET) I'm trying to modify header that is send by WebServicesClientProtocol to service. ...
Misiu's user avatar
  • 4,718
2 votes
1 answer
234 views

WSE2 to WCF: Signing a SOAP message

I need to covert code from WSE2 to WCF and need a few tips on how to implement signing a SOAP message with a X509Certificate2 object. WSE2 code: X509SecurityToken tok = new X509SecurityToken(cert); ...
MacKee's user avatar
  • 21
0 votes
1 answer
1k views

SvcUtil vs WseWsdl3

Official VmWare documentation describes how to use WseWsdl3.exe utility to generate csharp file VimService.cs from a set of .wsdl files: wsewsdl3.exe /n:Vim25Api /type:webClient /l:CS vim.wsdl ...
Egor Okhterov's user avatar
1 vote
1 answer
70 views

WSE + self-signed certificat

There is an old code on the WSE (Web Services Enhancements). Now in "sandbox" of service with which it works for HTTPS began to use self-signed certificat. And now in the sandbox i am getting error -- ...
Rinat's user avatar
  • 11
1 vote
1 answer
263 views

Selectively encoding SOAP Sections using MTOM and WSE 3

We are using WSE 3.0 to setup security header options for invoking a webservice. The webservice also expects an attachment in MTOM format. When we try to enable ClientMode = "On" in the App.config ...
SubCoder's user avatar
0 votes
0 answers
351 views

.NET client to java service using message and transport certificates

I am trying to make a .NET client using WSE 3.0 custom policy. I have local wsdl because service uses https with certificate protection. Request soap message needs to be signed and encrypted with ...
Ledian's user avatar
  • 21
2 votes
0 answers
144 views

WSE 2.0 How do i generate digestvalue for the body

I am trying to generate a soap-message manually with python, without using anything like suds. I have examples from the partner i'm sending the message to and i can run for example the timestamp part ...
Åke Ekmark's user avatar
7 votes
2 answers
6k views

WebService RequestSoapContext property not found

I have a asp.net website in visual studio 2013. I added a webservice. I need to send authentication parameter (username and password) as SOAP header. But it cannot find the property RequestSoapContext....
masum7's user avatar
  • 804
8 votes
4 answers
791 views

Analyzing why WCF much slower than WSE webservice

We have a web service with both WSE 3.0 endpoints and the newer WCF endpoints on .NET Framework 4.5. WCF is using basicHttpBinding. The problem is that the new WCF bindings appear to be ...
Yuriy Gavriluk's user avatar
0 votes
1 answer
420 views

Convert WSE3 Web Service Client Code to WCF

Convert WSE3 Web Service Client Code to WCF Hi. It would be much appreciated if an expert could be able to convert the following WSE3 web service client code to some working(well as much as possible) ...
Christian Haynes's user avatar
1 vote
1 answer
131 views

How to return error code & message from the custom WIF based SecurityTokenService when user authentication fails?

I am building my custom Security Token Service inheriting from the Windows Identity Foundation's SecurityTokenService . However, I do not find any appropriate method which I can use to inform client ...
Learner's user avatar
  • 4,641
0 votes
1 answer
2k views

Create soap web service client from wsdl with no contract methods

I'm stumped, probably because of not understanding something about soap services. When I create a service reference to the current public x12 health document submission service interface: http://www....
Robert Achmann's user avatar
2 votes
0 answers
1k views

"Action for ultimate recipient is required", unable to consume SOAP service

I have a SOAP web service I am trying to test but am unable to get anything to work. I do have access to the service's code, have tried calling from SoapUI, VS's service reference, and rolling my own ...
Joshua Ohana's user avatar
  • 5,525
0 votes
0 answers
2k views

Application can't find an assembly

I have an ASP.NET MVC application, which uses one old service (Web Services Enhancements, WSE). Right now I try to move this application to Azure. When I try to call web-service, which use WSE, I get ...
Oleg Sh's user avatar
  • 8,380
0 votes
1 answer
53 views

Fiddler2 not capturing WSE2.0

I am trying to capture a message going to an external site using WSE2.0 and HTTPS but fiddler2 is not capturing the messages. Is there any settings I need to do. I have installed the FIDDLER2 ...
MiscellaneousUser's user avatar
2 votes
1 answer
546 views

Issue with Lumesse Web Services and WSSE plain text security

We're currently re-developing a legacy project that makes use of a SOAP web service from Lumesse, called over HTTPS. http://developer.lumesse.com/Getting_Started This is being consumed in a ASP.NET ...
milquetoastable's user avatar
0 votes
1 answer
121 views

wse3 inherited class type not accepted as method parameter

I will try to describe my problem. I have a method in a proxy class(auto-generated by wsdl) that accepts as its first argument an object of Type BaseType.I try to pass an inherited type and i get ...
tasoss's user avatar
  • 5
0 votes
0 answers
198 views

Having trouble increasing Dime maxRequestLength on my WSE 2.0 webservice

I tried everything I could find / think of. I'm running a webservice on IIS6 WSE2.0 on dotNet Framework 3.5 ASP 1.1 I changed the service and client web.config adding both: <configSections&...
seerick's user avatar
  • 31
2 votes
0 answers
788 views

WSE 3.0 failed parsing the policy document

I am working on WebService Authentication with UsernameToken in WSE 3.0 using asp.net mvc in VS 2012. I created a sample application for authorized login. Error i get is "Failed parsing the policy ...
user1700961's user avatar
1 vote
0 answers
746 views

WSE 2.0 SP2 on WindowsServer 2012 R2

I moved an old application to WS2012R2. Now it throws : Could not load file or assembly 'Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its ...
Joonas Püüa's user avatar
0 votes
1 answer
132 views

Consuming WSE Web Service using Dynamic Port in BizTalk 2013

We have an application currently running in BizTalk 2006 R2 sending message to WSE2.0 web service using a dynamic send port. The properties it set for soap message port are as follow: Message(WSE....
Nido's user avatar
  • 231
0 votes
0 answers
345 views

Calling WSE 2.0 webservice using WCF client

I have a client application that I am trying to re factor. It was actually called with some old Microsoft.Web.Services2 client. But I am trying to adopt it to be called by a WCF client. I think I ...
SoftwareSavant's user avatar
1 vote
1 answer
231 views

Why this byte[] array is different and holds a total different value when it is returned to calling method?

I am using .NET reflector to debug a console application calling a WSE3.0 service which requires signing & encrypting the message using username token element. Our service provider uses WSE so I ...
iRamesh's user avatar
  • 383
2 votes
2 answers
1k views

Importing wsdl using svcutil fails for security config

I try to access a java-webservice which uses ws-security (wsse). I tried to consume it using svcutil: svcutil *.wsdl *.xsd /language:C# /tcv:Version35 This works well, but I get an error importing ...
UNeverNo's user avatar
  • 549
0 votes
0 answers
755 views

Error :- WSE594: InitializeSecurityContext call failed with the following error message: The network path was not found

good I'm trying to authenticate to web services with kerberos, but when I try to invoke the web service gives me the following error: Error :- WSE594: InitializeSecurityContext call failed with the ...
Helio's user avatar
  • 81
0 votes
1 answer
797 views

WSE 3.0: Usernametoken Without nonce and timestamp and signinging the body

So i have a provider that opened a Web Service so i can consult him. The problem is that it only supports WSE (yep i tried in WCF but it just aint happening due to the security restrictions) for .net ...
user3130628's user avatar
4 votes
2 answers
5k views

WSE 2.0 web service client in Visual Studio 2013

I'm trying to consume an old web service provided by a third party. This WS uses DIME for attachments. AFAIK in WCF is not possible for application/dime response content type to work, so I added a ...
Andrea Colleoni's user avatar
4 votes
1 answer
3k views

How to decrypt raw soap response encrypted with x509

We have a batch program that talks with a third party providers web service with WSE, the call to the WSE webservice is encrypted with a x509 certificate. We have two different certificates to the ...
thmsn's user avatar
  • 1,976
2 votes
1 answer
930 views

Can a WCF web service access raw SOAP message Header and Body as XML data?

I need to build a web service in C# which will receive a SOAP 1.1 message where the <Envelope><Header> and <Envelope><Body> will contain only complex XML data. In WSE (...
Chris C.'s user avatar
  • 959
0 votes
1 answer
2k views

Migrating WSE Client to WCF - how to replace SecurityPolicyAssertion and UsernameToken?

I have a web service implemented in Java that is currently being invoked by a WSE 3.0 client, and I would like to migrate from WSE to WCF. Using the standard tools, I have created a client that can ...
James's user avatar
  • 107
0 votes
1 answer
1k views

Develop web service - UsernameToken header with password digest authentication

We are trying to host a service over ABC Server with client certificate and message authentication. Client will provide WSSE UsernameToken Security header that need to be understood by the service and ...
Software Enginner's user avatar
1 vote
1 answer
1k views

Cannot override System.Web.Services.Protocols.SoapHttpClientProtocol to Microsoft.Web.Services2.WebServicesClientProtocol

My Website (3.5 version) has a web reference to an external web service created in App_WebReference folder. This folder does not have Reference.cs (.wsdl and .discomap only available) . I can find the ...
Amit's user avatar
  • 379
1 vote
0 answers
281 views

WCF consuming legacy webservices

I am having an issue consuming a legacy webservice using WCF. I resolved one issue which was dealing with the fact that the webservice was using different sign and encryption keys. But when I make ...
user2572314's user avatar
2 votes
1 answer
3k views

WCF or WSE Edit security header

I've been trying to change the soap security element either using WCF or WSE. WCF: Implement a messageinspector and add your custom code in Beforerequestsent. Having set the following custom ...
user575219's user avatar
  • 2,328
0 votes
0 answers
909 views

Service Reference fails to deserialize correctly and puts null in fields (asp.net to asp.net)

So i'm having a weird issue with my service reference in my VS2010 project that i can't really figure out. Any time i rebuild the soap service that the service reference is attached to i can no ...
Chris Rice's user avatar
1 vote
1 answer
2k views

wsse Security Header with SAML

I need to consume the web service which is exposed by my service provider. I got the WSDL file from them. In SOAP request header I have to add the wsse:Security header with SAML assertion. Please ...
user2212054's user avatar
1 vote
1 answer
972 views

Using SAML2 Tokens with WCF channelfactory and Weblogic services

Help! :) I'm having no end of problems trying to get the following working(apologies in advance if I'm not using the exact correct terminology) :) I need to get a .NET web application (client) ...
Marc F's user avatar
  • 13
0 votes
1 answer
239 views

How can I have a wcf service use my asp.net request/response filter?

I have an older soap web service using microsoft's WSE library. It's now not supported in our target .net framework and operating system. I have converted the service to use wcf on the server but ...
Aaron Fischer's user avatar
2 votes
1 answer
6k views

"The signature or decryption was invalid" when trying to access web service over WSE or WCF

I've been given a WSDL and the URL of a webservice that I need to hit using C#. The webservice is accessed over HTTPS, and I was instructed that I need to sign the SOAP payload with a certificate ...
Matthew Warren's user avatar