[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Using Interchange as a SOAP server




Kevin Walsh wrote:

Dr. Michael Streubel suppressed wrote:
Yes, I've got it to work. For IC 5.2 (perhaps 5.0 also), in your catalog
configuration you must have
SOAP_Control  Tag/userdb local

(the values of this directive can be local, always, never).

However, it appears to me that there is a bug in Vend/SOAP.pm where there
is a loop of the form
for $subref ($Global::SOAP_Control,     $Vend::Cfg->{SOAP_Control}) {

with the intention to give global control configurations precedence over
local ones. But that doesn't seem to work. So replace this statement by

for $subref ( $Vend::Cfg->{SOAP_Control}) {

and it'll work. Hope that helps.

A better patch could be to add the line marked with a "+" below:

       for $subref ($Global::SOAP_Control,
                                $Vend::Cfg->{SOAP_Control}) {
+               next unless $subref;
               @args = @_;

I haven't tested that patch, but it looks as if it'll fix the problem
you described.

Well, I guess the patch should be something like

+               next unless keys %$subref;


since $Global::SOAP_Control is an existing hash reference in any case.
But thanks for your looking into it more closely.

Michael

--
Dr. Michael Streubel
IBP Providers Ltd.
Schlossallee 30
65388 Schlangenbad-Georgenborn
Germany

Tel: 06129/502947
Fax: 06129/502946
Mobil:  0172/8615338
URL: http://www.ibizplanet.com

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.