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

RE: [ic] Using Interchange as a SOAP server


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.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    suppressed
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/

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