Arrays are not properly encoded

RESOLVED INCOMPLETE

Status

Core Graveyard
Web Services
RESOLVED INCOMPLETE
14 years ago
a month ago

People

(Reporter: Ben Goodger (use ben at mozilla dot org for email), Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

This is hard to properly describe so see the URL above. 

Server side Java Service implements an interface with a method taking an array
of a complex type (Extension), e.g. serviceFunc(Extension[] inArray)

Axis generates WSDL (see URL above) that describes the interface and the method
as taking an ArrayOfExtension, which has enc:arrayType="impl:Extension[]", where
Extension is a complexType (see WSDL in URL above).

Client JS packages up a js obj into an array and WSDL proxy incorrectly encodes
array of complex types as a struct, not a sequence of structs, and sets
enc:arrayType to "anyType"

In short: I can't do 

var ary = [{ prop1: val1, prop2: val2, ... }];
wsdlProxy.serviceFunc(ary);

and have it actually work.
Assignee: web-services → nobody
QA Contact: doronr → web-services
Native WSDL and SOAP support has been removed from Mozilla 1.9/Firefox 3
Status: NEW → RESOLVED
Last Resolved: 2 months ago
Resolution: --- → INCOMPLETE

Updated

a month ago
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.