Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: web service client - bad runtime function reference

375 views
Skip to first unread message

ZK

unread,
May 7, 2008, 1:06:20 PM5/7/08
to
Hi,
I have the same problem as mentioned below. I will explain
in detail what I need to do:
I need to access a webservice using EASYSOAP.DLL using PB
10.5.2 (don't want to involve .NET).
Successfully created a proxy using "Weservice Proxy Wizard".
Added pbsoapclient105.pbd to the library list. All the
required DLL's (extracted using the pb runtime packager) and
the pbls are in the same directory "SOAPDLL".

Webservice was created:
http://www.webservicex.net/uszip.asmx?WSDL

Web Service Generator Project Status
Deployment PBL: C:\SoapDLL\test.pbl
Clear PBL on build: No
Confirm overwrites: No
WSDL Location: http://www.webservicex.net/uszip.asmx?WSDL
Use .NET Engine: No
Services selected :
Service USZip:
USZipSoap

Code:
SoapConnection conn // Define SoapConnection
uszipsoap proxy_obj // Declare proxy
conn = create SoapConnection //Instantiated connection
rVal = Conn.CreateInstance(proxy_obj, "USZipSoap")

CreateInstance give me an error. Even getting the same error
when I tried PB provided weservice example. Also tried in
other developer's PC too.
ErrorMessage: "Bad runtime reference"

Also wanted to share that when I try a import PB Extention
to import pbsoapclient105.pbx, it gives me a message:
---------- Import PB Extension:
Importing C:\SoapDLL\pbsoapclient105.pbx - Error: The file
is not a valid dll or pbx file.
---------- Finished

Appreciate your response.

ZK


> It works great for me. It's hard to tell what you're
> doing with only this much information.
>
> Is the classname of your proxy really testpport?
>
> You have included the PBD file for the PBNI extensions in
> your library list?
>
> On Wed, 16 Apr 2008 14:42:38 -0700 (PDT), Jerry
> <hood...@gmail.com> wrote:
>
> >error - R0021 when "conn.CreateInstance(cj,"testpport")"
> is executed. >I've moved the pbl in the libpath around
> using all combiniation. I've >checked the connection
> object using isvalid() and it is ok. I've run >out of
> changes to apply. Can anyone help? using pb 10.2.1 build
> 9004 >under win2000 sp4. can execute webservice with 3rd
> party tool with no >problem.
>

jp.bar...@gmail.com

unread,
Feb 19, 2013, 7:24:28 AM2/19/13
to
Did you solve your problem ?
I have the same at the moment using PB 11.5: runtime error in the SDK. But when I generate an EXE and run it, it runs without errors.

bruce.a...@yahoo.com

unread,
Feb 22, 2013, 8:21:10 PM2/22/13
to
Most of the groups shown in Google are no longer active on the Sybase server. In addition, the remaining Sybase newsgroups will be shut down shortly. If you post here most people who take the time to answer questions will never see it.

Instead, post your question in the SAP Community Network (SCN) PowerBuilder Developer Center forums:

http://scn.sap.com/community/developer-center/powerbuilder/content?filterID=content~objecttype~objecttype[thread]
0 new messages