http://www.perlmonks.org?node_id=776732


in reply to Re: SOAP::Lite - Problem with non-string parameters
in thread SOAP::Lite - Problem with non-string parameters

Dear A.M.,

I am still trying to understand what is going on here.

Do I have to use SOAP::Data::ComplexType? As I understand, the problem is that the types ns:WsQueryFilter and ns:WsSubjectLookup are not known. I would have thought that I could "just" define the unknown types. I have tried doing something like

parameters => [ SOAP::Data->new(name => 'clientVersion', type => 'xs:string', at +tr => {}), SOAP::Data->new(name => 'wsQueryFilter', type => \SOAP::Data->value( SOAP::Data->name(name => 'gro +upAttributeName', type =>'xs:string'), ... ) , attr => {} ), SOAP::Data->new(name => 'actAsSubjectLookup', type => 'ns:WsSubj +ectLookup', attr => {}), SOAP::Data->new(name => 'includeGroupDetail', type => 'xs:string +', attr => {}), SOAP::Data->new(name => 'params', type => 'ns:WsParam', attr => +{}), ], # end parameters

but this gives me the error

Schema/namespace for type 'REF(0x2728f88)' is not specified

Should I be defining the type somewhere else? If so, how? As I mentioned, my lack of SOAP knowledge is probably making this harder for me than it should be.

Thanks,

loris