Hi, I am using HTTPAPI to consum a web service, I also need to set a header option (SoapAction).
Try to use the setoption() but it looks our system does not include that function (maybe an early product installation 19/07/12).
My question: is there another way to set this option but not to install a newer version of the API?
PS: the message is :
RNF7030 30 1 The name or indicator is not defined.
RNF7503 30 1 Expression contains an operand that is not defined.
and on error line
*RNF7030 30 2448 011900 The name or indicator HTTP_SE... is not defined.
*RNF7503 30 2448 011900 Expression contains an operand that is not defined.
where line is:
http_setOption('SoapAction' : spact); (***spact is a local variable)
Thank you for your time
Kostas
HTTPAPI setoption
Re: HTTPAPI setoption
You need to update for many, many reasons. Scott has maintained upward compatibility so why wouldn't you? Not as if it will cost anything except a minimal amount of time.
I have no doubt that there is a way to do it - have you studied all the early examples? When I needed stuff like this I just upgraded - didn't waste time reinventing the wheel.
I have no doubt that there is a way to do it - have you studied all the early examples? When I needed stuff like this I just upgraded - didn't waste time reinventing the wheel.
Re: HTTPAPI setoption
Thank jonboy49 for your recommendation, Due to company's policy we install the newest version to a library with a different name in order to keep both versions.