Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5122

Problem using wsdl2java with a specific wsdl file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5.3, 1.5.4, 1.5.5, 1.6.0
    • None
    • wsdl
    • Windows, wsdl2java , netbeans

    Description

      when using "C:\Program Files (x86)\Axis\bin\wsdl2java" -uri "wsdl.xml" -p ConexionRegistroAEPD -Ejavaversion 1.6 -d xmlbeans -sp -a -uw -s -f -or -ap -u -o class-unwrapped in this wsdl.xml
      <?xml version="1.0" encoding="UTF-8"?>
      <wsdl:definitions targetNamespace="https://www.aespd.es/agenciapd/axis/SolicitudService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="https://www.aespd.es/agenciapd/axis/SolicitudService" xmlns:intf="https://www.aespd.es/agenciapd/axis/SolicitudService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <wsdl:message name="registrarPdfRequest">
      <wsdl:part name="pdf" type="xsd:string"/>
      </wsdl:message>
      <wsdl:message name="probarXmlRequest">
      <wsdl:part name="xml" type="xsd:string"/>
      </wsdl:message>
      <wsdl:message name="registrarXmlRequest">
      <wsdl:part name="xml" type="xsd:string"/>
      </wsdl:message>
      <wsdl:message name="probarXmlResponse">
      <wsdl:part name="probarXmlReturn" type="xsd:string"/>
      </wsdl:message>
      <wsdl:message name="registrarPdfResponse">
      <wsdl:part name="registrarPdfReturn" type="xsd:base64Binary"/>
      </wsdl:message>
      <wsdl:message name="registrarXmlResponse">
      <wsdl:part name="registrarXmlReturn" type="xsd:string"/>
      </wsdl:message>
      <wsdl:portType name="JaxRpcSolicitudService">
      <wsdl:operation name="registrarPdf" parameterOrder="pdf">
      <wsdl:input message="impl:registrarPdfRequest" name="registrarPdfRequest"/>
      <wsdl:output message="impl:registrarPdfResponse" name="registrarPdfResponse"/>
      </wsdl:operation>
      <wsdl:operation name="probarXml" parameterOrder="xml">
      <wsdl:input message="impl:probarXmlRequest" name="probarXmlRequest"/>
      <wsdl:output message="impl:probarXmlResponse" name="probarXmlResponse"/>
      </wsdl:operation>
      <wsdl:operation name="registrarXml" parameterOrder="xml">
      <wsdl:input message="impl:registrarXmlRequest" name="registrarXmlRequest"/>
      <wsdl:output message="impl:registrarXmlResponse" name="registrarXmlResponse"/>
      </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="SolicitudServiceSoapBinding" type="impl:JaxRpcSolicitudService">
      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
      <wsdl:operation name="registrarPdf">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="registrarPdfRequest">
      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://servicioweb.agencia.com" use="encoded"/>
      </wsdl:input>
      <wsdl:output name="registrarPdfResponse">
      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="https://www.aespd.es/agenciapd/axis/SolicitudService" use="encoded"/>
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="probarXml">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="probarXmlRequest">
      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://servicioweb.agencia.com" use="encoded"/>
      </wsdl:input>
      <wsdl:output name="probarXmlResponse">
      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="https://www.aespd.es/agenciapd/axis/SolicitudService" use="encoded"/>
      </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="registrarXml">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="registrarXmlRequest">
      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://servicioweb.agencia.com" use="encoded"/>
      </wsdl:input>
      <wsdl:output name="registrarXmlResponse">
      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="https://www.aespd.es/agenciapd/axis/SolicitudService" use="encoded"/>
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="JaxRpcSolicitudServiceService">
      <wsdl:port binding="impl:SolicitudServiceSoapBinding" name="SolicitudService">
      <wsdlsoap:address location="https://www.aespd.es/agenciapd/axis/SolicitudService"/>
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>

      i get errors when i try to compille java code, if i correct java code it doesn't work and axis showme namespace exceptions.
      thanks for your time

      Attachments

        Activity

          People

            Unassigned Unassigned
            edavid Emilio David Diaus López
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: