Page 1 of 1

Problem with creating transient instance of JadeWebServiceCo

Posted: Fri Aug 07, 2009 12:51 pm
by ConvertFromOldNGs
by Manjit Kang >> Tue, 28 Jun 2005 1:34:27 GMT

Hi,

I am trying to create transient instance of JadeWebServiceConumer Class, but when I run the code, it gives null pointer exception.
my code is:

vars
oConsumer : JadeWebServiceConsumer;
begin
create oConsumer transient; // error happens here when executed

I am trying to dynamically connect to a Web service without importing WSDL file.

Thank you in advance for any helpfull information.

Re: Problem with creating transient instance of JadeWebServiceCo

Posted: Fri Aug 07, 2009 12:51 pm
by ConvertFromOldNGs
by cnwjre1 >> Tue, 28 Jun 2005 1:42:12 GMT

This is a fault which has been fixed in Jade 6.0.23 (see Par 37228).
The code is expecting to have some internal class details set up from a WSDL import, and these are missing.
You could detour it by importing a minimal WSDL, and then not using the methods and classes that it defines.