SOAP Encoding arrays are not particularly interoperable. Can you convert to doc/literal?
If not, then you at least need to use the .NET SOAP Enocding fix. Add this parameter to your global configuration:

<parameter name="dotNetSoapEncFix" value="true"/>

This fix will change soapenc:string to xsd:string.

I also question whether the array is defined accurately. Is your Provider object supposed to include another Provider object? Because that's how it's defined now. (The "provider" element is defined as type="impl"Provider", not as a link or reference.)

How did you generate this WSDL?

Anne

On 6/28/06, Simon McMahon <[EMAIL PROTECTED] > wrote:
Hi,

My web service returns an array of "Provider" (see below).
The WSDL (see below) defines "Provider" with all my data elements but
adds the extra one on the end 'provider'. This appears to be a link
field, maybe to support the array of these things. This extra field
appears to mess up the consuming application (.NET).

I do the Axis side, not the .NET so I'm not sure what the .NET problem
is or how to do anything different on the Axis side. The .NET people
have asked me not to use this link field for the arrays. How can I do
that?

Any help would be appreciated.

Thanks,

Simon.

...
- <wsdl:types>
- <schema
targetNamespace="https://dev.health.qld.gov.au/axis/services/qh-providers "
xmlns="http://www.w3.org/2001/XMLSchema">
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/ " />

- <complexType name="Provider">
- <sequence>
  <element name="name" nillable="true" type="soapenc:string" />

  <element name="providerId" nillable="true" type="soapenc:string" />

  <element name="org" nillable="true" type="soapenc:string" />

  <element name="locationId" nillable="true" type="soapenc:string" />

  <element name="application" nillable="true" type="soapenc:string" />


  <element name="deliveryMethod" nillable="true" type="soapenc:string"
/>

  <element name="id" type="xsd:int" />

  <element name="provider" nillable="true" type="impl:Provider" />

  </sequence>


  </complexType>


- <complexType name="ArrayOfProvider">
- <complexContent>
- <restriction base="soapenc:Array">
  <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:Provider[]"
/>

  </restriction>


  </complexContent>


  </complexType>








Simon McMahon

Work: (07) 31311420
Mobile: (043) 2294180



*****************************************************************
This email, including any attachments sent with it, is
confidential and for the sole use of the intended recipient(s).
This confidentiality is not waived or lost, if you receive it and
you are not the intended recipient(s), or if it is transmitted/
received in error.

Any unauthorised use, alteration, disclosure, distribution or
review of this email is strictly prohibited.  The information
contained in this email, including any attachment sent with
it, may be subject to a statutory duty of confidentiality if it
relates to health service matters.

If you are not the intended recipient(s), or if you have
received this email in error, you are asked to immediately
notify the sender by telephone collect on Australia
+61 1800 198 175 or by return email.  You should also
delete this email, and any copies, from your computer
system network and destroy any hard copies produced.

If not an intended recipient of this email, you must not copy,
distribute or take any action(s) that relies on it; any form of
disclosure, modification, distribution and/or publication of this
email is also prohibited.

Although Queensland Health takes all reasonable steps to
ensure this email does not contain malicious software,
Queensland Health does not accept responsibility for the
consequences if any person's computer inadvertently suffers
any disruption to services, loss of information, harm or is
infected with a virus, other malicious computer programme or
code that may occur as a consequence of receiving this
email.

Unless stated otherwise, this email represents only the views
of the sender and not the views of the Queensland Government.
****************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to