warning message on header

27 views
Skip to first unread message

ramaveda

unread,
Sep 2, 2008, 1:05:15 PM9/2/08
to LoadRunner
I have the header

web_add_auto_header("SOAPAction","");
and getting the warning message as below,
Warning -26597: Added header value is NULL, empty or contains white
spaces only. It is added anyway.

Not sure why am getting this and how to rectify this?
any input?

thanks

papayamilkshake

unread,
Sep 3, 2008, 4:56:44 AM9/3/08
to LoadRunner
You need to put some values for SOAPAction.
Dun think it will work anyway. The header in this API refers to the
HTTP Headers such as content-length or cookie related stuff.
My guess is that you are trying to add the header of SOAP Action which
should be part of the envelope, after the HTTP Header section of the
HTTP packet. :)
Therefore, should be in Body section of the API and not use
web_add_auto_header.

Hope im correct :)

regards
papayamilkshake
http://loadrunnertnt.com

ramaveda

unread,
Sep 4, 2008, 9:57:46 AM9/4/08
to LoadRunner
thanks for the reply papayamilkshake. if i dont use the header its
throwing error for missing header.
i think i need to include something within the quotes, but dont know
what to include?
any idea?
the front end is a flash app.

On Sep 3, 4:56 am, papayamilkshake <papayamilksh...@gmail.com> wrote:
> You need to put some values for SOAPAction.
> Dun think it will work anyway.  The header in this API refers to the
> HTTP Headers such as content-length or cookie related stuff.
> My guess is that you are trying to add the header of SOAP Action which
> should be part of the envelope, after the HTTP Header section of the
> HTTP packet. :)
> Therefore, should be in Body section of the API and not use
> web_add_auto_header.
>
> Hope im correct :)
>
> regards
> papayamilkshakehttp://loadrunnertnt.com
>
> On Sep 3, 1:05 am, ramaveda <kramshan...@gmail.com> wrote:
>
>
>
> > I have the header
>
> >  web_add_auto_header("SOAPAction","");
> > and getting the warning message as below,
> > Warning -26597: Added header value is NULL, empty or contains white
> > spaces only. It is added anyway.
>
> > Not sure why am getting this and how to rectify this?
> > any input?
>
> > thanks- Hide quoted text -
>
> - Show quoted text -

papayamilkshake

unread,
Sep 4, 2008, 10:56:19 AM9/4/08
to LoadRunner
ok, read through some resources, and seemed to be dealing with the
intented action of the SOAP as written in the following URL:

http://www.oreillynet.com/xml/blog/2002/11/unraveling_the_mystery_of_soap.html
http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383528

It seemed that there is no implication of leaving it empty as
specified in the URLs. :) if the replay is sending the HTTP with
SOAPAction: and its value is blank and the script successfully replies
with data, then shouldn't be a problem. :)

regards
papayamilkshake
http://loadrunnertnt.com
Reply all
Reply to author
Forward
0 new messages