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