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

Tip: Looking for answers? Try searching our database.

WS Security patterns, PerimiterServiceRouter & SoapActor

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RYoung - 19 Sep 2006 01:47 GMT
From the WS Security PnP for WSE 3

" Because external applications use the external URI for the service on the
perimeter service router to address request messages, you must configure a
WSE-3.0 enabled service to accept messages that are addressed to the
perimeter service router."

and

using Microsoft.Web.Services3.Messaging;
...
[SoapActor(http://localhost/PerimeterServiceRouter/Router/ExternalService.asmx)]

Does this mean that all requests for the service must pass through the
router? That is, say an internal Windows Application wants to consume the
web service directly using Visual Studio -> Add Web Reference and binds to
http://localhost/perimeterservicerouter/service/internalservice.asmx

Would that still be possible?

Ron
Pablo Cibraro [MVP] - 19 Sep 2006 15:02 GMT
Hi,

The SoapActor attribute specifies a logical name for the endpoint address.
Each service has two addressses, a logical address (it specified by the
attribute wsa:To) and a physical one (the transport address), usually they
are the same. (If you do not specify the attribute SoapActor, the logical
address is the same as the physical address).
In this case, the service is expecting a SOAP message with a header wsa:To =
"http://localhost/PerimeterServiceRouter/Router/ExternalService.asmx"
You can consume the service directly without using the router, but you need
to specify that logical address in the client application. (The client must
have access to the service as well).

This article describes very well how to do that in WSE,
http://www.dynamic-cast.com/mt-archives/000050.html

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

> From the WS Security PnP for WSE 3
>
[quoted text clipped - 17 lines]
>
> Ron

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.