Bonjour,
Je me casse un peu le nez sur ce pb.
J'essaie d'exposé via Axis2 1.4.1 (via eclipse), la méthode suivante :
public voidscheduleTaskForInstantRun(String sessionId, int idTask, boolean queueIfNecessary, String contextParams[][])
J'ai pas mal cherché sur le net, mais sans réponse sur ce pb précis ( http://www.developpez.net/forums/d65...tableau-liste/ ) .
Le wsdl généré me semble incorrect car je ne vois plus de tableau (cf la ligne soulignée)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
| <?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://webservices.administrator.talend.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://webservices.administrator.talend.org">
<wsdl:documentation>
Please Type your service description here
</wsdl:documentation>
<wsdl:types>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://webservices.administrator.talend.org">
<xs:complexType name="Exception">
<xs:sequence>
<xs:element minOccurs="0" name="Exception" nillable="true" type="xs:anyType"/>
</xs:sequence>
</xs:complexType>
<xs:element name="Exception">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="Exception" nillable="true" type="ns:Exception"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="scheduleTaskForInstantRun">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="sessionId" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="idTask" type="xs:int"/>
<xs:element minOccurs="0" name="queueIfNecessary" type="xs:boolean"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="contextParams" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="scheduleTaskForInstantRunRequest">
<wsdl:part name="parameters" element="ns:scheduleTaskForInstantRun"/>
</wsdl:message>
<wsdl:message name="Exception">
<wsdl:part name="parameters" element="ns:Exception"/>
</wsdl:message>
<wsdl:portType name="AdministratorWebServicePortType">
<wsdl:operation name="scheduleTaskForInstantRun">
<wsdl:input message="ns:scheduleTaskForInstantRunRequest" wsaw:Action="urn:scheduleTaskForInstantRun"/>
<wsdl:fault message="ns:Exception" name="Exception" wsaw:Action="urn:scheduleTaskForInstantRunException"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="AdministratorWebServiceSoap11Binding" type="ns:AdministratorWebServicePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="scheduleTaskForInstantRun">
<soap:operation soapAction="urn:scheduleTaskForInstantRun" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:fault name="Exception">
<soap:fault use="literal" name="Exception"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="AdministratorWebServiceSoap12Binding" type="ns:AdministratorWebServicePortType">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="scheduleTaskForInstantRun">
<soap12:operation soapAction="urn:scheduleTaskForInstantRun" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:fault name="Exception">
<soap12:fault use="literal" name="Exception"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="AdministratorWebServiceHttpBinding" type="ns:AdministratorWebServicePortType">
<http:binding verb="POST"/>
<wsdl:operation name="scheduleTaskForInstantRun">
<http:operation location="AdministratorWebService/scheduleTaskForInstantRun"/>
<wsdl:input>
<mime:content type="text/xml" part="scheduleTaskForInstantRun"/>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="AdministratorWebService">
<wsdl:port name="AdministratorWebServiceHttpSoap11Endpoint" binding="ns:AdministratorWebServiceSoap11Binding">
<soap:address location="http://10.101.201.16:8080/WebServiceProject/services/AdministratorWebService.AdministratorWebServiceHttpSoap11Endpoint/"/>
</wsdl:port>
<wsdl:port name="AdministratorWebServiceHttpSoap12Endpoint" binding="ns:AdministratorWebServiceSoap12Binding">
<soap12:address location="http://10.101.201.16:8080/WebServiceProject/services/AdministratorWebService.AdministratorWebServiceHttpSoap12Endpoint/"/>
</wsdl:port>
<wsdl:port name="AdministratorWebServiceHttpEndpoint" binding="ns:AdministratorWebServiceHttpBinding">
<http:address location="http://10.101.201.16:8080/WebServiceProject/services/AdministratorWebService.AdministratorWebServiceHttpEndpoint/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions> |
:
Si quelqu'un a quelques idée.
Partager