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 2004

Tip: Looking for answers? Try searching our database.

Why is soap.inproc not supported for production use?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lbagnall - 29 Sep 2004 11:53 GMT
I am designing a web service using WSE 2.0 that has flexible deployment
requirements.  In particular, sometimes the client and service will be on the
same machine, and sometimes it will be going over the Internet.  In the
latter case, I'm obviously going to use the HTTP transport.  For the former,
I'd like to just use soap.inproc.  However, I found the following comment in
the WSE 2.0 Service Pack 1 Readme.

"The soap.inproc transport protocol is not supported for production
environments. That is, the soap.inproc protocol, which can be used to send
SOAP messages to and from components within the same application domain using
the WSE Messaging API, is for testing purposes only."

Why?  I guess I can use the TCP protocol over the local loopback, but it
seems unnecessarily inefficient, when soap.inproc would let you do the
communication in memory.
Tomas Restrepo \(MVP\) - 30 Sep 2004 03:34 GMT
> I am designing a web service using WSE 2.0 that has flexible deployment
> requirements.  In particular, sometimes the client and service will be on the
[quoted text clipped - 11 lines]
> seems unnecessarily inefficient, when soap.inproc would let you do the
> communication in memory.

You're missing a critical part of the doc: "within the same application
domain". Thus, soap.-inproc only works when the receiver and sender reside
inside the *same* process (not same machine) and within the same .NET
application domain.

As for why it is not fully supported, I'm not sure, but I'd guess that
because of its limited functionality, and the fact that there are probably
not many scenarios where it is truly useful, they didn't allocate all the
resources necessary to stress it and test it as well as the other
transports... but that's just a guess!

Signature

Tomas Restrepo
tomasr@mvps.org

Benjamin Mitchell - 30 Sep 2004 15:51 GMT
Exactly as Tomas says, if you want to use WSE to send messages between
applications on the same machine and want to avoid HTTP you need to use
soap.tcp, rather than soap.inproc.

Regarding why soap.inproc is not supported for production use I know that
Keith Ballinger described soap.inproc as mostly useful for testing purposes
in his talk at TechEd.

"Tomas Restrepo (MVP)" wrote:

> > I am designing a web service using WSE 2.0 that has flexible deployment
> > requirements.  In particular, sometimes the client and service will be on
[quoted text clipped - 26 lines]
> resources necessary to stress it and test it as well as the other
> transports... but that's just a guess!

Rate this thread:







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.