on 05-29-2014 11:34 AM
Dear All,
We are facing issue of "Error calling method of a PBNI object". We are calling web services of WCF after some time to refresh data.We need help to solve this issue as we have to go live with client.
It's really urgent!
Regards
Imran Zaheer
Hi, Imran.
Just a guess.
Please check if all DLLs are from the same Powerbuilder build.
We've already had something like this here, because we were deploying our projects in a specific Build, but the server machine had a diferente Build version.
Take a look at the Sybase DLLs inside the GAC_2 and GAC_MSIL folders.
Right click them and check properties option ->details tab -> file version.
Check both machines, the developer's and the server's one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Imran;
Unfortunately, I do not think that this gives us much to work with to deduce your problem.
Can you tell us ...
1) PB version & Build?
2) MS-Window version?
3) Why are you using PBNI and what kind of class are you utilizing in that context?
4) What error(s) codes and messages are you getting?
5) Why are you not using PB.net that supports WCF natively (I wish PB classic did)?
6) Can you lightly describe your over-all architecture and application approach to Web Services?
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
Thanks for your concern.
1) PB version & Build?
PB builder 12.5.2 build 5609
2) MS-Window version?
Windows 7 professional.
3) Why are you using PBNI and what kind of class are you utilizing in that context?
We are calling webservices through soap objects.
4) What error(s) codes and messages are you getting?
we get "Error calling method of a PBNI object"
5) Why are you not using PB.net that supports WCF natively (I wish PB classic did)?
For this we need to convert our whole application in PB.Net which is not feasible for us.
6) Can you lightly describe your over-all architecture and application approach to Web Services?
We have replace EASERVER with WCFserver and we are calling webservices for fetching( pulling) data from WCF server. It's a soft of 3 tier architecture.
Regards .... Imran
Thank you for the new information!
OK .. I am confused as to why you are using PBNI because PB Classic supports SOAP natively via the Proxy Project, SOAP Connection object, etc as found in PB Classic's pbsoapclient125.pbd (Soap) or pbwsclient125.pbd (.Net) libraries found in the PB IDE installation folder.
Note: One of the above mentioned PBD's must be added to your PB application's library list and you must only use one of these - depending if you are using the SOAP or .NET engine.
HTH
There's a good chance that neither would be able to handle the results unless the WCF service has specified the XMLSerializer for serializing the data. By default, WCF services use the DataContractSerializer.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.