
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Problems with SOAP
Quoting Thomas Dan Otto (otto@onlinekaufen.de):
> Jon Jensen schrieb:
>
> > On Mon, 3 Dec 2001, Thomas Dan Otto wrote:
> >
> > > I was very happy to see, that SOAP is now integreted in IC 4.8.3.
> >
> > It's been part of IC since the 4.7 days, actually.
> >
> > > Also I tried to contact to a SOAP-server, helloworld example (from
> > > www.soaplite.com) on my localhost. The call looks like:
> > >
> > > my $text = q{[soap
> > > uri="http://localhost:80/Demo";
> > > proxy="http://localhost:80/cgi-bin/hibye.cgi";
> > > call="hi"
> > > ]};
> > > (In a single perl script, it's okay...)
> > >
> > > The only thing happend, is that $text has the string as value=[soap
> > > uri="ht...]. It seem, that the tag it is not "compiled". Nothing is
> > > written in the error.log. Do you have an idea?
> >
> > You probably mean something like:
> >
> > my $text = $Tag->soap({
> > uri => "http://localhost:80/Demo",
> > proxy => "http://localhost:80/cgi-bin/hibye.cgi",
> > call => "hi",
> > });
>
> Thanks, - looked too much in soap.html.
>
> But I have still problems. Here an extract of the icdebug:
> Vend::SOAP:debug: error on SOAP call: require trapped by operation mask
> at /usr/lib/perl5/site_perl/5.6.1/LWP/UserAgent.pm line 4.
> Compilation failed in require at
> /usr/lib/perl5/site_perl/5.6.1/SOAP/Transport/HTTP.pm line
> 52.
>
The SOAP module cannot be used in embedded Perl without AllowGlobal, because
it does a "require" even when it already has the module.
That is why the example showed
[calc]
my $text = q{[soap
uri="http://localhost:80/Demo"
proxy="http://localhost:80/cgi-bin/hibye.cgi"
call="hi"
]};
[/calc]
Of course that means this is all done before the [calc] region gets run.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Software axiom: Lack of speed kills.
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users