PBGetCookies – PB Docs 126

PBGetCookies PowerScript function

Description

Gets the cookies
associated with a .NET Web service that you invoke from a proxy
object.

Syntax

Argument

Description

proxyObj

The proxy object that you deploy from
a Web Service Proxy project

URI

The URI of the Web service that you invoke
with the proxy object

Return Values

SoapPBCookie[ ]. An
array of an instance of the SoapPBCookie class.

Usage

The SoapPBCookie class is defined in the pbwsclient126.pbx extension
that you can import into your application library. You must first
connect to the Web service with an instance of the SoapConnection
class that is also defined in this extension.

For more information about connecting to a Web service, see “Building
a Web Services Client” in Application Techniques.
For cookie properties you can set or return with the SoapPBCookie
class, see the PowerBuilder Extension Reference.

Examples

The following example enters the names and values
of the cookies associated with a Web service in a MultiLineEdit
control:

See Also

PBAddCookie


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x