Closed
Bug 240641
Opened 20 years ago
Closed 7 years ago
Arrays are not properly encoded
Categories
(Core Graveyard :: Web Services, defect)
Core Graveyard
Web Services
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: bugs, Unassigned)
References
()
Details
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.
Updated•15 years ago
|
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
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•