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 / May 2006

Tip: Looking for answers? Try searching our database.

Windows2000 client VS Windows2003 Web Service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Victor - 23 May 2006 17:07 GMT
My Web Service hosts windows 2003 applied WSE3. The Client run fine in
WindowsXP.But it throws some exception at windows 2k.
The web service use usernameForCertificateSecurity and custom
securityTokenManager.

<outputMessage utc="2006-5-23 15:37:21"
messageId="urn:uuid:afe83caa-291a-4ffd-878c-4304341b68fc">
   <processingStep description="Unprocessed message">
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <soap:Fault>
           <faultcode
xmlns:q0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xs
d">q0:UnsupportedAlgorithm</faultcode
>
           <faultstring>An unsupported signature or encryption algorithm
was used ---> WSE3002: The receiver is expecting the key wrapping algorithm
to be http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p, but the incoming
message used http://www.w3.org/2001/04/xmlenc#rsa-1_5.  You can change the
key wrapping algorithm through configuring security token
manager.</faultstring>
           <faultactor>http://59.36.96.139/TYDMExService.asmx</faultactor>
         </soap:Fault>
       </soap:Body>
     </soap:Envelope>
   </processingStep>
   <processingStep description="Entering SOAP filter
Microsoft.Web.Services3.Design.UsernameForCertificateAssertion+ServiceOutputFilter" />
   <processingStep description="Exception thrown: Send security filter on
the server could not retrieve the operation protection requirements from the
operation state.">   at
Microsoft.Web.Services3.Security.SecureConversationServiceSendSecurityFilter.SecureMessage(SoapEnvelope envelope, Security security)
  at
Microsoft.Web.Services3.Security.SendSecurityFilter.ProcessMessage(SoapEnvelope envelope)
  at Microsoft.Web.Services3.Pipeline.ProcessOutputMessage(SoapEnvelope
envelope)</processingStep>
 </outputMessage>

How to correct the signature or encryption algorithm ?
How to modify the client app.config?

Your answer is welcome.
Pablo Cibraro - 24 May 2006 15:14 GMT
Hi Victor,

The default algorithm suite for Windows XP and W2k3 is RSA-OAEP / AES256 but
W2k does not support these algorithms so it uses RSA/AES128.
You should configure the windows XP clients and W2k3 server to use
RSA/AES128 instead.

For more information, take a look this Julie Lerman's article,

http://www.thedatafarm.com/blog/SearchView.aspx?q=cibraro

Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax

> My Web Service hosts windows 2003 applied WSE3. The Client run fine in
> WindowsXP.But it throws some exception at windows 2k.
[quoted text clipped - 43 lines]
>
> Your answer is welcome.

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.