BOURLON Agnès wrote:
I haven't tried eliminating xsi type with either of those, but from what I've seen I think GLUE supports untyped RPC but Apache SOAP does not. Perhaps someone with more experience on these two can comment and correct me if I'm wrong.Do you know if it can work (no xsi type) with GLUE Server or Apache SOAP Server?
As I read the SOAP 1.1 spec the Array type is required, though it can be a generic 'SOAP-ENC:arrayType="xsd:ur-type[4]', for instance. When this form is used the individual elements all need to give type information. From looking at the code I think Axis may put a stronger restriction on what can be sent, requiring that the type of the array elements be a specific serializable type. Either way some type information is going to be required for arrays. I don't know where else you've seen the types, if you have specific examples let me know.And a last question.. if we set the PROP_SEND_XSI to false in our Axis Client (that we use to test our service in Axis server) we noticed that some types in the envelope can contain the xsi types .... For example in the case of the Array type ..is it for fix the size during the deserialization?
Having the types included should never be harmful as far as I know.
- Dennis