in reply to Re^2: perl, SOAP and C#
in thread perl, SOAP and C#
There are two issues here. First, you're blessing, into the current package, a hash reference with a single pair in which the key is $self. This makes me a little suspicious because $self is presumably a reference of some sort so I'm not totally clear on what the bless call is supposed to do. The second thing, which is what the error is coming from, is that you're calling the attr method, not on an object, but on the string 'compObj' which makes Perl think that attr is a class method in the package 'compObj', which I suspect is not what you want. Unfortunately I don't know what exactly the result is supposed to be so I can't suggest how to change it.value =>bless{ $self ,('compObj')->attr({ 'xsi:type' => 'typens:compOb +j' })}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: perl, SOAP and C#
by allenmpcx (Initiate) on Mar 27, 2006 at 19:04 UTC |