|
Hello, To deploy my webservice I use a file (deploy.wsdd). With a C# client , the webservice return always null. Here is my deploy.wsdd : Thanks, <deployment name="WSControle1" xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" > <service name="WSControle1" provider="java:RPC" style="document" use="literal" > <namespace>http://fr.test/</namespace> <parameter name="className" value="fr.test.bpel.service.WSControle1"/> <parameter name="allowedMethods" value="*"/> <!-- parameter name="scope" value="application"/ --> <beanMapping qname="ns:Erreur" xmlns:ns="http://fr.test/xsd" languageSpecificType="java:fr.test.bpel.domaine.Erreur" /> <beanMapping qname="ns:Notice" xmlns:ns="http://fr.test/xsd" languageSpecificType="java:fr.test.bpel.domaine.Notice" /> <typeMapping xmlns:ns="http://fr.test/xsd" qname="ns:ArrayOf_xsd_string" type="java:java.lang.String[]" serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> <operation name="controle" returnQName="return" returnType="RTypeNS:Erreur" xmlns:RTypeNS="http://fr.test/xsd" > <parameter name="notice" type="tns:Notice" xmlns:tns="http://fr.test/xsd" /> </operation> </service> </deployment> Here is my WSDL : <wsdl:definitions targetNamespace="http://fr.test/"> - <!-- WSDL created by Apache Axis version: 1.2.1 Built on Jun 07, 2005 (10:11:43 EDT) --> - <wsdl:types> - <schema elementFormDefault="qualified" targetNamespace="http://fr.test/xsd"> <import namespace="http://fr.test/"/> - <complexType name="Notice"> - <sequence> <element name="dateDocument" nillable="true" type="xsd:string"/> <element name="emetteur" nillable="true" type="xsd:string"/> <element name="titre" nillable="true" type="xsd:string"/> <element name="typeDocument" nillable="true" type="xsd:string"/> <element name="urlDocument" nillable="true" type="xsd:string"/> </sequence> </complexType> - <complexType name="Erreur"> - <sequence> <element name="codeErreur" type="xsd:int"/> <element name="libellesErreurs" nillable="true" type="impl:ArrayOf_xsd_string"/> </sequence> </complexType> </schema> - <schema elementFormDefault="qualified" targetNamespace="http://fr.test/"> <import namespace="http://fr.test/xsd"/> <element name="notice" type="tns1:Notice"/> - <complexType name="ArrayOf_xsd_string"> - <sequence> <element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:string"/> </sequence> </complexType> <element name="return" type="tns1:Erreur"/> </schema> </wsdl:types> - <wsdl:message name="controleResponse"> <wsdl:part element="impl:return" name="return"/> </wsdl:message> - <wsdl:message name="controleRequest"> <wsdl:part element="impl:notice" name="notice"/> </wsdl:message> - <wsdl:portType name="WSControle1"> - <wsdl:operation name="controle" parameterOrder="notice"> <wsdl:input message="impl:controleRequest" name="controleRequest"/> <wsdl:output message="impl:controleResponse" name="controleResponse"/> </wsdl:operation> </wsdl:portType> - <wsdl:binding name="WSControle1SoapBinding" type="impl:WSControle1"> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="controle"> <wsdlsoap:operation soapAction=""/> - <wsdl:input name="controleRequest"> <wsdlsoap:body use="literal"/> </wsdl:input> - <wsdl:output name="controleResponse"> <wsdlsoap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> - <wsdl:service name="WSControle1Service"> - <wsdl:port binding="impl:WSControle1SoapBinding" name="WSControle1"> <wsdlsoap:address location="http://localhost:8080/WSControle1/services/WSControle1"/> </wsdl:port> </wsdl:service> </wsdl:definitions> Anne Thomas Manes a écrit : Please post your WSDL. -- Jérôme PICARD - Consultant Technique Tél. : 01 34 65 54 85 - Fax : 01 34 65 79 40 Email : [EMAIL PROTECTED] ASTON, Architecte de votre système d'informations PARIS LYON TOULOUSE http://www.aston.fr |
- Re: Problem with an array of String. Jérôme PICARD
- Re: Problem with an array of String. Anne Thomas Manes
