Hi! I've been doing some researching, and I couldn't find the solution to my problem, so I decide to post here to see if any one can help me.
I've been provided with and WSDL and I must implement a WS in compliance with it. I attach this WSDL (WS_SIR8_A.wsdll). This wsd defines a WS, with one method "envioFicherosAAplicacion" which request contain an OctetStream[] (complextype ArrayOf_xsd_base64Binary ). I've generated the WSDD with: wsdl2java --server-side and I get the file attached as deplow.wsdd . It doesn't work so I'm trying to fix it. The closest I get is WS_SIR8_A.wsdd file attached here, but the wsdl generated by that wsdd does not fit the original one (generated.wsdl), the array of documents is not an attachment in this one. I'm using Axis 1.4. Does any body know what I am missing? Thx in advance, Nuria -- *Núria Gomis Berenguer* *Departamento de Desarrollo* *Teralco Tecnologías Informáticas* ngo...@teralco.com · Tel. 965 68 87 02 Avda. de Cartagena 1 Entlo, · 03195 El Altet - Elche (Alicante) · www.teralco.com *AVISO LEGAL:Este mensaje se dirige exclusivamente a su destinatario y puede contener información reservada y/o CONFIDENCIAL. Si Vd. no es el destinatario original no está autorizado a copiar o distribuir esta comunicación a ninguna otra persona. Si ha recibido este mensaje por error, le rogamos nos lo comunique inmediatamente por esta misma vía y proceda a su borrado. **Gracias**.* *DISCLAIMER:This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege. If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has *
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <wsdl:definitions xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://impl.manager.cct.map.es" xmlns:intf="http://impl.manager.cct.map.es" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://impl.manager.cct.map.es/cir" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://impl.manager.cct.map.es"> <wsdl:types> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://impl.manager.cct.map.es/cir"> <import namespace="http://impl.manager.cct.map.es" /> <import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> <complexType name="RespuestaWS"> <sequence> <element name="codigo" nillable="false" type="xsd:string" /> <element name="descripcion" nillable="false" type="xsd:string" /> </sequence> </complexType> </schema> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://impl.manager.cct.map.es"> <import namespace="http://impl.manager.cct.map.es/cir" /> <import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> <complexType name="ArrayOf_xsd_base64Binary"> <complexContent> <restriction base="soapenc:Array"> <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:base64Binary[]" /> </restriction> </complexContent> </complexType> </schema> </wsdl:types> <wsdl:message name="WS_SIR8_ARequest"> <wsdl:part name="registro" type="xsd:string" /> <wsdl:part name="firmaRegistro" type="xsd:string" /> <wsdl:part name="documento" type="impl:ArrayOf_xsd_base64Binary" /> </wsdl:message> <wsdl:message name="WS_SIR8_AResponse"> <wsdl:part name="registrarReturn" type="tns1:RespuestaWS" /> </wsdl:message> <wsdl:portType name="WS_SIR8_A"> <wsdl:operation name="envioFicherosAAplicacion" parameterOrder="registro firmaRegistro documento"> <wsdl:input message="impl:WS_SIR8_ARequest" name="WS_SIR8_ARequest" /> <wsdl:output message="impl:WS_SIR8_AResponse" name="WS_SIR8_AResponse" /> </wsdl:operation> </wsdl:portType> <wsdl:binding name="WS_SIR8_ASoapBinding" type="impl:WS_SIR8_A"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="envioFicherosAAplicacion"> <wsdlsoap:operation soapAction="" /> <wsdl:input name="WS_SIR8_ARequest"> <mime:multipartRelated> <mime:part> <wsdlsoap:body parts="registro" use="literal" /> </mime:part> <mime:part> <wsdlsoap:body parts="firmaRegistro" use="literal" /> </mime:part> <mime:part> <mime:content part="documento" type="application/octet-stream" /> </mime:part> </mime:multipartRelated> </wsdl:input> <wsdl:output name="WS_SIR8_AResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://impl.manager.cct.map.es" use="encoded" /> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="WS_SIR8_AService"> <wsdl:port binding="impl:WS_SIR8_ASoapBinding" name="WS_SIR8_A"> <wsdlsoap:address location="http://localhost/services/WS_SIR8_A" /> </wsdl:port> </wsdl:service> </wsdl:definitions>
<wsdl:definitions targetNamespace="http://impl.manager.cct.map.es"><!--WSDL created by Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48 PDT) --> <wsdl:types> <schema targetNamespace="http://impl.manager.cct.map.es"> <import namespace="http://xml.apache.org/xml-soap" /> <import namespace="http://impl.manager.cct.map.es/cir" /> <import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> <complexType name="ArrayOf_xsd_base64Binary"> <complexContent> <restriction base="soapenc:Array"> <attribute ref="soapenc:arrayType" wsdl:arrayType="apachesoap:DataHandler[]" /> </restriction> </complexContent> </complexType> </schema> <schema targetNamespace="http://impl.manager.cct.map.es/cir"> <import namespace="http://xml.apache.org/xml-soap" /> <import namespace="http://impl.manager.cct.map.es" /> <import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> <complexType name="RespuestaWS"> <sequence> <element name="codigo" type="xsd:string" /> <element name="descripcion" type="xsd:string" /> </sequence> </complexType> </schema> </wsdl:types> <wsdl:message name="envioFicherosAAplicacionRequest"> <wsdl:part name="registro" type="xsd:string" /> <wsdl:part name="firmaRegistro" type="xsd:string" /> <wsdl:part name="documento" type="impl:ArrayOf_xsd_base64Binary" /> </wsdl:message> <wsdl:message name="envioFicherosAAplicacionResponse"> <wsdl:part name="registrarReturn" type="tns1:RespuestaWS" /> </wsdl:message> <wsdl:portType name="WS_SIR8_A"> <wsdl:operation name="envioFicherosAAplicacion" parameterOrder="registro firmaRegistro documento"> <wsdl:input message="impl:envioFicherosAAplicacionRequest" name="envioFicherosAAplicacionRequest" /> <wsdl:output message="impl:envioFicherosAAplicacionResponse" name="envioFicherosAAplicacionResponse" /> </wsdl:operation> </wsdl:portType> <wsdl:binding name="WS_SIR8_ASoapBinding" type="impl:WS_SIR8_A"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="envioFicherosAAplicacion"> <wsdlsoap:operation soapAction="" /> <wsdl:input name="envioFicherosAAplicacionRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://impl.manager.cct.map.es" use="encoded" /> </wsdl:input> <wsdl:output name="envioFicherosAAplicacionResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://impl.manager.cct.map.es" use="encoded" /> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="WS_SIR8_AService"> <wsdl:port binding="impl:WS_SIR8_ASoapBinding" name="WS_SIR8_A"> <wsdlsoap:address location="http://localhost:8080/gexflow/services/WS_SIR8_A" /> </wsdl:port> </wsdl:service> </wsdl:definitions>
--------------------------------------------------------------------- To unsubscribe, e-mail: axis1-java-user-unsubscr...@axis.apache.org For additional commands, e-mail: axis1-java-user-h...@axis.apache.org