[ic] Using Interchange as a SOAP server
Dr. Michael Streubel
michael.streubel at ibizplanet.com
Wed Apr 13 07:06:17 EDT 2005
Kevin Walsh wrote:
>Dr. Michael Streubel [michael.streubel at ibizplanet.com] 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
More information about the interchange-users
mailing list