all groups > dotnet web services enhancements > august 2004
Filter by week: 1 2 3 4 5
WSDL Username Token Signature & Encryption?
Posted by Ben Bloom at 8/31/2004 3:04:51 PM
My service requires a Username token. It also requires a
MessageSignature and EncryptedData (using said token.)
Is there any way to specify what is expected in my WSDL document? If
not, how will the service consumer know what token(s) are required?
Thanks,
-Ben
--
to reply, remove .s.... more >>
Problem when switching from SoapClient to WebServicesClientProtocol
Posted by Wil Rodriguez at 8/30/2004 5:46:17 PM
I have a working C# class library that acts as a soap client. It was
implemented by extending the SoapClient object which gave me full control
over the formatting of the soap body:
public class InventoryProxy : SoapClient
{ ...working code goes here...}
The vendor providing the web ... more >>
COM objects calling WSE web services
Posted by Ben Bloom at 8/27/2004 10:57:58 AM
Any problems writing COM objects that call WSE2 enabled web services?
Any recommended resources?
Thanks.
-Ben
--
to reply, remove .s.p.a.m. from email... more >>
Microsoft.Web.Services2.xml
Posted by Daniel Danilin at 8/25/2004 5:46:12 PM
Hi, is there Microsoft.Web.Services2.xml help file?
... more >>
WSE 2 and impersonation
Posted by Michael Riggio at 8/25/2004 4:32:22 PM
I have a WSE 2 server and an older .Net application that I extended that now
acts as a WSE 2 client. Part of the original functionality of the client
was that it was available to COM callers. I now want the client to
impersonate the COM caller and send some soap messages to my WSE 2 server.
... more >>
Interop with RSA Secure-WS product
Posted by Andreas Mertens at 8/24/2004 11:51:03 AM
I am trying to get a very simple "Hello World" type web service to work =
with a client that uses the RSA WS-Secure SDK to implement the =
WS-Security portion of the message. I am signing and encrypting with =
X509v3 certificates, which I have tested with a regular .Net web service =
client app... more >>
How to secure specific web service from client side (WSE 2.0 SP1)
Posted by Nikhil Ukidwe at 8/23/2004 7:00:25 PM
I have a client talking with three different web services. I want to secure
the communication for only one webservice. Since the WSE tool doesn't allow
me to mention endpoint uri at client side, I have manually changed the
policyCache.config file from:
<defaultEndpoint>
<defaultOperatio... more >>
Proxy authentication failure
Posted by John at 8/23/2004 6:15:41 PM
Hi
I am trying to access a web service from a desktop app which is running
behind an ISA Server (Windows 2003 network). The desktop app fails with the
message 'The request failed with HTTP status 470: Proxy authentication
required (The ISA Server requires authorization to fulfil the request.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
WSE 2.0 and structured Exceptionhandling
Posted by Henning Krause at 8/20/2004 9:38:33 AM
Hello,
I've built a soap.tcp based webservice using WSE 2.0, which runs quite
smoothly.
When I throw an exception on the server side, the exception in propagated to
the client as SoapException.
If I turn "detailedErrors" on, I get the message of the original exception
somewhere in the me... more >>
merge module for wse?
Posted by EP at 8/20/2004 7:31:14 AM
Does anyone know of a merge module available for WSE?
... more >>
Explaination of SecurityContextToken
Posted by WSE_Developer at 8/19/2004 3:03:02 PM
I really need some help on this, folks. I'm having trouble wrapping my head
around an SCT. I'm attempting to create a simple example of using Username
Tokens and SCT's without an STS. I am verifying the username token through
the UsernameToken manager on the first call to the server, and wa... more >>
WSE 2.0 Policy is tied to specfic endpoint
Posted by Pranav at 8/18/2004 11:21:02 PM
Policies seem to be tied to either one endpoint
("soap.tcp://machine:6000/Service") or to the <default endpoint> (all
endpoints)
1. My problem is that i have a dynamic endpoint:
I allow the user to enter machine name and the port number. Then i create
the endpoint from this info.
At this ... more >>
Interopability: WSE 1 to WSE 2 to WSE 3 to Indigo
Posted by Michael Riggio at 8/18/2004 4:24:55 PM
Please correct me if I'm wrong in any of my assumptions below:
According to the Microsoft site, WSE 1 and WSE 2 can't talk to each other.
It seems that this is because WSE 1 uses WS-Routing whereas WSE 2 uses
WS-Addressing.
In terms of interopability between WSE in general and Indigo, Don B... more >>
howto create certificate like Client Private.pfx, Server Private.pfx, Server Public.cer
Posted by john doe at 8/18/2004 10:46:08 AM
Hello. im trying out the samples in WSe 2.0, but i havent managed to create
and use custom certificates.
the CS sample SecureConversation is working fine with the Sample Test
Certificates (Client Private.pfx, Server Private.pfx, Server Public.cer).
I copied SecureConversation to a new project a... more >>
Roles from Policy
Posted by Ilvy at 8/18/2004 1:07:02 AM
Is there some way that I can retrieve the roles of my webservice in my custom
UsernameTokenManager from policy?
I defined all the roles in policy and I can retrieve all the roles that the
person is in who is calling the webservice. Now I'd like to know which roles
you have to be in to access ... more >>
Error in XML Document
Posted by John at 8/18/2004 12:43:19 AM
Hi
A web method which returns a dataset works fine when the web service it
belongs to is running locally. When run on a remote server I get the
following error;
Unhandled Exception: System.InvalidOperationException: There is an error in
XML document (1, 142804). ---> System.Xml.XmlException... more >>
Webservice and international chars
Posted by nicolas.bus NO[at]SPAM cstb.fr at 8/18/2004 12:39:56 AM
Hello!
I call, using C#, a webservice (UTF-8 encoded) that return a list of
products. I get the requested objets. So far so good. But, in those
objects in all String attributes I get ?? instead of chars with
accents. I tried to call the same webservice in Java and Delphi and I
get the right c... more >>
challenge/respons in WSE 2.0 (WS-Trust)
Posted by hittapeter NO[at]SPAM hotmail.com at 8/18/2004 12:36:23 AM
WS-Trust defines a syntax for performing challenges.
An example:
Client sends <RequestSecurityToken>
Server sends <SignChallenge>
Client sends <SignChallengeRespons>
Server sends <RequestSecurityTokenRespons>
My question is if WSE 2.0 has an implementation for the
challenge/respons mechanis... more >>
Signing the part of the message
Posted by Alex Shirshov at 8/17/2004 7:58:33 PM
Hello, All!
I have a problem with signing the part of the soap body via wse 2.0. Here is
the code
[code]
Sub Main()
Dim g As New localhost.gWse()
Dim reqCtx As SoapContext = g.RequestSoapContext
Dim tok As New Tokens.UsernameToken(Environment.UserDomainName & "... more >>
WSE Support OSs - W2k Datacenter
Posted by Phil Wilson at 8/17/2004 2:06:29 PM
I notice that Windows 2000 Datacenter Server isn't mentioned in the list of
supported operating systems.
http://www.microsoft.com/downloads/details.aspx?familyid=D3C8F18B-7BBF-489D-90E1-E8D4147205B8&displaylang=en
Is this just a documentation omission, or is it true that Windows 2000
Datacen... more >>
Setting To Header & TCPMon
Posted by steve at 8/17/2004 6:03:02 AM
I've read a lot of postings in here about how you have to set the <To>
attribute to the url when using a tool such as TCPMon. Where/How exactly is
this done? Am I supposed to do it on the client side, server side? Am I
supposed to do this through the <Actor> attribute? Can someone give a n... more >>
wsa for Intermediaries
Posted by Fraser at 8/17/2004 5:51:03 AM
If a message is received by an intermediary node (say a web services portal)
and that message is forwarded to the utlimate receiver by the intermediary,
should a new set of WS-Addressing headers be used for the conversation
between the intermediary and utlimate receiver (i.e. particularly wsa:... more >>
Error calling web service
Posted by John at 8/17/2004 1:20:17 AM
Hi
My first web service seems to be OK as I can put its url in explorer and can
use the invoke button to view the returned data as xml. The problem comes
when I call it form a client app using;
Dim ws As New localhost.StaffWS
Dim ds = ws.GetStaffDiary
When the second line above is execut... more >>
Webservice Namespace
Posted by John at 8/15/2004 11:23:07 AM
Hi
My web service resides at
http://www.mydomain.com/staff/staffws/StaffWS.asmx. The web method itself is
called GetStaffDiary(). What is the namespace I should use at the top of the
web service?
Thanks
Regards
... more >>
Indigo and WSE (specifically WSE 2.0)
Posted by Michael Riggio at 8/13/2004 1:52:19 PM
What's the deal with Indigo and WSE? Will Indigo be able to talk to our WSE
programs (specifically our WSE 2.0 programs). Does anyone have details on
this?
Thanks,
-Mike
... more >>
EncryptedKey in WSE 2.0 -> "Referenced security token could not be retrieved"
Posted by Franco via .NET 247 at 8/11/2004 1:54:33 PM
I wrote a .net client using WSE 2.0 to talk to a web service.
The client signs the request.
The response signs the response.
So far so good.
However, i extended the service to encrypt the response. The symmetric key used to encrypt the reponse is itself encrypted using the client's x509 cert e... more >>
WSE 2.0 vs Remoting !?!
Posted by Pitone at 8/10/2004 11:19:01 PM
I'm exploring WSE 2.0 and .NET Remoting at the same time (but for different
reasons!)... I read that with WSE 2.0 I can create web services to support
directly a communication over TCP instead of using HTTP so it seems that now
I can build a windows service to expose "web services" over TCP using... more >>
WS-Security with soap.tcp
Posted by Michael Riggio at 8/10/2004 7:09:24 PM
Hi,
I'm just getting started with all this wse 2.0 stuff so hopefully I'm
not too lost with terminology. First, I created a console app derived from
SoapServer that has a soap.tcp endpoint. I then created a second console
app derived from SoapClient that will connect to the SoapServer. ... more >>
PDA Support
Posted by Gravy at 8/10/2004 3:40:49 PM
Really quick question. Is WSE 2.0 supported on PDA (pocket pc) if not are
there plans for this? I mean a PDA as the client, not the server!!
thanks
Gravy
... more >>
WSE Settings 2.0... does not work
Posted by David B Stinson at 8/10/2004 9:51:03 AM
I have installed Visual Studio .NET 2003 and WSE 2.0, but when I right click
my Project and then click on the WSE Settings 2.0... button, nothings happens.
The project is a console application (.NET) in Visual C++ .NET
I am trying to use it with a Web Reference to a .asmx web service.
Any help ... more >>
Error reading web service
Posted by John at 8/10/2004 3:53:38 AM
Hi
I am getting the following error when getting a dataset from a web method;
Unhandled Exception: System.InvalidOperationException: There is an error in
XML document (1, 138437). ---> System.IO.IOException: Unable to read data
from the transport connection.
Any idea what it means and how... more >>
System.Net.WebException making web service calls about 10% of the time.
Posted by Chris Langston at 8/9/2004 2:34:51 PM
We are seeing a very frustrating intermittent problem. We are making
Synchronious web service method calls from a .NET windows Service using the
following syntax
WebRequest.getResponse call it occasionally fails with the following error:
1) Exception Information
************************... more >>
header <To>
Posted by Jan Hruz at 8/9/2004 11:17:31 AM
Hello,
I tried to use TCPMonitor which redirects all request from port 8080 to 80.
I changed URL to
http://localhost:8080/UsernameSignCodeService/UsernameSigningService.asmx
in UsernameToken sample.
WebService raised :
Destination Unreachable ---> System.Exception: WSE816: The <To> header mu... more >>
calling a webservice from an aspx page
Posted by Oliver at 8/9/2004 1:23:02 AM
Hi,
I created a simple webservice. Now I would like to call it from an aspx page.
I tried the following code, but I keep getting a remote server error.
When I try to access the webservice directly
(http://localhost/webserviceTest/Service1.asmx/Hello), I also get an error:
Request format is ... more >>
WSE 2.0 sp1 SoapService method not getting called! HELP
Posted by cyberprunes at 8/8/2004 9:07:05 PM
I'm using SoapClient and SoapService classes.
It's a simple chat app. i enter text in a textbox and the soapclient
send it to the soapService using SendOneWay method.
The message is received by the SoapService. I turned on diagnostics
and I see the messages from the other machine in the Input... more >>
Null RequestSoapContext.Current in Soap Client problem
Posted by WSE_Developer at 8/6/2004 6:21:02 AM
Hello all,
I'm building a TCP web service using SoapClient/SoapService as my base
proxy and WS classes, and need to stuff in a Username token on the client
side. Problem is, the RequestSoapContext.Current object is null on the proxy
side. Am I doing something wrong here? What do i need ... more >>
why:Server unavailable, please try later
Posted by Steven joe via .NET 247 at 8/6/2004 1:40:12 AM
(Type your message here)
--------------------------------
From: Steven joe
Hi:
I got a problem with this same example,why the exception:"Server unavailable, please try later",what shall I do? Thanks.
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
... more >>
WSE2 Policy problem
Posted by Ben Bloom at 8/5/2004 10:32:47 AM
I tried to set up the Policy example from the Hands on Labs, and now I'm
trying to set up another policy, and I keep getting stuck when it's time
to select the X509 Certificate.
I get through setting up the uri, adding roles just fine, and when I
click "Select Certificate" nothing happens (... more >>
Deployment
Posted by Darren Mombourquette at 8/4/2004 8:02:44 PM
I've updated WSE to SP1 and noticed that you must use the msi
redistributable provided. The msi installs the Microsoft.WebServices2.dll
and a two publisher policies in the GAC.
My question is why is it required to install the msi, which effectively
kills my ability to use "xcopy" and "smart de... more >>
Http Webservice without Webserver
Posted by Henning Krause at 8/4/2004 5:50:28 PM
Hallo,
I've built a Windows-Service application and want to expose its
configuration interface via Webservices.
My question is: Is it possible to create a HTTP Webservice (not tcp!) with
WSE 2.0 SP1 that is hosted in a windows service?
Additional, it would be great, if a client could obta... more >>
Hashed passwords
Posted by Ben Bloom at 8/4/2004 11:28:39 AM
OK, so I'm sending hashed passwords back and forth and it's cool. I
want to store the hashed password in my database, for obvious security
reasons (well, obvious now that I've read about them!)
What's the best way to go about putting the hashed password in for an
account? I assume I shoul... more >>
Problem with wse-kerberos authentication
Posted by Roland Wolters at 8/3/2004 7:14:11 AM
Hi,
I am building an application dat uses a (wse)webservice in two different
scenario's: within a domein and outside a domein, somewhere over the
internet.
Requests to the webservice need to be authenticated.
My approach: try to get a kerberos-ticket:
private KerberosToken G... more >>
UniqueMethodName
Posted by Fraser at 8/3/2004 4:23:02 AM
This is the final optional parameter to a SoapMethodAttribute that sits on top of methods you might declare in a class derived [say] from SoapService :-
<SoapMethod(action as String,[SoapAction As String],[UniqueMethodName As String])> _
Public Function myMethod(ByVal reqEnv As SoapEnvelope) A... more >>
Custom UsernameTokenManager
Posted by Ben Bloom at 8/2/2004 2:15:19 PM
I'm trying to implement a custom username token manager, with little
success.
My service and client both have WSE2 enabled. This is an ASMX web
service. Authentication works without the custom token, sending password
in PlainText.
As soon as I change it to send a hashed password, and en... more >>
Can the WS 2.0 soap.tcp transport use the SoapPlainFormatter instead of the SoapDimeFormatter?
Posted by Michael Herman (Parallelspace) at 8/2/2004 11:18:44 AM
In http://www.codeproject.com/useritems/SoapMSMQ.asp, the author mentions
that the WSE2.0 soap.tcp transport uses the SoapDimeFormatter to format the
SOAP envelope for physical transport the wire.
We'd like to test a simple UNIX/C-based SOAP client application that would
talk to our Windows WS... more >>
SoapReceiver can not receive the incoming message
Posted by yuwenwu NO[at]SPAM yahoo.com at 8/2/2004 11:00:56 AM
Hi,
I am implementing a simple application using WSE 2.0 to communicate
with another gSoap-implemented web service for inter-op test. My app
uses a SoapReceiver to listen for incoming SOAP Messages from the web
service. The code is like:
...
EventReceiver receiver = new EventReceiver()... more >>
WSE 2.0 SP1 SoapClient/Service and NAT
Posted by Christopher Crooker at 8/1/2004 4:21:01 PM
I have been working with WSE 2.0 for a few weeks now and it works great when I use endpoints that are completely local (soap.tcp://localhost/...). However, in my network environment I am behind a NAT router and I can't figure out how to get the client and service to communicate because WSE seems to... more >>
|