Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all 2935 articles
Browse latest View live

Exchange Web Services API how to connect/access using PB12.5 classic

$
0
0

Does anyone know how to connect/access the Exchange Web Services Managed API using PB12.5 classic or is it even possible to connect?

 

Thanks

Dave V.


powerbuilder 12.5.2 and powerbuilder 12.1

$
0
0

Can I install both powerbuilder 12.5.2, and powerbuilder 12.1

on the same pc?

and... will they act as separate entities?

I need to still keep the 12.1, since I have existing clients using that

and, will probably take a while to upgrade

 

it worked with 11.1, and 11.5

just wanting to make sure

I can't see tables in PB using Oracle 10g

$
0
0

Good morning,

 

I can not see the tables on PB. I configured the connection and it showed to me "It is succesful". But when I try to see the tables I can't do it.

 

I do not if the problem is a compatibility between PB and database. I do not have problem connecting with Oracle SQL Developer and seen the tables.

 

The owner of the tables is REN

The schema is PBREN

The userID is pbren

 

The environment is:

- Windows 7 SP1 - 64 bit (My laptop)

- PowerBuilder 10.5

- Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit.

- Oracle Client 10.2.0 - 32 bit


Another thing... When I try to see the user or Procedures on the DB Option, PB stop immediately.


The exported profile is:

// Profile PBREN

SQLCA.DBMS = "O10 Oracle10g (10.1.0)"

SQLCA.LogPass = <********>

SQLCA.ServerName = "RENBD"

SQLCA.LogId = "pbren"

SQLCA.AutoCommit = False

SQLCA.DBParm = ""

 

Yesterday I wrote another post about problems with connection in a specific object,  and probably it is the cause. I do not know.


NOTE: I use PB 10.5 because is the version of my client. I can't migrated to 12.5


Thanks in advance.


Luis

WCF - dealing with concurrency

$
0
0

Hi,  guys, how are you?

 

I have a WCF built with PB.NET and a PB 12 classic client.

when I have multiples calls of the wcf, I got some database errors, like ora-24334. It seems that all the instances use the same SQLCA transaction.

We have tried some configurations inside the project (service attribute and operation atribute) like InstanceContextMode and the ConcurrencyMode.

Is there any specific configuration we have to do here?

We have tried PerSession, PerCall and Single, along with Single, Re-entrant and Multiple, but without succes.

Everything runs fine when we call the service only once....

Also we have  threadsafe =yes for database connection.

By the way, we are using oracle 10g. Can anyone give us some help, please? Thank you!

PB 12.5 Classic and EWS API

$
0
0

New to web services in PB so not sure if I am doing this right or completely wrong...

 

Started by creating a Web Service Proxy, Got services.wsdl file from Microsoft. (note using office365 developer 30 day free environment)

Setup for soap by  importing the pbx.

All looked ok.  I am able to see the exchangeservicebinding but if I try to use it I get

  Error... "Path property must be set before calling send.." not sure how to resolve this.

 

Next I tried to use the Exchange Web Services API (not sure if I am doing it right)

created a new .net assembly Target and added the ews api dll's.

I was able to see all the objects/functions with the dll's.

 

When I try to use them I get error ... for example

I tried to create an object

 

Microsoft.Exchange.Webservices.data.Exchange lexc

 

I get Error "Undefined error Microsoft"..

 

1. Am I going in the right direction.

2. How do you resolve the "Path" error.

3. How do I reference the api objects?

4. Any sample code out there/or a good tutorial  (have viewed Bruce Armstrong's consuming video... which did help)

 

Thanks for any help (and don't laugh to much at how bad I am doing)

Dave V.

PowerBuilder 11.5.1 4011 calling ASA 9 stored procedure to a web service

$
0
0

Hi,

 

I looked around for an ASA forum and wasn't able to find anything, so I'm hoping that maybe someone will pick it up here.

 

With the recent Heartbleed OpenSSL issue, our partners are changing their security certificates on the web boxes. In an old version of our software, we used ASA 9.0.2 to connect to these web services. As part of the stored procedure call that we make in PB, we pass in the URL, the Certificate and the body of the POST.

 

With the new certificate, we are getting handshake errors: The secure connection to the remote host failed: The TLS handshake failed, error code -6983.

 

I know in the past we've had issues with ASA 9 and certain certificates. Does anyone have any specific information about what ASA 9 does and does not support so that I can pass along to our partners? This issue is preventing our clients from being able to do their billing.

 

I called technical support and they pretty much laughed when I said ASA 9.

 

We've worked with the vendor to get a base-64 encoded certificate that contains the entire chain, and they say the have installed the intermediate bundle chain file.

 

Please help!

 

Thanks!

 

John

Powerbuilder 12.5.2 PB Classic or PB .Net

$
0
0

Hi. Another question:

Does Powerbuilder 12.5.2 include PB Classic only? or does it include also PB .Net? any difference from PB 12.5

PowerBuilder 12.5.2 question

$
0
0

Does PowerBuilder 12.5.2 include any component in order to develop Mobile applications? If so which component is it?


SySAM service will not start

$
0
0

I've installed the SySAM software into the folder C:\Sybase.

 

Per instructions I copied the license I was given to the licenses folder in C:\Sybase\SySAM\SYSAM-2_0. I instructed the license manager to return the existing standalone license and regenerate as a served license. I trust she did so.

 

Now the service will not start. I've tried "net start sysam", "sysam start" , and rebooting the machine. I get "service did not respond in a timely fashion error".

 

What can I do?

 


Getting dragdrop process to release the mouse

$
0
0

PB .net 12.5.2

 

I've got a drapdrop operation happening, and some code in the dragleave event to check for certain conditions. If a certain condition is not met, then I display a simple "OK" messagebox. When the messagebox appears, clicking the OK button with the mouse does nothing, I have to use the enter key to "click" the OK button on the messagebox.

 

I'm guessing that the dragdrop operation has captured the mouse? How can I get the mouse released so it can be used to respond to the messagebox? At this point the dragdrop operation has lost relevance, and can be terminated.

 

dragleave (DragObject source) event code below

 

 

booleanlb_Valid

 

// Do a bunch of stuff to determine valid conditions

// ...

 

IF NOT lb_Valid THEN

       // Need to do something here to get the drag/drop to release the mouse it has captured
source.Drag(End!)
SetPointer(Arrow!)
messagebox("Error looking for Parameter Window", "Parameter Window not found")

end if

 

 

The source.Drag(End!) code does seem to end the drag operation, but the mouse click is still not affecting the messagebox OK button.

 

I guess I could be way off target on this. Thanks in advance for any thoughts on this.

 

Todd Oesterreich

From where to download PC client(mainly open client) for Sybase ASE when Sybase ASE database already installed

$
0
0

I have Sybase ASE 15.0 database installed but no PC client(mainly the open client component) for Sybase ASE 15.0.

 

Can someone please tell me from where can I get PC client installed for Sybase ASE 15.0 as the software providers have no idea about PC client component(esp. open client as that is what I need) of Sybase ASE.

 

What is to be done?

PB 11.5.1 application crash due to Win8 touchscreen

$
0
0

Hi, PB 11.5.1.4011 application - runs fine on absolutely all windows versions, but on Win8 with touchscreen, it produces a generic "xxxxx.exe has stopped working error" when tabbing or clicking into the field.

 

I found a confirmation of this on stackoverflow topic, where the problem was described as:

 

"We have serious issues with running a PB10 application on Windows 8 computers.

Application runs fine until user enters text in datawindow fields, the application "stopped working". The problem is that it happens randomly, 10 fields can be entered without a problem but at the next field the "stopped working" pops up en the application is closed the next time it might happen after entering 2 fields."

 

However, the original author also added a while later that this is only due to Win8 Touch Screens:

 

"We finally found the issue. The problem only occurs on computers with a touch screen. By disabling the Touch Keyboard service the PB program runs perfect"



Obviously, disabling Touch Keyboard service is the suggested solution, but I just wondered has anyone else found alternative solutions (apart from migrating to newer Powerbuilder)? Would running the application in "compatibility mode" with a previous version of Windows maybe do it?

 

 

Thanks

PB 12.5.2 and SAML

$
0
0

Hey Gang,

 

My company is implementing

 

SSO Authentication via Oracle's SAML offering; I don't have all of the details yet so I'm not even sure if I've phrased the following questions accurately:

 

  • Can a PowerBuilder application connect to/consume a SAML resource?
  • Is the Oracle SAML service accessable as a conventional web service?
  • Are there any tricks to authenticating a user of a PowerBuilder application via SAML?

 

At this point I don't know what I don't know, so any insight would be greatly appreciated.

 

Thanks,

Dale

PostUrl from Power Builder 6.5

$
0
0

Following code is not working (the WEB SERVICE don´t receive the parameters). What is wrong?

 

    

string   urlname,urlheader=""
blob   urldata
long   err,lon
Inet iinet_base

n_cst_internet data

//-----

iinet_base=CREATE inet

data=CREATE n_cst_internet

//

err=GetContextService("Internet", iinet_base)

urlname="http://office.cs.com.gt/sitios/hpstore2/webservice/setVenta.php?"

//

urldata=blob("headid=1&KNLLM&fecha=27/02/2014&factura=2014&nit=66066530&nombre=Keny%20Ramos%20Botello&sku=662248-001&unidades=10&costouniatio=2&vendedorid=2")

lon=Len(urldata)

urlheader="Content-Length: "+String(lon)+"~n~n"

//

err=iinet_base.PostURL(urlname,urldata,urlheader,data)

Messagebox("urlpost-caso 2: "+string(err),data.is_data)

//

destroy data

destroy iinet_base

menu

$
0
0

Hello all ,

 

Does anyone have an interesting idea of main menu ( not the PB menu object ) , something based on a datawindow .

( my menu must go under filter of the current user running the application , so all the parameters are saved in the database , therefore a datawindow menu is perfect for the job )

 

Thanks

 

<Moshe


Opening default email application with attachment in PowerBuilder

$
0
0

Hi ,

 

I want to open the default email application (could be Outlook ,Thunderbird ...etc ) and pass email content to it ( recipient , subject , body , attachment )

Then user can review this email and format it then sent it .

 

Iam able to achieve using the below script :

 

ls_syntax = "mailto:" + ls_emailid + "?subject=" + ls_subject +"&body=" + ls_body

ls_syntax = ls_syntax + "&attachment=" + ls_attachment_path +""

ls_syntax =  "rundll32 url.dll,FileProtocolHandler " + ls_syntax 

Run(ls_syntax)

 

However I am not able to pass attachments using the mentioned script above ,

When I googled it , I found that (somehow ) the attachments is not supported using the above command ,

 

But I am wondering , How does WINRAR do it ?!

If you have WinRar installed , you can right click on any file and choose "compress & email" , it does exactly what Iam not able to achieve .

 

Iam using PowerBuilder 11.5 .

Could I have missed something here ?

 

Regards ,

 

Ahmed .

PowerBuilder and Subversion integration

$
0
0

Years ago I posted for info looking for recommendations for a Subversion plug in enabling SCC in Powerbuilder. Most people recommended PushOk and that's what we went with after reviewing the program. I've now discovered another group in my company is using Agent SVN. Anyone familiar with this tool?

Access Touch screen Keyboard in windows 8.1 tablet from PB11.5 application

$
0
0

Hi,

 

 

I need to access windows 8.1 tablet touch screen keyboard from powerbuilder 11.5 application.Is there any api or active X Component is there to do so.

PowerBuilder 15 beta- anyone testing with EAS 5.5

$
0
0

Hi folks - I am reposting this as a discussion instead of a blog post.

 

Thanks to the folks who responded - as someone correctly posted. EAS 5.5 is EOL, so it's not a supported product. We are curious to know if folks have tried v15 with 5.5 as there are a lot of customers still using this version.

 

Best regards,

Sue

PB 12.5 Soap Connection, Bad Runtime Function Reference

$
0
0

I am getting a Bad Runtime Function Reference when calling createInstance method on a Soap Connection:

 

try

SoapConnection conn

conn = create SoapConnection

conn.createInstance (lnv_webservice, 'canonicserviceforapmessage')

 

it is working fine in my Development environment, but when i build the application and run on another windows 7 64 bit PC, i get the error.   We are using both a Windows 7 32 but and 64 bit machines for our development.   i think the issue is with dlls.    does anyone know what dlls are required to make the Soap Connection work.

 

thanks

Jim

Viewing all 2935 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>