Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 4.0 aka C# 2010 > BOOK: Professional C# 4.0 and .NET 4
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Professional C# 4.0 and .NET 4
This is the forum to discuss the Wrox book Professional C# 4.0 and .NET 4 by Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner; ISBN: 9780470502259
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 4.0 and .NET 4 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 24th, 2011, 10:33 AM
Authorized User
Points: 169, Level: 3
Points: 169, Level: 3 Points: 169, Level: 3 Points: 169, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Apr 2008
Location: Northampton, , United Kingdom.
Posts: 35
Thanks: 1
Thanked 0 Times in 0 Posts
Default Digital Signature for SoapRequest

From a web application (VS2010) I am to call a third party web service (for which I have no control over) using a SoapRequest which is signed.

Looking at the supplied XML example, it is (cut down version) something like the example below.

Searching the internet, I run into the same common problems:
  1. Examples using WSE, which reads like it's been superceded by WCF
  2. Examples refer to a web service for which you have control over (and can change)
  3. Examples are targetted at older versions of Visual Studio
If anyone can give me some guidance for getting this working, using VS2010 and a web service for which I have no control, I would greatly appreciate it. I do have the WSDL for the service, which I have running as a mockService in SoapUI so that I can generate 'dummy' calls to the service.

<?xml version="1.0" encoding="UTF-8"?>
<wsse:Security SOAP-ENV:mustUnderstand="1" xmlns:wsse="http://xxx.org/wss-wssecurity-secext-1.0.xsd">
   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
    <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">qnzun---snip---HRC/cCqU=</ds:DigestValue>
  <ds:SignatureValue xmlns:ds="http://xxx.org/wss-wssecurity-secext-1.0.xsd"/>
<SOAP-ENV:Body wsu:Id="philID" xmlns:wsu="http://xxx.org/wss-wssecurity-utility-1.0.xsd">
<m:TheEnquiryRequest xmlns:m="http://somewhere.com/someschema">
Thanks in advance for any/all help


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to implement the digital signature kotaiah J2EE 0 May 11th, 2007 05:06 AM
Page 33 Creating digital signature bmiller28 BOOK: ASP.NET Website Programming Problem-Design-Solution 7 November 12th, 2005 03:01 PM
How to create Digital Signature using certificate iron_ ASP.NET 1.0 and 1.1 Professional 0 September 5th, 2005 10:02 PM
Incorporate Signature thru Digital Pad ashu_gupta75 Classic ASP Basics 0 May 14th, 2004 01:24 AM
Digital signature verification using PHP. Hawk PHP How-To 0 July 16th, 2003 08:23 AM

All times are GMT -4. The time now is 04:31 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.