all groups > dotnet web services enhancements > june 2005
Filter by week: 1 2 3 4 5
Help Urgent, How to get hashed pwd in web service when send in username token as SendHashed
Posted by Prajakta J. at 6/30/2005 11:26:23 PM
Hi,
I am sending username and pwd in usernametoken in SendHashed format,
While in web service, i am getting Nothing in that UsernameToken's
Password.
If send it as SendPlainText, then in my web service, i get a hashed pwd.
Why this is So?
How to get Hashed pwd stored in UsernamToke... more >>
Installing X509Certificate to the cert store programatically
Posted by JohnnySparkles at 6/30/2005 6:14:01 PM
Hi Everyone,
I'm having a bit of difficulty installing an X509Certificate which I have
created from the Active Directory "userCertificate" property of a user in my
Active Directory.
Here's what I'm trying to do, assume the X509Certificate was created from
the byte[] retrieved from the Ac... more >>
WSE 2.0 Example not compiling for KeyAlgorithm
Posted by nsyforce NO[at]SPAM aol.com at 6/30/2005 2:02:20 PM
I'm trying to experiment with a Custom Security Token. I'm going
through an article that comes with WSE 2.0 entitled "How to: Create a
Class Representing a Custom XML Security Token". In the example, they
give the following constructor:
Public Sub New(ByVal serviceToken As SecurityToken)
... more >>
How to get a WSDL from a given URI
Posted by iffi at 6/30/2005 9:37:09 AM
I am writing a server application using SOAP over TCP (soap.tcp). I want to
generate a WSDL file from this uri "soap.tcp://localhost:8080/stockservice".
All I have heard is that its not possible to add a web referene as it happens
to generate proxy class "If the SoapService endpoint is bound t... more >>
How to get WSDL from a given URI
Posted by iffi at 6/30/2005 12:00:00 AM
I am writing a server application using SOAP over TCP (soap.tcp). I want to
generate a WSDL file from this uri "soap.tcp://localhost:8080/stockservice".
All I have heard is that its not possible to add a web referene as it
happens to generate proxy class for a http request ."If the SoapService... more >>
Newbie to WSE 2.0
Posted by Jellybean at 6/28/2005 7:34:06 PM
Hi,
I have just downloaded WSE 2.0 and trying out the authentication feature. I
have a client application on one machine talking to a web service on another
machine. My problem was i keep getting time stamp problem. Yes, the time on
both machines are not synched up.
But does anyone kno... more >>
WS-Coordination in WSE 3.0 or Indigo
Posted by Santos Ray Victorero, II at 6/28/2005 10:53:06 AM
I read someplace that WSE 3.0 will be compatible with Indigo.
Will WSE 3.0 support WS-Coordination (at least WS-AtomicTransactions )?
Santos
... more >>
Streaming Large Documents using WSE 2.0 SP2
Posted by Michael Schaefer at 6/28/2005 8:13:20 AM
Hello,
I am running into the famous 4MB file restriction on a Web Service that I've
built using DotNET and WSE 2.0. I've read all the documentation on the issue.
I'm aware that I must modify the following config files to bump the file size
restriction up.
1. Machine.config on server
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
xcopy deployment
Posted by andyks at 6/26/2005 12:05:21 AM
are there any issues with xcopy deployment of WSE 2/3 ?
the docs appear to state that the only supported method of deployment is =
by running the supplied msi. is this correct? if it is, is this for =
technical reasons?
andy... more >>
Cannot add WS with both user/password/domain and a certificate (C#, WSE 2.0sp3, VS2003)
Posted by Niklas E at 6/26/2005 12:00:00 AM
When I try to add a web reference to a secure WS, which has both
user/password/domain authentication and a certificate authentication it does
not work. I am prompted for the password again and again and again. I know I
have supplied the correct password and if I press cancel, the WS appears
... more >>
WSE 3.0 Help Files
Posted by Marc Boissonneault at 6/24/2005 7:12:07 PM
I've installed the WSE 3.0 June CTP, June but I cannot access the help files. How do you view the WSE help from within VS 2005?
From http://www.developmentnow.com/g/28_0_0_0_0_0/dotnet-framework-webservices-enhancements.htm
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com... more >>
Using kerberosSecurity Throws Security Exception
Posted by J. Ambrose Little at 6/24/2005 6:53:05 AM
I've tried to implement the kerberosSecurity turnkey scenario on my apps, and
I'm getting the following exception when I try to set the policy.
Description: The application attempted to perform an operation not allowed
by the security policy. To grant this application the required permission ... more >>
Best Practices for WSE
Posted by J. Ambrose Little [MVP] at 6/23/2005 6:01:04 AM
I'm trying to develop a proof of concept for my company using WSE. We
actually have a relatively simple goal. We have a web application that uses
integrated authentication, and we'd like to flow the identity of the user to
an internal Web service. I was thinking that just stuffing that into... more >>
use the domain name instead of an IP address in the WSDL
Posted by alex bean at 6/22/2005 2:23:01 PM
How do I get IIS to use the domain name instead of an IP address in the WSDL
for the soap address location?
[wsdl:port name="Ws" binding="tns:Ws"]
[soap:address location="http://192.168.0.11/Ws/Ws.asmx"/]
[/wsdl:port]
(I replaced the angle brackets with [] becuase the angles never seem t... more >>
Secure Conversation doesn't work with second web service
Posted by Cormac at 6/21/2005 1:36:10 AM
Hi everyone
I have a solution based on Secure Conversation using a Security Context
Token Service (which is just a web service) that gives out SCT's, a client
program gets the issued SCT. But the problem I have is can this client then
hold Secure Conversations with one or a number of other ... more >>
Private key not available for X.509 certificate under W2000
Posted by Diego Barros at 6/21/2005 12:00:00 AM
Hi all,
I am having difficulty running a WSE 2.0 enabled Web Service under Windows
2000. I can run the same web service using X.509 certificates for
authentication and encryption when the web service is on a Windows 2003
Server (Enterprise Edition) and the caller is on my Windows 2000 machi... more >>
Trouble with X509 authentication
Posted by Eric at 6/20/2005 11:33:45 AM
---
Sorry for the cross-post in ...aspnet.webservices, but just found this
group and it seems more appropriate
---
Hi all,
I'm trying to get the hang of WSE2, and am running into a problem. I
wrote a simple web service, and a simple client that calls that web
service. If I do not have... more >>
Mutable Security Token exception
Posted by Eric at 6/19/2005 9:18:28 PM
The big picture: I want to use WS-Trust with a Security token service that
issues a custom Security Token that I later will be sending to other web
services.
I've been using the code in CustomXmlSecTokenCode sample that comes with WSE
2 as my starting point.
I made the following changes:
... more >>
InitializeSecurtiyContext call failed
Posted by BenW at 6/19/2005 7:51:02 AM
What would cause the following error message?
InitializeSecurityContext failed with the following error message:
A specified logon session does not exist. It may have already terminated.
Steps taken:
1. Created the policy file for a client (Kerberos)
2. Added the Policy attribute to the c... more >>
soap.tcp kerberos policy example
Posted by BenW at 6/19/2005 5:29:01 AM
Does anyone know of a Keberos policy example for soap.tcp?... more >>
Help files WSE 3 CTP
Posted by BenW at 6/19/2005 5:25:01 AM
Are the files which shipped uncompiled help files? Can't access the
documentaion. When will it be on MSDN?... more >>
Thowing exception
Posted by BenW at 6/17/2005 10:51:06 AM
Quickly knocked up a sample cleint and service app running over tcp using the
WSE 3.0 CTP. Used the WSEWSDL2 to generate the proxy. However could not get
an exception to be returned if thrown in the service. Very simple test
SoapClient to Soap Service call. Shouldn't this work....?... more >>
WSE 3.0 Policy and Encrypting Custom Headers (XML Encryption Spec)
Posted by Todd Clemetson at 6/17/2005 9:32:05 AM
I am curious if WSE 3.0 policy or any other features of WSE 3.0 make it
easier to encrypt custom soap headers to conform to the Xml Encryption Spec.
I am currently using WSE 2.0 and see no other solution other than to write my
own routines to encrypt custom soap header items (e.g SamlToken, c... more >>
MTOM sample in TCP only
Posted by William Stacey [MVP] at 6/16/2005 11:00:34 PM
Could someone (i.e. MS) wipe up the MTOM sample hosting as EXE using TCP
only. All samples should have TCP and IIS versions IMHO. TIA
--
William Stacey [MVP]
... more >>
ResponseSoapContext
Posted by Ero at 6/15/2005 11:35:27 AM
Hello,
I have a simple webmethod to send Dime attachments using WSE 2 :
[WebMethod]
public void CreateDimedImage()
{
SoapContext respContext = ResponseSoapContext.Current; // the problem is
here. I always have ResponseSoapContext.Current = null.
DimeAttachment dimeAttach = new Di... more >>
Detecting if a webmethod response is returned?
Posted by Qpeg at 6/15/2005 7:16:15 AM
Not a good description I know, but take the scenario where a client calls a
web method on my web service, and the client disapears (disconnects, is shut
down etc) before the method has time to get to the return-statement and
return an answer - does the webservice raise any exception or similai... more >>
WSE 3.0 and SecureConversation
Posted by Youenn Trebossen at 6/14/2005 6:07:11 PM
Hi,
I'm currently trying to enable WS-SecureConversation as mentionned in
the WSE 3.0 Security Hands On Lab. I changed the
establishSecurityContext attribute to "true" as mentionned. I can see in
the traces the first call to request a security token, but each
subsequent request makes also... more >>
WSE 3.0 Passing UsernameToken between services
Posted by Jake Pugois at 6/14/2005 5:07:38 PM
I have a web service (let's call B) that consumes another web service (A).
Web service A requires a UsernameToken . Now, there is a winforms client (C)
that consumes web service B. How do I pass the UsernameToken from C to A
through B using WSE 3.0?
... more >>
WSE464: No policy could be found for this message.
Posted by Julie Lerman at 6/14/2005 4:33:24 PM
We had a strange thing occur that I cannot duplicate and therefore debug and
fix for next time.
This is an app and web service that have been working together with WSE2 for
many many months. Last night I was told that on one particular function in
teh application, they were getting the above ... more >>
WSE .net client and apache axis server
Posted by Cindy Lee at 6/14/2005 3:25:54 PM
I have an apache axis server, and want to use a username/password feature
with a .net c# client.
Right now I set the usernametoken with wse 2.0.
Then I have to pull it out of the header in my java application.
Apache doesn't verify it.
Anyone know the best way to pass username and passwords... more >>
WSE3 Transport Independence On Consumer-Side
Posted by Mork at 6/14/2005 9:45:20 AM
It appears in WSE3 that you can take your ASMX Web service
(System.Web.Services.WebService subclass) and host it outside of IIS
and call it over TCP/IP. To achieve transport independence on the
consumer-side, however, you're still going to need a class deriving
from SoapClient, right? (since Web... more >>
WSE 3.0 and Policy config schema?
Posted by Niels Flensted-Jensen at 6/14/2005 3:32:01 AM
Taking a first look at WSE 3.0 I've noticed the changed format of the policy
file. Obviously simpler than the old, but how will I deliver my policy to
other parties (not necessarily Microsoft shops) who need to configure a
client to talk to me? It seemed the old format was based on WS-Policy... more >>
Turnkey Security Scenarios
Posted by Martin Kulov at 6/14/2005 12:00:00 AM
From WSE3.0 CTP Release Notes:
"The introduction of Turnkey Security Scenarios that provide high level
security building blocks that enable you to secure messaging patterns (such
as request/response) rather than having to consider how to secure the
request and response independently. These ... more >>
WSE 3.0 Examples
Posted by Tim Haynes at 6/13/2005 12:00:00 AM
Can nayone point me to any WSE 3.0 examples (other than the two on MSDN).
The net looks a bit bare of articles and examples so far.
TIA
Tim
... more >>
Kerberos problem
Posted by richlm at 6/13/2005 12:00:00 AM
I have a windows service running on a W2K3 server as a domain account.
When it tries to access a web service (on another W2K3) I get the error
below.
The Kerberos ticket could not be retrieved. The RetrieveKerbTicket call
failed with the following message: A device attached to the system is ... more >>
WSE and SSL
Posted by RG at 6/10/2005 6:58:02 AM
I have created a Web Service (using WSE 2.0, SP3) that has a method
ProcessRequest exposed. A client application calls the webservice using the
following code.
========================================
Dim loWebService As New MyWebServiceWse
loWebService.Url = "http://www.testwebservice.co... more >>
validating security token when only username is specified
Posted by MAHESH MANDHARE at 6/9/2005 10:24:02 PM
Hi,
I am using Custom UsernameTokenManager class in my project
i have overridden authenticatetoken method in username tokenmanager class
and configured this custom tokenmanager in web.config
but when i do not send password in username token. it doesn't call
authenticate method.so i need to t... more >>
filters in WSE3.0
Posted by serzsa at 6/8/2005 6:02:15 PM
My current WSE2.0 solution uses custom filters. Downloaded WSE3.0, changed
config section from microsoft.web.services2 to 3. Now I get an error loading
the config and apparently it's related to <filters> section (if I comment it
out the error goes away). The error is: "WSE032: There was an err... more >>
writing to the event log
Posted by alex bean at 6/8/2005 3:21:07 PM
Any idea how to write to the evenlog from a webmethod?
I've tried this but nothing shows up in the event log:
.. . .
using System.Diagnostics;
.. . .
catch(Exception e)
{
EventLog log = new EventLog();
log.Source = "MyWebService"; //this_namesapce;
log.WriteEntry(e.Message,Event... more >>
FailedCheck, SecurityFault, signature or decryption was invalid
Posted by Lucy at 6/8/2005 11:00:01 AM
Hello,
I'm kind of new to WSE 2.0 (sp3) so not sure how to solve this problem.
Running Win2K3 with SP1 and trying to use Kerberos signature only, no
encryption yet. My test helloworld program gives me an error, so I figured I
should try to use the examples provided.
I tried the Kerberos p... more >>
deserializing XML in a webservice client
Posted by alex bean at 6/8/2005 10:06:05 AM
From my web service client I would like to change the default way some xml is
being deserialized. WSDL.exe creates a client that deserializes this xml as
an array.
The xml node in the message looks like this:
<IDs>
<id>xxx</id>
<id>yyy</id>
</IDs>
I would like to have the entire ... more >>
WSE 3.0 CTP No Configuration Tool
Posted by Daniel Danilin at 6/7/2005 12:00:00 AM
I have just installed WSE 3.0 CTP (Custom installation with all selected). I
can't find WSE Config Tool in VS 2005 Beta2 and VS 2003. Is it known issue
or a bug?
P.S. I have German Windows version.
... more >>
WSE 3.0 CTP Release
Posted by Sidd at 6/5/2005 12:32:10 PM
Hi,
I just wanted to say that the WSE 3.0 Community Tech Preview is
available for download. Please visit:
http://msdn.microsoft.com/webservices/building/wse/default.aspx
Try it out, there are great new features in WSE 3.0, so we're eager to
receive all of your feedback.
Tha... more >>
Problem using WSE 2.0 with ASP.NET 2.0
Posted by Bryan at 6/3/2005 9:57:24 AM
I’m trying to use Web Services Enhancements 2.0 SP3 with .NET 2.0 in order to
digitally sign SOAP messages. The problem I’m having is on the server, where
I am trying to verify the signature of the messages. In .NET 1.1, in order
to do this, we had to add this following to the web servic... more >>
SOAPException not marked as serializable?
Posted by Niels Flensted-Jensen at 6/1/2005 6:55:01 AM
In an installation of our WSE 2.0 SP3 based web services we get an error
which includes the dump below. Any ideas as to what might be wrong?
Niels
Server was unable to process request. --> The type
System.Web.Services.Protocols.SoapException in Assembly System.Web,
Version=1.05000,0, .... more >>
WS Security issues
Posted by Henrik Skak Pedersen at 6/1/2005 12:00:00 AM
Hello,
I am working on a product when we are shipping a web service and a windows
client to several end-customers. The web service should be able to run
either on the inside or on the outside of their firewall. The same CD are
being sent to all customers, so it is not possible to modify any... more >>
|