all groups > dotnet web services enhancements > december 2004
Filter by week: 1 2 3 4 5
UsernameTokenManager and a hashed password database
Posted by SA at 12/30/2004 2:30:51 PM
Hi all,
Forgive me if this question has been asked before ;o)
Does anyone know of a way to get a custom UsernameTokenManager (receiving
hashed passwords) to work if the password database itself is hashed?
My password database is hashed with SHA-1 and the passwords are combined
with a salt... more >>
WSE Certificates, as in HOL
Posted by SQLAgentman at 12/29/2004 9:01:03 AM
Hello,
How can I get similar Certificates, like the ones in the HOL ( Please
see list below).
But I like to get sample Certificates from a CA, because I was getting
some chaining/verification/resolution issues.
( to eliminate WSE405 I had to kill "Verify Trust" ) so I am hoping
that Certific... more >>
What to look For in OutputTrace.webinfo etc..
Posted by SQLAgentman at 12/28/2004 11:01:37 AM
Hi everyone,
Is there a list of things to look for in the OutputTrace.webinfo or the
Message Trace and Policy Trace Output and input files.
I just need to put my head around this.
I need some paper or article that explains what to look for and how to
campare the files on the client side a... more >>
UsernameTokenManager, HOL, Secure Conversation
Posted by SQLAgentman at 12/28/2004 10:21:20 AM
Hello,
After going through the HOL ( Hands On Lab ) Like
Exercise A
Task 7 - Implementing a UsernameTokenManager / Works
Exercise C - Automating Security with Policies / Works
Exercise D - Optimizing Security with Secure Conversation /Works
Everything is fine until I add my own UsernameT... more >>
Empty, OutputTrace.webinfo and InputTrace.webinfo
Posted by SQLAgentman at 12/27/2004 5:50:52 PM
Hi Everyone,
Why would I end up with empty copies of these files:
OutputTrace.webinfo and InputTrace.webinfo
when tracing is enabled?
The files are being created, but none of my messages are being traced.
was working yesterday but not today and nothing has been changed or
modified.
Thanks... more >>
WSE Messaging API without IIS
Posted by Richard A. Lowe at 12/27/2004 2:50:16 PM
I have a Windows Service that needs to communicate with a
Windows GUI app on the same machine (and vice-versa).
Normally, I would use an Http channel in Remoting to
accomplish this. But I wondered if there is a WSE way to
accomplish this using the WSE 2.0 Messaging API.
Of course the ... more >>
WSE SP2 with framework 2
Posted by Dominick Baier at 12/23/2004 11:20:27 PM
inofficially, yes ;)
---
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
nntp://news.microsoft.com/microsoft.public.dotnet.framework.webservices.enhancements/<73215E51-FF3D-426A-A72B-579061DB9718@microsoft.com>
Bonjour,
est ce que WSE2 SP2 est compatible avec le... more >>
WSE SP2 with framework 2
Posted by Patrick Guerin at 12/23/2004 5:47:02 PM
Bonjour,
est ce que WSE2 SP2 est compatible avec le framework 2 (beta) ?
Merci
Patrick
Hi,
does the Sp2 is compatible with the Framework 2 ( VS2005) ?
thanks in advance
Patrick... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
serializing string property (which contains XML) to SOAP message..
Posted by Kirk Marple at 12/23/2004 2:01:02 AM
i have a C# class which has a string property, and i'm serializing this class
into a SOAP message.
the string property actually contains another object serialized to XML, and
i'm finding that this property in the SOAP body is getting HTML-encoded.
i.e. <Array><Item /></Array> is becoming... more >>
Help!- Socket error in Web Service when network is disabled.
Posted by Naresh at 12/22/2004 11:21:02 PM
All the components have been developed using .NET C#.
I have a web service installed on a windows 2003 server machine.
I have a client application running from 10 different machines and calling
that webservice.
On a couple of machine(Windows 2003) when the network is disabled, then when
cre... more >>
Performance problem running WSE2.0
Posted by Robbert van Geldrop via .NET 247 at 12/22/2004 3:57:32 PM
I have a problem running 2 webservices next to each other.
The first web service runs the technology preview version of WSE2.0
The second web service runs the WSE2.0 sp1.
Both WebServices authenticate SOAP-calls using a custom UsernameTokenManager
Somehow after a while all SOAP-calls that... more >>
Time Tolerance does not work 'backwards in time'
Posted by Robbert van Geldrop via .NET 247 at 12/22/2004 3:55:14 PM
Hello,
I have a web service that runs on WSE2.0 sp1 with the following relevant settings:
- Default ttl in seconds = -1
- Time tolerance in seconds = 43200
I am testing a client with WSE2.0 and I noticed that if I set:
- Time tolerance in seconds = 43200 by putting in app.config:
<co... more >>
Certificate Server
Posted by Tareq Muhammad at 12/22/2004 1:37:01 AM
Hi All,
Firstly, I used makecert to create certificate, it works, but when I wanted
to export it, I got message telling me that the certificate can't be
exported, when I go to the makecert help in vs.net I can't find an option for
it, I find anther makecert that take that option, but I don't ... more >>
using WSE 2 without WS-Security for X509 Signature validation
Posted by K. Mallory at 12/21/2004 4:35:02 PM
I am trying to create a Web Service to Consume a client app ( I know its
backwards). But they use a Pre WS-Security format for X509 digital
signatures. So far thier messages will not conform with WSE's policy
configurations for this messages configuration. Is there anyone that can
enlighten ... more >>
WSE - MakeCert
Posted by Kyle Swanton at 12/20/2004 9:47:09 PM
Hello all,
I've been having quite a number of issues trying to generate my own
certificates. I'm using Makecert v5.131.3617.0 to generate the
certificate.
Can someone give me a pointer to how I would create a certificate to
use to encrypt a Web Service conversation. (It works using the ... more >>
WSE 2.0 Policy Sample, Problem with Certificate
Posted by SQLAgentman at 12/20/2004 1:28:18 PM
Hello WSE Gods,
On one of my machines I am using the sample certificates that came with
WSE 2.0 Samples. However when I Install any of the three certificates
I get the following errors:
"Windows does not have enough information to verify this certificate"
"The issuer of this certificate ... more >>
WSE405: A satisfactory subset of policy assertions that could be enforced for the outgoing message could not be found.
Posted by SQLAgentman at 12/17/2004 10:52:09 AM
Hello,
I am trying to implement a Security Between my Web Site and my Web
Service using WSE2.0 using Policy.
I Followed the example in HOL-WSE02 and It works greate.
Now when I try to use the same exact Procedure/steps on my own web -
webservice I keep on getting the following error.
W... more >>
Web service is not over the Internet
Posted by ddt at 12/17/2004 6:55:05 AM
Hi,
I have a web service installed in server, it woks fine from interanet, but
can not access from internet, any idea?
Any respones wellcomed.
ddt... more >>
Problems with current context in web service
Posted by Greg Allen at 12/16/2004 10:07:50 AM
I posted this to microsoft.public.dotnet.framework.webservices, but have
not gotten answer. I just noticed this group and thought maybe my
question/problem belonged here.
So, here it is:
I'm still stuck here. But I wanted to remove my app from the equation, so
here is what I did:
1. Cr... more >>
WSE and Visual Studio 2005
Posted by Wang Jie at 12/16/2004 2:19:01 AM
It seems that WSE currently doesn't support .NET 2.0 & VS 2005. Anybody know
will it be in the future? When? Is there any way to use WSE 2 in VS 2005 Beta
1?
Thanks. :)... more >>
HttpModule not able to access SoapEnvelope
Posted by SA at 12/15/2004 11:00:02 AM
Hi all,
I want to ensure that my wSE 2.0 web service is being called with at least
one security token.
I have a function that validates that using the
RequestContext.Security.Tokens collection.
Instead of calling that function from every Soap Method, I want to put this
in an HttpModule. ... more >>
Authorization during WS-SecureConversation secured calls
Posted by Tim Tyhurst at 12/15/2004 9:25:01 AM
What are the options/best practices for authorizing individual Web Service
methods that are being made under the protection of WS-SecureConversation?
The pattern I have in mind is:
1) The web service client is initially authenticated using a custom
username/password (stored in a backend da... more >>
badly formed XML when calling a web service
Posted by Jerome Cohen at 12/14/2004 9:44:16 PM
AI am trying to call a third-party web service. this service expects an XML
fragment that contains the request plus other parameter. adding the web
reference created the syntax below(reference.vb).
I changed the data type for the structure that contains the XML data from
the default "String" t... more >>
Exception Management wse2
Posted by Rob Thomson at 12/13/2004 7:46:34 PM
Environment : WSE2, smart client, c#
Hi
I want to get a global error handler within my webservices. So I have
created a soap extension that both client and server use inheriting from
WSE2.WebServiceExtension and look for the message.exception in the after
deserialize event . On the client ... more >>
Regarding Webservices SSL
Posted by Pasho at 12/13/2004 3:35:03 AM
I have webservice. The username and password is authenticated through
Username token. To manage secure transmit between client and server I want to
use SSL. The problem here is Iam creating certficates using Makecert.exe
since it is at development stage.
1. Can client and Server certificate... more >>
WSE2.0 SP2 bug in the SoapReceivers.Receiver(EndpointReference)
Posted by Roman Kiss [MVP] at 12/12/2004 8:56:39 PM
SP2 changed the key for the _receivers hashtable and the method Receiver has
been forgot to update it.
The result is that there is no "direct way" to get a registered object by
the EndpoindReference from the Receivers.
Roman
... more >>
X.509 All in One
Posted by Tareq Muhammad at 12/11/2004 6:13:01 AM
X.509 All in One
Hi All,
I want to konw everything about X.509
Here is My Questions:
1. How to Pronouncate X.509?
2. What is X.509?
3. How to get X.509 Cert with detailed steps?
4. What is .Cer and PFX? how to get each one of them?
5. When I issue a X.509 does the issuer give me the ... more >>
Encryption in WS-Policy and WSE2.0
Posted by Hernan de Lahitte at 12/10/2004 5:29:21 PM
Hi Guys,
Does anybody knows how to encrypt applying WS-Policy with WSE2.0 (SP2)
something other than wsp:Body() and wse:UsernameToken() ? Are filters the
way to go or there is any other trick to use ?
If you don´t know what I mean, just try to encrypt something apart from body
and Userna... more >>
problems encrypting Soap message using X.509 cert generated from makecert
Posted by eshayne NO[at]SPAM bigfoot.com at 12/10/2004 1:23:27 PM
I am trying to create a simple "hello world" web service and client
that uses X.509 to encrypt the message, all in C# using Visual Studio
2003 and WSE 2.0 SP1.
I have tried using both the sample certificate supplied with WSE 2.0 as
well as generating my own certificate using makecert.
When ... more >>
Dynamic endpointreference with wsewsdl2
Posted by Tonie at 12/10/2004 6:47:03 AM
Hi,
I am using the wsewsdl2 tool to create my client-side proxies for accessing
web services.
The web services are deployed into 4 environments (dev, test, staging, prod).
The proxy generated by the wsewsdl2 tool does not provide a mechanism to
override the endpoint of where the web servi... more >>
Problem with generated proxy
Posted by Martin Mueller at 12/9/2004 8:37:09 AM
Hello
When I add a Web Reference to my Client Project, using a vsdisco file, in
the generated reference.vb only for the first class is a xxxWSE proxy class
generated. For all other classes the WSE proxy is missing.
WSE is enabled for the client and the server project.
It's a bug?
tha... more >>
Re: How Secure Are Username Token Encrypted Messages
Posted by Dominick Baier at 12/8/2004 11:52:11 PM
i add my 2cents also -
this is not quite true -
do you know that you need a 20 character - arbitrary - upper/lowercase/digits/punctuation password to get 128 bits of entropy to use..? does your password policy enforce that?
in addition - the server must have acess to the clear text pwd t... more >>
"WSE101: An asynchronous operation raised an exception."
Posted by TV at 12/8/2004 10:07:59 AM
Hi,
Does anyone get the error above when using WSE2.0 soap client as below when
call SendRR(...) to send soap to a web service that is using SoapService in
WSE2.0. In debug mode on server (SoapService) I can receive the soap message
but when the soap return to client which is method SendRR(...)... more >>
How Secure Are Username Token Encrypted Messages
Posted by Josh Pollard at 12/8/2004 8:35:04 AM
How secure is it to encrypt the body of a message with a Username token? In
the HOL it says that it is not very secure. It doesn't say why though. It's
obviously not as secure as encrypting with a binary token, but I would like a
more in depth reason as to what it makes it not very secure.
... more >>
Problem with Policy Sample
Posted by Tareq Muhammad at 12/8/2004 12:59:04 AM
Hands-On Lab
Lab Manual
HOLDEVL34: WSE 2.0 Security and Policy
Hi all
I trid to run the sample [PolicyInvoiceAfter]
I installed the sample certificates, but I got the following error
---------------------------
Invoice Error
---------------------------
Microsoft.Web.Services2.Policy.Polic... more >>
missing MSDN article
Posted by Martin Kulov at 12/7/2004 5:12:29 PM
Hi guys,
I'm having troubles finding the article "Expanding the Communications Capabilities of Web Services with WS-Addressing" from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwse/html/soapmail.asp. It seems that is no longer available from the MSDN site. Does anybody know... more >>
Need for programmatic config:timeToleranceInSeconds, MaxRequestLen
Posted by drkraus at 12/7/2004 4:19:07 PM
In another thread I have documented my struggle and success at finding a way
to programmatically alter the read only property MaxRequestLengthInBytes
(Microsoft.Web.Services2.Configuration.WebServicesConfiguration.MessagingConfiguration.MaxRequestLengthInBytes)
using reflection to access a pri... more >>
Why or Why NOT use SecureConversation
Posted by MS News \(MS ILM\) at 12/7/2004 3:57:14 PM
Hello,
Please see Subject. Thank you.
... more >>
WSE2.0 SP2 Unknown Issue?
Posted by Hernan de Lahitte at 12/7/2004 10:53:09 AM
I have these policy endpoints defined:
<endpoint uri="http://localhost/bbb/a1/service.asmx">
... all endpint definition
</endpoint>
<endpoint uri="http://localhost/bbb/a2/service.asmx">
... all endpint definition
</endpoint>
When I run this under SP1, everything goes fine.
With S... more >>
WSE Security - Automating Security with Policies - (HOLDEVL34)
Posted by Harry Pfleger at 12/7/2004 8:54:01 AM
I have played with the Hands-On-Lab HOLDEVL34. It is very good and I learned
a lot!
In exercise C (Automating Security with Policies), policies are used to get
the sample working. The client sends a username token to the server, and the
server authenticates the token against the windows ide... more >>
WSE Security - Secure Conversation - (HOLDEVL34)
Posted by Harry Pfleger at 12/7/2004 8:45:50 AM
I have played with the Hands-On-Lab HOLDEVL34. It is very good and I learned
a lot!
One question I have is the following:
In example 3 (secure conversation), policies are used to get the sample
working. by doing this the server needs a x.509 certificate to get the
secure conversation.
... more >>
prevent concurrent access to my web service
Posted by Leo at 12/7/2004 3:51:03 AM
How do I prevent concurrent access to my web service. How to avoid it.
--
Leo... more >>
My application is slow - XMLSerializer?
Posted by Sezhman at 12/7/2004 3:09:03 AM
Dear All,
I have done a project and delivered successfully. My customer is reporting
that the application is very slow. I have used XMLSerializer extensively in
my C# code. Its because of this, the application is too slow. How to make it
fast??.
Thanks From,
--
Sezhman... more >>
Code Access Security
Posted by Sezhman at 12/7/2004 3:09:01 AM
Dear All,
I have heard about Code Access Security. Can anyone tell me how to go about
it.
Thanks From,
--
Sezhman... more >>
Encryption / Hashing etc.. Web Services
Posted by SQLAgentman at 12/6/2004 1:12:43 PM
Hello Group,
When Signing with a UsernameToken
or
When Encrypting with a UsernameToken
or
Securing with X.509 Certificates
What type of Algorithm is being used?? SH512, RijndaelManaged,Etc...
What algorithm is Encrypting, Decrypting, Hashing etc..
Thanks for all your help
Sql
... more >>
SoapEnvelope SetBodyObject() ?
Posted by MarkoH at 12/5/2004 10:09:32 PM
SoapEnveloper.SetBodyObject() allows to add only one object instance into
the body. Calling it twice with different instance it won't add another
instance into body. What if messages have multiple parts ?
Myself, for instance, read schema from WSDL, use xsd.exe tool to generate
classes file a... more >>
At least one timestamp expire.
Posted by syed javid at 12/5/2004 3:53:08 AM
Hi All,
I am having a WSE 2.0 webservice that authenticate X509 client and
client to send x509 token for authentication.
The x509 authentication work fine when it is used from intranet
but it fails when the client sends x509 token from internet.
i am using trusted x509 certificate
The fo... more >>
AuthenticateToken and AD
Posted by Rob Thomson at 12/4/2004 8:03:49 AM
Environment(W2k, WS2, .Net 1.1,c#)
Program(SmatClient, WebServices)
Hi
I am overriding the AuthenticateToken method to authenticate a user. All the
examples of this I have seen check the password against xml, databases etc.
I want to authenticate against AD. I have tried the Winapi LogonUser,... more >>
WSE2.0 SP2 final release
Posted by mfussell NO[at]SPAM online.microsoft.com at 12/3/2004 6:33:47 PM
------=_NextPart_0001_D1F452FB
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
We are pleased to announce the availability of WSE2.0 SP2 final release here
http://www.microsoft.com/downloads/details.aspx?FamilyId=FC5F06C5-821F-41D3-
A4FE-6C7B56423841&displaylang=en
And the WSE 2.... more >>
UserName token Access denied smart client
Posted by Rob Thomson at 12/2/2004 10:29:11 PM
This is a multi-part message in MIME format.
------=_NextPart_000_0016_01C4D8BE.58DB4F10
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi
Has anyone got any pointers to the following problem Im trying to use =
WSE to pass user credentials to a... more >>
|