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

Tip: Looking for answers? Try searching our database.

Simple question on SOAP header

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
serge calderara - 20 Feb 2006 09:57 GMT
Dear all,

Within a web service you are able to receive or send soap header values.
Does the soap header could be a place to pass web service parameter function ?

If this is the case, wjat is the real benefits on passing paramter value in
sop header rather that function parameter ?

Thanks for your reply
regards
serge
Martin Kulov - 20 Feb 2006 20:24 GMT
> Dear all,
>
[quoted text clipped - 5 lines]
> in
> sop header rather that function parameter ?

Hi Serge,

IMHO is a design issue that you must resolve depending on your specific
requirements. Either way the basic goal is one - passing values. If you are
going to implement a small framework in your project and you can call your
web services from one central location may be it is better to use soap
headers. That way you will minimize method arguments, but it will be harder
to debug unless you provide some mechanism for this.
If you need to expose this web service for various devices and client may be
it is better to pass the value as an argument to each of your methods. Your
callers will be much happier :).
Still the decision is up to you.

Regards,

Signature

Martin Kulov
http://www.codeattest.com/blogs/martin

MCAD Charter Member
MCSD.NET Early Achiever
MCSD

serge calderara - 21 Feb 2006 08:19 GMT
hi, thnaks for your comment,

But then I could not see any difference then on passing parmater within soap
heder or public function to a web service. Sopa header is not even a big deal
to handle, to debug may be it is.

I am trying to find out a real guide lines information which could help.
In a similar way when you nee to select a communication protocol. Example
need fat reply means binary formater.

If anyone else have any ide thanks to post
regards
serge

> > Dear all,
> >
[quoted text clipped - 20 lines]
>
> Regards,

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.