Make sure that you are using Axis 1.4. Also, start with your WSDL file and generate the code from it.
Anne On 8/22/06, HHDirecto. Net <[EMAIL PROTECTED]> wrote:
I read you solved to Eduardo this issue http://mail-archives.apache.org/mod_mbox/ws-axis-user/200511.mbox/[EMAIL PROTECTED] I have the same problem but I can't solve it. My wsdd description is: <service name="InterfazWeb" provider="java:RPC" style="wrapped" use="literal"> <parameter name="className" value="es.ceit.moduloingenieria.serviciosweb.interfazweb.InterfazWeb"/> <parameter name="allowedMethods" value="*"/> <beanMapping qname="ns:PlantaIW" xmlns:ns="http://interfazweb.serviciosweb.moduloingenieria.ceit.es" languageSpecificType="java:es.ceit.moduloingenieria.serviciosweb.interfazweb.elementos.PlantaIW"/> <beanMapping qname="ns:UsuarioIW" xmlns:ns="http://interfazweb.serviciosweb.moduloingenieria.ceit.es" languageSpecificType="java:es.ceit.moduloingenieria.serviciosweb.interfazweb.elementos.UsuarioIW"/> <requestFlow> <handler type="java:es.ceit.moduloingenieria.serviciosweb.AutenticacionSoap"></handler> </requestFlow> </service> The returned object is UsuarioIW, and it have an array of plantaIW elements but the return of webservice is: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><validarResponse xmlns="http://interfazweb.serviciosweb.moduloingenieria.sample.es"><validarReturn><apellidos>Uno</apellidos><email> [EMAIL PROTECTED]</email><esCliente>true</esCliente><nombre>Usuario</nombre><notificacionesPendientes>false</notificacionesPendientes> <permisos><permisos>1</permisos><permisos>2</permisos></permisos> <plantas><plantas><direccion>midir</direccion><idEmpresa>1</idEmpresa><idPlanta>1</idPlanta><nombre>planta1</nombre><tecnologia xsi:nil="true"/><telefono>948</telefono></plantas></plantas> <telefono>943556685</telefono><usuario>usuario1</usuario></validarReturn></validarResponse></soapenv:Body></soapenv:Envelope> And I think it should be: <permisos><int>1</ int >< int >2</ int ></permisos> <plantas>< PlantaIW ><direccion>midir</direccion><idEmpresa>1</idEmpresa><idPlanta>1</idPlanta><nombre>planta1</nombre><tecnologia xsi:nil="true"/><telefono>948</telefono></ PlantaIW ></plantas> The .net client don't read successfull this arrays Thanks in advance
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
