Re: SOAP problem with array encoding
Martin Honnen <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | Liberty Development |
| Message-ID | <ctlnab$4ub1__5837.24514949626$1107191952$gmane$org@ripley.netscape.com> |
Hiran Chaudhuri wrote: > Having tried SOAP calls from JavaScript in Mozilla and succeeded with > simple ones, I currently don't know how to handle arrays. Has anyone > out there had a similar problem already? Which API in Mozilla are you using, the one more low level, described here: <http://web.archive.org/web/20031204005226/devedge.netscape.com/viewsource/2003/soap/01/> or the higher level one (web service proxying, but of course still uses SOAP), described here: <http://web.archive.org/web/20031202203447/http://devedge.netscape.com/viewsource/2003/wsdl/01/> As for the arrays, what are you trying exactly, passing arrays to the web service, receiving an array? How does the WSDL for the web service look (URL is better than posting that)? For complex arrays the section <http://lxr.mozilla.org/mozilla/source/extensions/webservices/docs/Soap_Scripts_in_Mozilla.html#3.8_Using_Schema_Types> lists some hints. Followup-to xml group set as I think it belongs there. As for others running into problems with arrays Google finds stuff of course: <http://groups-beta.google.com/groups?as_q=SOAP%20call%20array&safe=images&as_ugroup=*mozilla*&lr=&hl=en> maybe fine tune that search for more specific search terms. -- Martin Honnen http://JavaScript.FAQTs.com/