I think the problem comes from a bad type of records mapped with the Web Service’s inputs…
the wsdl says:
<complexType name=“ArrayOfstring”>
<complexContent>
<restriction base=“soap:Array”>
<attribute ref=“soap:arrayType” wsdl:arrayType=“string” />
</restriction>
</complexContent>
</complexType>
[…]
<xsd:simpleType name=“typeDeConsultation”>
<xsd:restriction base=“xsd:string”>
<xsd:enumeration value=“periode” />
<xsd:enumeration value=“profondeur” />
<xsd:enumeration value=“uneSeuleDate” />
</xsd:restriction>
</xsd:simpleType>
[…]
<message name=“consultationDesSeriesRequest”>
<part name=“nomUtilisateur” type=“xsd:string” />
<part name=“motDePasse” type=“xsd:string” />
<part name=“sources” type=“tns:ArrayOfstring” />
<part name=“diffuseurs” type=“tns:ArrayOfstring” />
<part name=“identifiantsSerie” type=“tns:ArrayOfstring” />
<part name=“typeDeConsultation” type=“webservices:typeDeConsultation” />
<part name=“dateDebut” type=“xsd:string” />
<part name=“dateFin” type=“xsd:string” />
<part name=“typeDeProfondeur” type=“webservices:typeDeProfondeur” />
<part name=“profondeur” type=“xsd:int” />
<part name=“datePrecise” type=“xsd:string” />
</message>
and my question is: what kind of record do I have to use for the tns:ArrayOfstring and the webservices:typeDeConsultation ??
thanks for help,
Julien
#webMethods#soa#API-Management