all groups > dotnet web services enhancements > july 2004
Filter by week: 1 2 3 4 5
WSE 2.0 Error: WSE352: The size of the record
Posted by Alexander Ernst at 7/31/2004 8:06:34 PM
Hi,
I try to develop a webservice aplication which accepts a big file, processes
it and send back some files to the client.
Currently I use WSE 2.0 with Dime attachments. I first had some problems
with upload size restrictions, but than I found some solution for it in
web.config.
<microsof... more >>
WSE717 error message when trying the quickstart samples (C#)
Posted by Ari Glaizel at 7/31/2004 12:48:44 PM
Hello there,
I'm using WSE 2.0 SP1 and really am impressed with what I've read on it so
far.
Whenever I try to use any of the quickstart applications (at least the ones
that deal with privacy related communcation), I always seem to get the
following error:
" WSE717: The <RequestSecurityT... more >>
RequestSoapContext is always null
Posted by delphiconsultingguy NO[at]SPAM yahoo.com at 7/29/2004 12:36:35 PM
I can't seem to get anything but a null result for my
RequestSoapContext. I've seen this error mentioned a few times on the
newsgroups but for everyone else the answer seems to be the missing
info in the web.config file. Unfortunately, I have added the
appropriate info into the web.config file... more >>
Announcing WSE 2.0 SP1
Posted by John Justice [MSFT] at 7/28/2004 3:10:54 PM
The WSE team is pleased to announce the release of the Web Services
Enhancements 2.0 Service Pack 1 on MSDN Online. WSE 2.0 SP1 contains fixes
to scalability and functionality based on customer feedback.
Please see the product readme for the complete list of changes.
For more info... more >>
SoapEnvelope.SetBodyObject(object) and Serialization
Posted by smithfield_uk NO[at]SPAM 2-mail.com at 7/28/2004 2:49:34 AM
We currently have an issue with serializing some objects into the body
of a SoapEnvelope.
The scenario is that we wish to serialize a number of "Data Transfer
Object's" (Fowler, aka "Value Object" - Sun community). These objects
are designed to be read-only and hence are immutable. The object ... more >>
maxRequestLength for SoapService isn't functional
Posted by mattwareham NO[at]SPAM hotmail.com at 7/27/2004 2:16:42 PM
I absolutely can not get the maxRequestLength property to work in a
TCP web services console application. Regardless of the setting, the
maximum file size that can be transfered is 4096kb, which is the
default setting. Might anyone be able to shed some light as to why my
development workstatio... more >>
WSE574: The maxTokens configuration limit was exceeded?
Posted by schneider at 7/26/2004 2:24:53 PM
Anyone know whats causing this, and how to fix it?
Hey MS What good is an error code if you can't find out what it means or
how to deal with it?
Thanks,
Schneider
Microsoft.Web.Services2.Security.SecurityFault: The security token could
not be authenticated or authorized ---> System... more >>
WSE 2.0 Shared Secret
Posted by Neil Allen at 7/26/2004 11:23:32 AM
I have used WSE 1.0 with a shared-secret to encrypt my service.
Now I have upgraded to WSE 2.0 it's all gone to pot.
Does anyone have a code sample to do the shared-secret bits using custom
security tokens and custom security token managers?
- or a link to a tutorial -
Thanks,
Neil..
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
"The signature or decryption was invalid"
Posted by msajdera NO[at]SPAM ncen.com at 7/23/2004 2:34:59 PM
All -
We continue to have a problem with a simple signed response using WSE
2.0.
We keep getting the following error message:
"The signature or decryption was invalid"
Our client is .Net using WSE 2.0. The Service is a WebLogic web
service.
I'm using a Cert generated by our Cert Auth... more >>
WSE question
Posted by tangolp NO[at]SPAM yahoo.com at 7/23/2004 12:00:54 AM
I'm very new at this. I need help to understand why I receive this
error - System.Web.Services.Protocols.SoapHeaderException:
Microsoft.Web.Services2.Security.SecurityFault: The security token
could not be authenticated or authorized ---> System.Exception:
WSE562: The incoming username token co... more >>
Interesting Question for the SOAP Routing Geeks here
Posted by Softwaremaker at 7/22/2004 9:28:47 PM
Hi Fellows,
I am wondering if anyone here could give me some advice on the best practice
of setting the value of the SoapActorAttribute in a XML HTTP Service. From
all the examples given, it seems that its always the URI of the Endpoints or
the Router. One thing with this tight coupling of end... more >>
Adding elements to the header of a SoapEnvelope
Posted by SA at 7/22/2004 10:02:22 AM
Hi all,
I need to provide the service with a piece of infrastructure information,
namely where to send "events" to during a long-running process.
I can't use ReplyTo because the reply to the Soap message must be sent to
the Address.
I tried adding a new element to the header of my SoapEnv... more >>
Architectural Question with WSE Security
Posted by meaneyedcat NO[at]SPAM hotmail.com at 7/22/2004 8:35:28 AM
I am building a Web application that makes calls out to our app server
via Web Services calls.
The code-behind pages of my ASPXs call delegate classes that are
responsible for actually making the Web Service calls. Right now, in
my delegate classes, each method call that calls a web service
... more >>
SoapReceivers.Add()
Posted by William Stacey [MVP] at 7/21/2004 5:32:27 PM
What is the Passive overload for in SoapReceivers.Add() method. What is
non-passive vs passive ?
--
William Stacey, MVP
... more >>
Exception on endpointref all of a sudden?
Posted by William Stacey [MVP] at 7/21/2004 4:42:07 PM
Been using wse tcp services with no issue. Now all of a sudden I have
exception when creating endpoint below.
I can't figure it out as the exception is in internal module that debugger
does not break to (see Message below.)
Any clues?
via = new Uri("soap.tcp://192.168.0.221/dnsserver");
add... more >>
Retrieving HTTP Headers from a Routing Handler
Posted by Softwaremaker at 7/21/2004 5:38:06 AM
Hello all,
I have a strange request to make. I need to be able to read the HTTP Headers
for a SOAP Message coming in over HTTP to a intermediary router.
Conincidentally, the request coming in is not WSE-aware which means that the
addressing details are not there and therefore I need to extract... more >>
Problem referencing web service
Posted by John at 7/20/2004 7:41:15 PM
Hi
I am trying to get web reference to my first (!) web service which is on a
remote host. I am getting the following error;
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application pre... more >>
Word to the wise: avoid Virtual Machines
Posted by SA at 7/20/2004 3:38:57 PM
Hi all,
I wanted to share this experience, because it has proven to be very
frustrating for me.
I was developing some sample and "proof-of-concept" applications for WSE
2.0. In order not to create a mess of services etc. on my dev machine, I
created the apps in a Virtual PC 2004 VM.
One ... more >>
HOW TO: write Java client to call WSE 2.0 web server over TCP
Posted by rss at 7/20/2004 2:11:31 PM
I've recently downloaded the WSE 2.0 RTM and am working on crufting up a
TCP-based, non IIS hosted web service. The issue, however, is I want to
call this webservice over TCP using a java client. Specifically, using the
WS-Messaging aspects of the WSE 2.0 on the web service end, can I call the
... more >>
Can I get IE credentials using WSE?
Posted by Ken Varn at 7/19/2004 3:28:37 PM
I am fairly new to Web Services and WSE, so bear with me.
I have a Windows Forms control embedded in a web page. I am trying to call
my web service from the form control. If I use
CredentialCache.DefaultCredentials to authenticate, I get the Windows logged
on user credentials instead of the ... more >>
Can't install WSE 2.0
Posted by Navin Mishra at 7/17/2004 11:02:04 PM
Hi,
I can't install WSE 2.0 on my XP Pro machine. The installshield simply
quits saying it was interrupted. I tried serval times and even restarted
machine but no luck.
Any help appreciated!
Thanks in advance and regards
Navin
... more >>
Where is KeyInfo?
Posted by SA at 7/16/2004 3:56:55 PM
Hi all
Several classes in the WSE 2.0 library have KeyInfo properties, of type
KeyInfo. Where is that type defined?
I can't even find System.Security.Cryptography.Xml.KeyInfo, which is
supposed to be in the .NET FCL?
--
Sven
... more >>
ANN: WSE 2.0 from the Compact Framework
Posted by casey chesnut at 7/16/2004 8:27:35 AM
the code made it into the OpenNETCF 1.2 Release yesterday.
http://blog.opennetcf.org/ncowburn/PermaLink,guid,ba821272-ab27-4516-83f1-437fc38b51c6.aspx
it has been updated for WSE 2.0 and supports WS-Addressing, WS-Attachments,
WS-Security, WS-SecureConversation.
i've got an article (with clien... more >>
Problem with large Dimeattactment
Posted by morten at 7/15/2004 11:36:13 PM
Hi
I'm quite new to the WSE world, so bear over if the question is total
newbie.
I've been reading lots of articles but haven't found what I was looking for.
I have a problem with the DimeAttachment and large files.
I have created a SoapService (using soap.tcp) where SoapClients are ab... more >>
does WSE2.0 support SOAP 1.2?
Posted by justin at 7/15/2004 10:42:47 PM
I am working on a web service app using WSE2.0 to
communicate with another app written using gSoap for
interop test. The web services need to support SOAP v1.2.
However, my app throws an exception when de-serialzing
the incoming msg which has the SOAP envelope namespace
specifed as:
... more >>
Calling an ASMX web service (with WSE 2.0) using SoapClient proxy
Posted by SA at 7/15/2004 8:05:28 PM
Hi all:
In order to have one generic proxy class on my client that can both handle
TCP and HTTP channels, I created a class that derives from SoapClient.
It can call my TCP SoapService (running as a Windows Service) fine.
It can call my HTTP .asmx Web Service, but apparently, the SOAP body... more >>
Arch question.
Posted by William Stacey [MVP] at 7/15/2004 5:53:04 PM
Have a server app and using wse 2.0 tcp services as management interface.
Works pretty well so far but have some question on general patterns here.
Right now I am doing:
1) On the server, I have my server classes that don't consider any xml.
2) I created xmldoc classes just for the web servi... more >>
return array and xml names
Posted by William Stacey [MVP] at 7/15/2004 5:31:43 PM
Say the server doc and client doc are the same, but different class names.
I can't seem to figure out how to set the return type to let the web
services figure out they are the same document. Example:
Server
===============
public class XmlCustomer
{
public string Name;
}
[SoapMeth... more >>
Override default UsernameToken behavior
Posted by SA at 7/15/2004 3:49:53 PM
Hi,
Suppose I want to send a UsernameToken with password in plain text. By
default, WSE 2.0 will attempt to validate the user using Windows security.
What if I don't want that to happen?
I tried to create my own MyUsernameTokenManager and registered it using the
WSE 2.0 settings tool in web... more >>
webservices2 security fault: security token cannot be authenticated
Posted by josepinchero NO[at]SPAM yahoo.com at 7/15/2004 2:48:54 PM
Hi,
In my custom webservice token manager, when i call AuthenticateToken
with a <<valid>> domain name and password, i get a webservices3
security fault (the security token cannot be authenticated or
authorized)...every time. When i call AuthenticateToken, i'm passing
it a SendPlainText User... more >>
Expiry Error - NewBee Question?
Posted by msajdera NO[at]SPAM ncen.com at 7/15/2004 2:17:25 PM
All -
We're using a .Net client running WSE 2.0 to hit a WebLogic
webservice.
We're signing with a UsernameToken and a Certificate.
The response we keep getting on the client is "Message includes expiry
but clocks are not synchronized".
- We've sync'd up the clocks on both the client a... more >>
Dynamically load web.config and policyCache.xml
Posted by pocketpcbook NO[at]SPAM yahoo.com at 7/15/2004 1:43:39 PM
is there anyway to dynamically load web.config and policyCache.xml?
We have an application where these two files need to be encrypted, so
we'll be loading the encrypted version and decrypting it to a stream.
We need to then load them into the runtime.
Can this be done???
Tim Bassett
p... more >>
SecureConversation with asmx
Posted by Ben Bloom at 7/15/2004 9:19:32 AM
Any reason I can't use a SecureConversation approach with a standard
ASMX web service? I've got WSE2.0 installed, I just don't need to use
WS-addressing/messaging for this project.
Thanks.... more >>
Help with sample
Posted by SA at 7/14/2004 4:04:31 PM
Hi all:
I am getting terribly confused from working with the WSE 2.0 quick start
samples.
For example, SecureConversationCode example solution does not seem to be one
where anything inherits from SoapService and SoapClient or SoapSender and
SoapReceiver. Yet, the documentation seems to indi... more >>
Removing x509 certs from SecureConversationCode sample, Is this the right way?
Posted by Kyle Brandon at 7/14/2004 2:20:01 PM
Was trying to get the SecureConversation example to work using
UsernameToken's (shared secret) instead of certificates. Just wanted to get
some feedback if this is a legitimate way of doing it. I made the following
changes to the sample:
Client side:
1) Replace the UsernameToken and x509 cert... more >>
Can't Resolve Key Issue and
Posted by msajdera NO[at]SPAM ncen.com at 7/14/2004 12:00:55 PM
All -
Thanks in advance for any and all help...
I need some pointers on where to start debugging an issue I'm having
hitting a web service with simple UsernameToken authentication. This
is the error I keep getting regardless of whether I'm No Password,
Hashed, or Plain:
"Could not resol... more >>
Getting data from a web service
Posted by John at 7/14/2004 10:43:43 AM
Hi
What is the way to get data (an sql statement with two tables) via a web
service and store it into a local table? Has anyone actually done this as
most examples I have seen are close but don't exactly do this. Would be
great to have a code example.
Thanks
Regards
... more >>
SoapClient reply transport issue
Posted by Craig Neuwirt at 7/14/2004 9:51:23 AM
I want to reemphasize and issue that was raised by Roman Kiss in another
post since no confirmation of the problem was identified.
The WSE Messaging allows for a SoapClient to send a request on one transport
and expect the reply using a different transport. This is done using the
Context.Addr... more >>
Calling from SoapClient to SoapService
Posted by Stuart_M_Ray NO[at]SPAM hotmail.com at 7/13/2004 7:46:42 PM
Hi,
I am trying to call a method that has multiple parameters using the
WSE 2.0 SoapClient. The method is declared as follows:
public class Server : SoapService
{
[SoapMethod("Method1")]
public string Method1(MyClass1 arg1, MyClass2 arguments)
{
...
}
}
Unfortunately, SoapCli... more >>
Is IIS required on a WSE 2.0 client?
Posted by DevDiscuss at 7/13/2004 10:25:38 AM
In order for client application (eg. WinForms smart client) to communicate
with a WSE 2.0 web service over HTTP, must the client OS have IIS server
running as well?
Thanks,
Kris
... more >>
Reliable way to check for WSE installation?
Posted by DevDiscuss at 7/13/2004 9:55:14 AM
Hi, I'm trying to see if there is a way to check for an existing WSE
installation from an installer? I'm unable to find anything in the registry
and would like to know the safe method for determining if its present, and
ideally, the installed version. Any help is appreciated. I suppose I could... more >>
WSE 2.0 and CAS
Posted by Scott Chappel at 7/13/2004 8:42:41 AM
Hi all, I am having a major problem trying to configure the Code Access
Security for an application that is using WSE 2.0.
The application is pretty simple calling nothing more than HelloWorld from
the web service. I have a security sandbox setup that has the following
permissions applied:
... more >>
Using UDDI at Run Time
Posted by Ben Bloom at 7/12/2004 10:56:46 AM
Does WSE2 include the UDDI SDK that allows us to query UDDI at runtime?
If not, where can I download it? Are there good examples of how to
use it?
The only reference I see on Microsoft's site today is for the Platform
SDK, only referencing Windows 2003. I'm running a 2000 client, queryin... more >>
WSE 2.0 Support from Microsoft
Posted by Michael Riggio at 7/9/2004 12:53:30 PM
Hi,
Does anyone know Microsoft's support policy for WSE 2.0? Will they
drop support once the next major platform is released with similar support
(I'm assuming Whidbey). Also, when the next platform comes out will the
apis supplied via WSE 2.0 become depricated or will Microsoft simply
... more >>
signing message element by id / no namespace
Posted by Stewart Bourke at 7/9/2004 10:27:04 AM
wse 1.01, vs.net 2003 c#
IS it possible to sign an element of a soap message using an Id attribute
without prefixing the Id attribute with a namespace. wse seems to call for
a namespace referring to ws-utility, but I need to be able to sign the Id
without the namespace - as the webservice I a... more >>
Mustunderstand exception raised but method still called
Posted by john.harkin NO[at]SPAM singularity.co.uk at 7/9/2004 7:36:25 AM
Hi,
Just started investigating with Wse 2.0.
I have a asp.net web servive that is not wse aware.
Put together simple client that called method of it providing
username/password via WSE 2.0.
Client received exception message back
"An unhandled exception of type
'System.Web.Services.Protocol... more >>
Checking WSE managed assemly exists at startup
Posted by davidpendry NO[at]SPAM europe.com at 7/9/2004 2:42:57 AM
Hi,
My company has created client apps which use the WSE
Microsoft.Web.Services authentication functionality.
When its shipped to a CLR platform, without WSE installed, the code
errors, as the assemebly cannot be found.
Whats the best wasy to check the WSE Microsoft.Web.Services is
insta... more >>
Call another SoapMethod from another.
Posted by William Stacey [MVP] at 7/8/2004 10:33:34 PM
When you call another SoapMethod from some other SoapMethod it just uses
local access like a regular method call right? It does not round-trip the
call into WebService goo again, or does it? TIA
--
William Stacey, MVP
... more >>
SoapService response bug!!!!
Posted by Craig Neuwirt at 7/8/2004 3:54:29 PM
I have a SoapService that provides a method with the following signature.
[SoapMethod("Fill")]
void Fill(string[] ids)
The inetent of this method is to retrieve documents for the supplied ids.
The implementation simply retrieves the documents streams and adds them
as DIME attachments. Unf... more >>
WSE 2.0: FilterMessage
Posted by SA at 7/8/2004 11:32:09 AM
Hi all:
I've installed WSE 2.0 and was working my way through the How To: Send and
Receive a SOAP Message By Using the SoapClient and SoapService Classes,
that's included in the Help.
I derived a class from SoapClient, and apparently, the FilterMessage
function has MustOverride on in the So... more >>
|