Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: 10g ORA-30625: method dispatch on NULL SELF argument is disallowed

Re: 10g ORA-30625: method dispatch on NULL SELF argument is disallowed

From: joel garry <joel-garry_at_home.com>
Date: 22 May 2007 13:41:08 -0700
Message-ID: <1179866468.013669.22480@36g2000prm.googlegroups.com>


On May 21, 3:21 pm, jobs <j..._at_webdos.com> wrote:
> I found this site for using a web service from oracle 9i. I'm trying
> it from 10g
>
> http://www.oracle-base.com/articles/9i/ConsumingWebServices9i.php
>
> I have an intranet web service I know is working as I use it from
> other clients.
>
> but am getting this error when trying the example:
>
> Getting error: ORA-30625: method dispatch on NULL SELF argument is
> disallowed.
>
> on this line:
>
> l_fullname := soap_api.get_return_value(p_response => l_response,
> p_name => 'yyyResult',
> p_namespace =>
> 'xmlns:ns1="urn:http://www.xxx.net/"');
>
> which calls this in the soap_api package i downloaded and installed
> from the stie:
>
> FUNCTION get_return_value(p_response IN OUT NOCOPY t_response,
> p_name IN VARCHAR2,
> p_namespace IN VARCHAR2)
> RETURN VARCHAR2 AS
> --
> ---------------------------------------------------------------------
> BEGIN
> RETURN p_response.doc.extract('//'||p_name||'/
> child::text()',p_namespace).getstringval();
> END;
> --
> --------------------------------------------------------------------
>
> My test script:
>
> declare
> l_request soap_api.t_request;
> l_response soap_api.t_response;
> l_fullname varchar2(50);
> BEGIN
>
> l_request := soap_api.new_request(p_method => 'ns1:yyy',
> p_namespace =>
> 'xmlns:ns1="urn:http://www.xxx.net"');
>
> soap_api.add_parameter(p_request => l_request,
> p_name => 'userName',
> p_type => 'xsd:string',
> p_value => 'somestring');
>
> l_response := soap_api.invoke(p_request => l_request,
> p_url => 'http://64.186.30.53/
> securityservice/service.asmx',
> p_action => 'http://www.xxx.net/
> yyy');
>
> -- failing on the below line(21)
>
> l_fullname := soap_api.get_return_value(p_response => l_response,
> p_name => 'yyyResult',
> p_namespace =>
> 'xmlns:ns1="urn:http://www.xxx.net/"');
>
> dbms_output.put_line(l_fullname);
>
> end;
>
> Thanks for any help or information!!

Tim does host a technical forum on his site, link is on the left side of the page you posted...

jg

--
@home.com is bogus.
"They are the monorails of this decade: the wrong technology, totally
overpromised and completely undelivered." - Anthony Townsend on
municipal wi-fi http://www.foxnews.com/story/0,2933,274728,00.html
Received on Tue May 22 2007 - 15:41:08 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US