473,404 Members | 2,195 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Simple question on SOAP header

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
Feb 20 '06 #1
2 1378
"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:97**********************************@microsof t.com...
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 ?


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,

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

MCAD Charter Member
MCSD.NET Early Achiever
MCSD
Feb 20 '06 #2
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

"Martin Kulov" wrote:
"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:97**********************************@microsof t.com...
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 ?


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,

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

MCAD Charter Member
MCSD.NET Early Achiever
MCSD

Feb 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ramas | last post by:
Hi, I am new to PHP scripting and i am trying to connect to a soap server (as mentioned below) using the SOAP extension comesup with PHP. Now my requirement is to add my HTTP header fields along...
0
by: Daniel Thune, MCSE | last post by:
I am having a problem with formatting a SOAP Header in a .Net client. The client calls a Java Axis 1.1 based web service. In order to authenticate the caller, the web service call is intercepted by...
5
by: vthakur | last post by:
Hello: I have a Axis Web Service that sets the sessionid in the SOAP header for persisting the session. The client is a .Net client that processes the header as an Unknown Header. It sets the...
6
by: Peter van der veen | last post by:
Hi I have the following problem. I'm calling a webservice from within a VB.net 2005 Windows program. For this i got a WSDL file and loaded that in VB. Until now i just call the webservice and...
3
by: mirandacascade | last post by:
1) Is it correct that none of the examples in the ElementSOAP tutorial: http://effbot.org/zone/elementsoap-1.htm include an example in which the SOAP message that contains the request includes...
0
by: Grzegorz Smith | last post by:
Hi All. I 'm learning ZSI to use SOAP and I desperately need help. I'm working on example from tutorial -(examples/server/send_response/ simple/wsdl/). Here are my wsdl files...
7
by: beachdog | last post by:
I'm using Visual Studio 2005/C# to build a web client. The web server is something I've written in a different framework, which does not support generating wsdl, so I have hand-built a wsdl file,...
0
by: broersen | last post by:
Hello, Does someone know how to create manually the header for an SOAP message, without having an WSDL? I also use an X509 certificate for connecting to the webservice. Can anyone help me to get...
0
by: vigneshrao | last post by:
Hi, I have been working on a script that loops through multiple records and sends data (one record per call) to a WS. I am supposed to make a new call for each record before sending the data....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.