all groups > dotnet web services enhancements > november 2005
Filter by week: 1 2 3 4 5
WSE 3.0; Kerberos Token; An invalid security token was provided.
Posted by Jubin at 11/30/2005 9:57:02 PM
Hi
I am using WSE 3.0 and .NET Framework 2.0/VS.NET 2005;
When I use the Kerberos Token; the following exception is thrown.
"An invalid security token was provided...... unknown user name or bad
password"
Following are the code/configuration details. Can some one please point out
what ... more >>
Error installing WSE 3.0
Posted by Jay Warling at 11/30/2005 4:01:02 PM
I get the following error when installing WSE 3.0.
Error 1722.There is a problem with this Windows Installer package. A program
run as part of the setup did not finish as expected. Contact your support
personnel or package vendor. Action RegisterSettingsVSRuntime, location:
C:\WINDOWS\Inst... more >>
SOAPAction header after applying security policy
Posted by SUVANAN at 11/30/2005 12:22:02 PM
When I set a client policy, the WSE layer is modifying the SOAPAction header
to
http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT
How can I set it as my original/intended SOAPAction header?
--
SUVANAN DUTTA... more >>
Security requirements are not satisfied because the security header is not present in the incoming message
Posted by jackmadeja NO[at]SPAM hotmail.com at 11/30/2005 8:38:54 AM
I get following exception every time I run my service thru ordinary IIS
instead of Default IIS in VS.NET Studio. My service is a simple
'Hello World with certificate policy. My client is simple ASP.NET Web
Site with one button and textbox. I use Certificate Policy
(mutualCertificate11Security) o... more >>
WSE 3.0 & WSE 1.0
Posted by Duncan_CWLI at 11/30/2005 2:23:02 AM
Can I install WSE 3.0 on a pc with WSE 1.0 and still use them both, I'm
looking at migrating the app using WSE 1.0 but want to test WSE 3.0 whilst
work continues on the project using WSE 1.0... more >>
Gotcha with UsernameTokenManger migration to WSE 3
Posted by Mark Arnott at 11/29/2005 1:44:05 PM
I migrated a custom UsernameTokenManager class from .Net 1.1/WSE 2 to
..Net2.0/WSE 3 and ran into an annoying problem.
The WSE 2.0 config that worked was:
<security>
<securityTokenManager
type="Proxies.MyUsernameTokenManager, IfisClient"
xmlns:wsse="http://docs.oasis-ope... more >>
What WSE2 offers for this problem?
Posted by J-T at 11/29/2005 11:49:54 AM
I need to create a webserivce which is able to talk to the following
components:
1) Another webservice which is written by java and talks to its own backend
database to authenticate the users
2) Directly talk to a sql server database containg a table to store username
and passwords
3) Direct... more >>
WSE2 - SoapException
Posted by grigorisd at 11/29/2005 8:16:28 AM
Hi all,
I am unable to get the SoapException thrown by a web service. I am using a
soapclient class to send the request (SendRequestResponse) but all I get is
"Fault occured".
Any good examples on this???
Thanks... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Custom Username token in WSE 3.0
Posted by n33470 at 11/29/2005 5:51:55 AM
Hi all,
Using WSE 3.0, I need to create a custom username token that includes
some additional fields. I have also created a custom token manager to
handle the authentication process using the custom token. (For
example, suppose you wanted to add an additional string field to the
username ... more >>
2-way communications
Posted by matvdl at 11/28/2005 4:44:01 PM
hello,
Is it possible for a web service solution to enable full 2-way
communications e.g
Have the client contact the server to send information at anytime
Have the server contact the client to give it instructions at anytime
Please note - my clients will not have fixed IP addresses and... more >>
Web Services without XML Serialization?
Posted by John Glover at 11/28/2005 10:11:01 AM
I've been asking dumb questions lately, so why stop now?
I'm wondering if it is possible to use Web Services without the XML
Serialization which requires parameterless constructors and public fields.
I guess there are two easy ways to satisfy this requirement. Either there
is a way to use... more >>
WSE 2.0 and CLR 2.0 strange issue
Posted by Johny at 11/28/2005 4:41:45 AM
Hello,
I have a really annoying problem with porting my ASP.NET 1.1
application to ASP.NET 2.0. I localized problem and found that it
relates with WSE 2.0 (SP3) which works incorrectly with ASP.NET 2.0 -
after some WebService calls the working ASPNET process terminates
unexpectedly.
All th... more >>
WSE samples - missing certificates
Posted by Mike at 11/27/2005 3:37:01 AM
Just installed WSE 3.0
and working through the HOL on security and they refer to certificates in
the wse 3.0 samples directory that are not there
Had to sinatll wse 2.0 to get then... more >>
VS2005 C++ and WSE 3.0 Error
Posted by Gary L. at 11/26/2005 11:01:03 PM
I'm getting the following error when right mouse clicking on a VS2005 C++
Console and/or Webservices Project and selecting WSE 3.0 Settings ...:
---------------------------
WSE Settings
---------------------------
Value cannot be null.
Parameter name: path1
---------------------------
O... more >>
Get the current SecurityToken i a WebMethod
Posted by Henrik Skak Pedersen at 11/25/2005 7:21:10 PM
Hi,
How do I get the current SecurityToken in a WebMethod?
Thanks Henrik.
... more >>
Problem in securing webmethod Wse 2.0 sp3
Posted by Swapna at 11/25/2005 12:49:15 AM
Hi,
I am trying to implement webservice security , with x509 tokens,
By signing the message with x509 tokens and encrypting them, the
performance of the websvc becomes poor.
I want to implement it for specific methods..
There is a requestAction attribute in the operations element with t... more >>
"Updated Web Reference" but can't find the '****Wse' class!
Posted by Naeem Sarfraz at 11/24/2005 4:39:08 AM
So Ihave enbaled by ASp.NET Web Service project to be WSE Enabled and the
same for my client project. Compiled the Web Service and then updated the
references in the client project.
I am now supposed to find a class which has 'Wse' appended to it, I can't
find it, it's not in the namespace.... more >>
WSE3.0 'wse' proxy not generated when adding web reference in VS20
Posted by Zoodor at 11/24/2005 3:29:04 AM
I have a WSE enabled web service and a client application. Everything used to
be fine, but now, for some reason, when updating the web reference in the
client application only the ordinary proxy is generated - there is no 'Wse'
version.
The only thing I can think of that has changed is tha... more >>
UserName and Kerberos tokens at the same time
Posted by Henrik Skak Pedersen at 11/24/2005 12:00:00 AM
Hi,
I would like to authorize the user using a Kerberos, a UserName or at custom
token depending on what I receive from the user.
Is that possible?
Thanks
Henrik
... more >>
WSE 3.0 - Problem with WSSecurityKerberosCodeService example
Posted by Nate at 11/23/2005 11:50:15 AM
I'm receiving an error when running the 'WSSecurityKerberosCodeService'
example provided by WSE3.0:
"Security requirements are not satisfied because the security header is not
present in the incoming message."
The answer to a previous post with the same message said a valid user name
and... more >>
Algorithm for Generating KeyIdentifier
Posted by Sammy at 11/23/2005 12:00:00 AM
Using the UsernameForCertificate example provided with WSE 3.0, the XML
request generated by the client had this:
<wsse:KeyIdentifier
ValueType="http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#ThumbprintSHA1"
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-2004... more >>
Examples in WSE 3.0
Posted by Henrik Skak Pedersen at 11/23/2005 12:00:00 AM
Does anybody know of any good examples of using Kerberos and UserName tokens
in WSE 3.0? Preferable both Windows username and custom username tokens.
Thanks
Henrik.
... more >>
Server policy : UserNameOverTransportAssertion WSE 3.0
Posted by Henrik Skak Pedersen at 11/23/2005 12:00:00 AM
Hi,
I have created a server policy (UserNameOverTransportAssertion, Client
Token, UserNameToken) and then I have added the Policy attribute to my
class:
[Policy("ServicePolicy")]
Now, I thought that I had to send a UserName to the web service, but I am
still able to call my web servic... more >>
Error: Refereced security token could not be retrieved
Posted by f.ritz at 11/22/2005 10:09:42 PM
I have a problem with WSE 2.0 SP3.
I try the AsymmetricEncryption-example from WSE to run, but I wars th
following error: Refereced security token could not be retrieved.
think that the X509certificates am not correctly installed.
The certificates are configure:
Current User->Personal->Cli... more >>
WSE 3.0 Policy files
Posted by immu4u2 NO[at]SPAM gmail.com at 11/21/2005 10:51:45 PM
Hi all,
I am using WSE 2.0 SP3 to send my request and receive the response
across the wire to an web service.
Currently I am mainitaining a single policy file (as used in the case
of WSE Adapter 2.0 ) for all my communications
The differentiator is that i specify the target uri and the SOAP a... more >>
Message Trace
Posted by Taurus at 11/21/2005 10:15:11 AM
Greetings.
I am using WSE 2.0 Service Pack 3 to secure a webservice and i enabled
the Message Trace.
Currently, i have trace enabled in both sides, server and client. The
problem is WSE only creates trace files for the client and not for the
server. If i disable the trace on the client, i don... more >>
WSE 3.0 KerberosContext
Posted by rei at 11/21/2005 5:40:04 AM
Hi,
I'm trying to use the two KerberosContext classes (client and server) in
order to authenticate a client application against a service.
I only need to identify the client (don't need delegation or impersonation).
There doesn't seem to be any documentation on the subject, so I was
wonde... more >>
Custom tokens and policy
Posted by Pierre at 11/21/2005 3:59:00 AM
Hi,
On the client's side I would like to be able to send certain data in
the headers such as company name, package name, ip, user name, password
and role.
On the server's side I would like to have a policy that only allows
certain users or roles to use a web service. But without using any
... more >>
Routing messages through a tcp trace app in CONFIG
Posted by Julie Lerman at 11/20/2005 4:24:20 PM
In my client application, I can change the destination of a proxy to point
to a sniffer to read the binary coming over the wire and then have it send
the message back to the correct destination with
wsproxy.Destination=new EndpointReference(new
Uri("http://localhost:1932/MyService/MyService... more >>
Encryption different portions of SOAP payload with different keys
Posted by Allen at 11/19/2005 12:45:05 PM
Here's the scenario:
* you have 1 SOAP message and you have different consumers.
* Some consumers should have access to the entire message
* Other consumers should have access to only a specific section of the message
Is there any way to do achieve this in WSE 3.0 or do I have to roll my ow... more >>
SoapReceivers.Add
Posted by John Glover at 11/18/2005 10:27:06 AM
I think I've been asking the wrong questions.
I have an instance of a WSE 3.0 SoapService derived class, and I want to add
it to the SoapReceivers collection so that it will receive requests.
However, when I make the call as SoapReceivers.Add(Uri, Object) where the
Uri is http, I get the m... more >>
WSE3 RTM Help Integration with VS2005 RTM
Posted by Howard Hoffman at 11/18/2005 9:54:53 AM
Is WSE3 help supposed to be integrated (and available) into the VS2005 help?
Post WSE3 install, I can only access WSE3 help from the standalone WSE3
'Documentation' (i.e. the file referenced by the WSE3 Start Menu shortcut).
Is this by design (i.e. oversight) or is there something I can do to... more >>
WSE 3.0 Security Labs..
Posted by Oscar Thornell at 11/18/2005 12:00:00 AM
Hi,
I am messing around with the hands-on labs for WSE 3.0...
Initially I had alot of problems since I got an Exception: "the request
failed with HTTP status 401: Unauthorized" for every request/demo app I
tried to use...
I modified the "GetProxy()" method to use PreAuthentication...and v... more >>
WSE2.0 + SP3: empty soap:binding transport over SSL -- why?
Posted by google NO[at]SPAM funk45.com at 11/17/2005 9:25:09 AM
I have created a simple HelloWorld application in WSE2.0 SP3.
When I browse to the endpoint url over http (e.g.
http://localhost/TestService.ashx) the WSDL is fine and I can create a
client proxy and call into the service. Examining the WSDL shows the
soap:binding transport attribute is popu... more >>
WSE 2.0 Security token could not be authenticated or authorized -x
Posted by Adam Zebrowski at 11/17/2005 7:51:20 AM
Hi,
I've got strange problem. I'm using WSE 2.0. The message is signed and sent
to WSE enabled web service which should authenticate or not the message based
on policy. The WS invokes after the WSE BTS adapter. Between sender and
receiver i've got the SSL blade. So communication to ssl blad... more >>
WSE 2.0 Requested registry access is not allowed.
Posted by Matt Dolan at 11/16/2005 11:04:18 AM
Hello,
I started getting this message yesterday after installing the latest
security patches to my Win2003 Standard server. Anyone know which registry
entry I need to fix?
Thanks,
Matt
Event Type: Error
Event Source: Microsoft WSE 2.0
Event Category: None
Event ID: 0
Date: 11/16/200... more >>
WSE3.0 'homesite'
Posted by Phil Lee at 11/16/2005 9:40:33 AM
Hi,
When creating a setup for my web service, and selecting WSE3.0 in the
prerequisites, I get the following message:
"No 'HomeSite' attribute has been provided for 'Microsoft WSE 3.0 Runtime',
so the package will be published to the same location as the bootstrapper."
How can I fix thi... more >>
server clock/time in soap message
Posted by Benjamin at 11/16/2005 6:40:11 AM
Hi!
Sometimes the users, consuming our web services, gets different errors
because the clock on server and clients mismatch.
When this happens it would be nice to present to the user the clock/time on
the server, so the user really gets aware of the need to correct the
clock/time or sync... more >>
EstablishSecurityContext problem
Posted by Pravin Patil at 11/16/2005 4:53:05 AM
Hi,
I was trying to assign a code-based policy to the service.
It works fine.
But if I add following line, the service gets failed.
assertion.EstablishSecurityContext = true;
Please suggest.
My Service policy is as follows
public MyPolicy()
{
// use a turnkey assertion to get u... more >>
timeToleranceInSeconds
Posted by Benjamin at 11/16/2005 12:51:09 AM
Hi!
Now I have the timeToleranceInSeconds setting in the config file, but I have
to do the setting in the code instead. Where do I find the setting in the
microsoft.Web.Services2-namespace?
<microsoft.web.services2>
<security>
<timeToleranceInSeconds>900</timeToleranceInSecon... more >>
WSE032 ConfigurationException (WSE 2.0 SP2)
Posted by Benjamin at 11/16/2005 12:22:01 AM
Hi!
We have distributed a client that consumes WSE-enhanced web services.
The client gets the URLs to the web services using a configuration file.
The WSE is not installed on the clients, simply Microsoft.Web.Services2.dll
is put in the same client folder as the main executable. That has al... more >>
Attn: SoapMSMQ Transport for WSE 3.0
Posted by Roman Kiss [MVP] at 11/15/2005 12:15:48 AM
The soap.msmq transport update for the WSE 3.0, configuration and usage of
the message exchange patterns.
http://www.codeproject.com/useritems/SoapMSMQ_WSE3.asp
Roman
... more >>
Can i cache a WSE X509Certificate ? Is it threadsafe?
Posted by Ste at 11/14/2005 9:38:17 PM
I am using WSE2.0 over a secure SSL connection. Each time i send a request
to the SSL webserver, i retreive a certificate from the certificate store.
To avoid the overhead of retrieving the certificate from the store for each
invocation of the web services method can i cache it?
Would this... more >>
Unable to load custom token manager
Posted by irislogic at 11/14/2005 8:56:02 PM
I have a class "CustomAuthenitcation" which overrides the AuthenticateToken()
method and implements a db lookup for validation.The class file is included
in the web service project. I have made a web.config entry.
*********************************************************
<securityTokenMana... more >>
Frustrations with sample apps
Posted by Arian T. Kulp at 11/14/2005 5:43:19 PM
I've been trying to do a simple encrypted message exchange with WSE 3.0 on
..NET 2.0. All that I really want to do is encrypt the message so it can't
be intercepted en route. It's for a demonstration, so full-blown security
considerations need not be taken (it is enough to exchange a message... more >>
Can I use WSE 2 SP3 with .Net 2
Posted by Mark Arnott at 11/14/2005 2:20:06 PM
I have an client application that uses WSE 2 SP3 to secure a web service
connection. Can I migrate the application to the .Net 2.0 framework still
using WSE 2?
Has anyone done this yet? Did you have any problems?
Thanks... more >>
Session Variables in WSE 3.0
Posted by Pravin Patil at 11/14/2005 4:16:03 AM
Hi,
I got many webmethods in my web service.
My client app will access the Web Service and try to execute webmethods.
I do not want to pass user creditials like username, password and other
details everytime.
When user first time access the web service,
can I create Session variables f... more >>
Installation Problem
Posted by zer0 at 11/13/2005 9:30:03 AM
I am intsalling WSE 3.0 on win 2003 ( .net 2.0 , vs 2005 Beta), it gives
Error 1722;
WSE 2.0 installed with no problems.
Any know issues, besides whats on documentation?
inga ... more >>
calling WSE 2.0 service from WSE 3.0 client?
Posted by yacrumb NO[at]SPAM yahoo.se at 11/12/2005 5:35:34 PM
Hello all.
Is it possible to implement client in .NET 2.0 Framework and WSE 3.0
and have it to call a webservice that has been secured with WSE 2.0?
... more >>
X509 WSE Certificate Tool
Posted by Tenalibabu at 11/11/2005 11:39:43 AM
I am using WSE 2.0 SP2 and I am running into some problems viewing certs with
the X509 Certificate Tool. For some reason, I cannot view certs in the Local
Machine\Other People store on certain machines. The Other People store does
not show up in the drop down list. It works on some machines... more >>
|