1. Georgios Papageorgiou
  2. PowerBuilder
  3. Thursday, 14 September 2017 17:37 PM UTC

Hi Powersphere.

Just add this one again - cause i guess when people see a question has been answered - all is good....

In this case it was not a correct answer however.....


Is there a way to add COOKIES to a DATAWINDOW Based on WEB SERVICE  WSConnetions ?

( yes I know the stuff avout pbcookie on a proxy object)



Georgios :)

BTW I REALLY REALLY REALLY hope this community software gets an overhaull

Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Friday, 15 September 2017 14:39 PM UTC
  2. PowerBuilder
  3. # 1

Hi Georgios,


If what you want to do is add a cookie file to the Connection Object of the DW based on Web Services (WSConnection). Then, you could try to use the following example:


int ii_return
wsconnection ws_1

ws_1 = create wsconnection
ws_1.username = "johndoe"
ws_1.password = "mypassword"
ws_1.endpoint = "myendpoint"
ws_1.ClientCertificateFile = "'C:\MyCookieFile'; 'C:\OtherCertFiles'"


Please do share your feedback.



Govinda Lopez

There are no comments made yet.
  • Page :
  • 1

There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.