1. Gary Collins
  2. PowerBuilder
  3. Saturday, 3 March 2018 03:48 AM UTC

Note, I'm NOT asking how to associate a wsconnection object to a web service call in a client. 

If I deploy an nvo to IIS, can I access PBCookie and wsconnection information in the deployed nvo?

Marco Meoni Accepted Answer Pending Moderation
  1. Saturday, 3 March 2018 10:23 AM UTC
  2. PowerBuilder
  3. # 1

Hi Gary,
if you "deploy an NVO to IIS", i.e. you deploy a PB NVO as SOAP .NET WS, you can certainly use WSConnection from a DataStore in the deployed WS in order to connect, in turn, to yet another WS data source.
Best,
Marco

Comment
  1. Gary Collins
  2. Saturday, 3 March 2018 17:20 PM UTC
how?  is it attached to my ws automatically, or is it accessible somehow in the nvo via an instance variable, contextserrvice, etc?

  1. Helpful
  1. Marco Meoni
  2. Sunday, 4 March 2018 09:03 AM UTC
you must you the SetWSObject() function.



Cheers,



Marco

  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 5 March 2018 18:46 PM UTC
  2. PowerBuilder
  3. # 2

Hi Gary;

  Are you looking for information something like this from your PB based Web Services ...

***** STD Foundation Classes - Web Service Logging Started ******
STD Foundation Classes version 2017.2.0.65 was released on 2017-07-07 and is optimized for the WebService environment.
Logging was started based on instantiating interface object class - name: nc_login_interface
2018/03/05 13:42:26 - START of HTTP Trace
2018/03/05 13:42:26 - Cookie Key: PowerBuilder ... Value: CurrentTheme=xp
2018/03/05 13:42:26 - Cookie Key: PowerBuilder ... Value: CurrentTheme=xp
2018/03/05 13:42:26 - Browser Type: Firefox58
2018/03/05 13:42:26 - Browser Name: Firefox
2018/03/05 13:42:26 - END of HTTP Trace
2018/03/05 13:42:26 - Validation started for: ConnectString='DSN=PB Demo DB V2017R2;UID=dba;PWD=sql'
2018/03/05 13:42:27 - The DBMS Connect return code was: 0
2018/03/05 13:42:27 - Validation return status: 0

Regards ... Chris

Comment
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.