axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emilio David Diaus López (JIRA) <j...@apache.org>
Subject [jira] [Updated] (AXIS2-5122) Problem using wsdl2java with a specific wsdl file
Date Fri, 19 Aug 2011 08:03:28 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emilio David Diaus López updated AXIS2-5122:
--------------------------------------------

    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

  was:
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


> Problem using wsdl2java with a specific wsdl file
> -------------------------------------------------
>
>                 Key: AXIS2-5122
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5122
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.5.3, 1.5.4, 1.5.5, 1.6.0
>         Environment: Windows, wsdl2java , netbeans
>            Reporter: Emilio David Diaus López
>              Labels: wsdl, wsdl2java
>
> 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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message