Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / August 2004

Tip: Looking for answers? Try searching our database.

WSE717 error message when trying the quickstart samples (C#)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ari Glaizel - 31 Jul 2004 17:48 GMT
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 <RequestSecurityToken> element contained one or more invalid
child elements and/or attributes."

The solution I have been working with mostly is the 'SecureConversationCode'
sample.

The error precicely happens after this line of code:

// Request the token, use the signing token as the Base
SecurityContextToken sct =
client.IssueSecurityContextTokenAuthenticated(token, issuerToken);

I am honestly at a loss to explain what could be causing this.  Here is the
stack trace if it will help shed some light.

System.Web.Services.Protocols.SoapException:
SOAP-Fault code: http://schemas.xmlsoap.org/soap/envelope/:Client
Message: WSE717: The <RequestSecurityToken> element contained one or more
invalid child elements and/or attributes.
  at Microsoft.Web.Services2.Messaging.SoapClientAsyncResult.get_Response()
  at
Microsoft.Web.Services2.Messaging.SoapClient.SendRequestResponse(String
methodname, SoapEnvelope envelope)
  at
Microsoft.Web.Services2.Security.SecurityTokenServiceClient.RequestSecurityT
oken(SecurityTokenMessage request, String methodName)
  at
Microsoft.Web.Services2.Security.SecurityContextTokenServiceClient.RequestSe
curityContextToken(SecurityToken baseToken, SecurityToken issuerToken,
AppliesTo appliesTo)
  at
Microsoft.Web.Services2.Security.SecurityContextTokenServiceClient.IssueSecu
rityContextTokenAuthenticated(SecurityToken baseToken, SecurityToken
issuerToken)
  at SecureConvClient.SecureConvClient.Run() in c:\program files\microsoft
wse\v2.0\samples\cs\quickstart\secureconversation\code\secureconvcodeclient\
secureconvclient.cs:line 91
  at SecureConvClient.SecureConvClient.Main(String[] args) in c:\program
files\microsoft
wse\v2.0\samples\cs\quickstart\secureconversation\code\secureconvcodeclient\
secureconvclient.cs:line 55
Lucien - 02 Aug 2004 23:33 GMT
Turn detailed errors on in web.config on service side and run again. I have
no idea but maybe that gives a clue.
To exactly determine the issue also check the captures response message by
turning on trace.

> Hello there,
>
[quoted text clipped - 29 lines]
> methodname, SoapEnvelope envelope)
>    at

Microsoft.Web.Services2.Security.SecurityTokenServiceClient.RequestSecurityT
> oken(SecurityTokenMessage request, String methodName)
>    at

Microsoft.Web.Services2.Security.SecurityContextTokenServiceClient.RequestSe
> curityContextToken(SecurityToken baseToken, SecurityToken issuerToken,
> AppliesTo appliesTo)
>    at

Microsoft.Web.Services2.Security.SecurityContextTokenServiceClient.IssueSecu
> rityContextTokenAuthenticated(SecurityToken baseToken, SecurityToken
> issuerToken)
>    at SecureConvClient.SecureConvClient.Run() in c:\program files\microsoft

wse\v2.0\samples\cs\quickstart\secureconversation\code\secureconvcodeclient\
> secureconvclient.cs:line 91
>    at SecureConvClient.SecureConvClient.Main(String[] args) in c:\program
> files\microsoft

wse\v2.0\samples\cs\quickstart\secureconversation\code\secureconvcodeclient\
> secureconvclient.cs:line 55

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.