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 2005

Tip: Looking for answers? Try searching our database.

SOAP questions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matthias De Ridder - 09 May 2005 15:04 GMT
Hello,

for my thesis, I'm programming a Web Service, where the security aspect is
very important. One security issue that I provide is digital sigatures.

Now I want to write every incomming SOAP message to the Web Service to a
file, and if the message is signed, store it, otherwise delete it. In this
way, I have a proof that a user has send that message to the Web Service.

The problem is that I don't know how I can write or read incomming SOAP
messages. I heard that .NET supports filters for it, but I don't know how to
use them or where to find them.

Can someone help me with this?

A second question: my Web Service is hosted on the localhost. If you create
a file in a Web Service, where does the Web Service stores it?
Chad Z. Hower aka Kudzu - 09 May 2005 21:35 GMT
=?Utf-8?B?TWF0dGhpYXMgRGUgUmlkZGVy?= <Matthias De
Ridder@discussions.microsoft.com> wrote in
news:7F4513CF-0880-4797-83BA-5430F52B3D13@microsoft.com:
> The problem is that I don't know how I can write or read incomming SOAP
> messages. I heard that .NET supports filters for it, but I don't know
> how to use them or where to find them.

Certificates are not done at the SOAP level, but the HTTP level. You can
access the HTTP headers/properties though.

> A second question: my Web Service is hosted on the localhost. If you
> create a file in a Web Service, where does the Web Service stores it?

Wherever you put it.

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
     "Programming is an art form that fights back"

Blog: http://blogs.atozed.com/kudzu
Matthias De Ridder - 09 May 2005 22:48 GMT
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wse/html/9c2138
28-815e-41cd-9d54-419bf64c0301.asp


This tutorial speaks of signing SOAP messages, and I use this tutorial in my
project. And it is this message that is send, that I want to write to a file.

And for the second question:

Lets say my Web Service is called TestService. In TestService I create a
file "tenders.xml"

When I'm finished with my program, I went to:

c:\Inetpub\wwwroot\TestService

and looked for the file, but didn't found it. So I have no clue where the
Web Service wrote it! The file was created, because it was send back to the
client as a XmlNode, but I also need to see the file "physically".

> =?Utf-8?B?TWF0dGhpYXMgRGUgUmlkZGVy?= <Matthias De
> Ridder@discussions.microsoft.com> wrote in
[quoted text clipped - 16 lines]
>
> Blog: http://blogs.atozed.com/kudzu
Chad Z. Hower aka Kudzu - 10 May 2005 09:19 GMT
=?Utf-8?B?TWF0dGhpYXMgRGUgUmlkZGVy?=
<MatthiasDeRidder@discussions.microsoft.com> wrote in
news:7227EEE7-B4B9-4CA0-9DE0-9598775E661C@microsoft.com:
> This tutorial speaks of signing SOAP messages, and I use this tutorial

Sorry I misudnerstood you. There are also SSL certificates that are more
commonly used.

> Lets say my Web Service is called TestService. In TestService I create a
> file "tenders.xml"
[quoted text clipped - 7 lines]
> to the client as a XmlNode, but I also need to see the file
> "physically".

You *always* have to specify a path. You cannot assume what the current
directory is. It likely did save the file, just somewhere else on your
system.

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
     "Programming is an art form that fights back"

Blog: http://blogs.atozed.com/kudzu

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.