Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: SOAP::Lite - Problem with non-string parameters

by Anonymous Monk
on Jun 24, 2009 at 11:42 UTC ( #774361=note: print w/ replies, xml ) Need Help??


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

That is a limitation of stubmaker, it can't deal with complex types. See SOAP::Data::ComplexType


Comment on Re: SOAP::Lite - Problem with non-string parameters
Replies are listed 'Best First'.
Re^2: SOAP::Lite - Problem with non-string parameters
by loris (Hermit) on Jul 02, 2009 at 12:52 UTC

    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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://774361]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (16)
As of 2015-07-31 22:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (282 votes), past polls