[Fedora-suds-list] Are multi dimensional arrays supported?

Jeff Ortel jortel at redhat.com
Wed Mar 11 20:19:49 UTC 2009


Can I get a concrete code example of what types you're creating and methods invoked when 
you have a problem?

Also, I can't remember if you requested this but FYI: 
https://fedorahosted.org/suds/wiki/TipsAndTricks#Types%20Names%20Containing%20(.)

Matt C wrote:
> Jeff: Here's a version of the WSDL - this is the same one that you 
> helped me with before (with the import issue you identified). It's all 
> part of the same project...note that you may need to make a string 
> substitution or two, as this is this WSDL uses a dot separator for 
> types, methods, etc.
> 
> Any guidance would be very much appreciated; these types are a real 
> challenge at the moment.
> 
> -Matt
> 
> On Tue, Mar 10, 2009 at 9:28 AM, Jeff Ortel <jortel at redhat.com 
> <mailto:jortel at redhat.com>> wrote:
> 
>     Can you send me a link (or copy) for the wsdl involved?
> 
> 
>     Mohamed Lrhazi wrote:
> 
>         Hi all,
> 
>         We have these WSDLs full of SequenceSequence types, that is an array
>         of array of some complex type...
>         I tried instantiating  the type, say, mytype,  then passing it to a
>         method that expects such beast as [[mytype]], or [ [mytype,],]
>         I always the excpetion that follows. Is this unsupported currently?
> 
>         /usr/lib/python2.5/site-packages/suds-0.3.5-py2.5.egg/suds/client.py
>         in invoke(self, args, kwargs)
>            469         binding = self.method.binding.input
>            470         binding.options = self.options
>         --> 471         msg = binding.get_message(self.method, args, kwargs)
>            472         timer.stop()
>            473         metrics.log.debug(
> 
>         /usr/lib/python2.5/site-packages/suds-0.3.5-py2.5.egg/suds/bindings/binding.py
>         in get_message(self, method, args, kwargs)
>             96         content = self.headercontent(method)
>             97         header = self.header(content)
>         ---> 98         content = self.bodycontent(method, args, kwargs)
>             99         body = self.body(content)
>            100         env = self.envelope(header, body)
> 
>         /usr/lib/python2.5/site-packages/suds-0.3.5-py2.5.egg/suds/bindings/rpc.py
>         in bodycontent(self, method, args, kwargs)
>             61             p = self.mkparam(method, pd, value)
>             62             if p is not None:
>         ---> 63                 root.append(p)
>             64             n += 1
>             65         return root
> 
>         /usr/lib/python2.5/site-packages/suds-0.3.5-py2.5.egg/suds/sax/element.py
>         in append(self, objects)
>            329                 child.parent = self
>            330                 continue
>         --> 331             raise Exception('append %s not-valid' %
>         child.__class__.__name__)
>            332         return self
>            333
> 
>         <type 'exceptions.Exception'>: append list not-valid
> 
> 
>         Thanks,
>         Mohamed.
> 
>         _______________________________________________
>         fedora-suds-list mailing list
>         fedora-suds-list at redhat.com <mailto:fedora-suds-list at redhat.com>
>         https://www.redhat.com/mailman/listinfo/fedora-suds-list
> 
> 
>     _______________________________________________
>     fedora-suds-list mailing list
>     fedora-suds-list at redhat.com <mailto:fedora-suds-list at redhat.com>
>     https://www.redhat.com/mailman/listinfo/fedora-suds-list
> 
> 




More information about the fedora-suds-list mailing list