Hello!

I have a problem with Axis 1.2.1. I thing that it is a bug because the wsdl is very simple and I think it is correct. But the bizarre thing it is that I have check it with other axis 1.2 (rc2, rc3) and it doesn't work either. Howerver, this wsdl works with 1.1 but for other problem I need to use 1.2 either rc2 or rc3 or final or 1.2.1. Then I don't know if the problem is mine or the problem comes from Axis.

I need generate the code with axis 1.2 but I don't know how I can do it. Is there any form to mix 1.1 and 1.2?
Could you help me, please?

Here is the error:
java org.apache.axis.wsdl.WSDL2Java --server-side --skeletonDeploy true -t -p validate simple.wsdl java.io.IOException: Type {http://www.w3.org/2000/09/xmldsig#}Reference is referenced but not defined. at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(Symbol
Table.java:665)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:545) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
      at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
      at java.lang.Thread.run(Unknown Source)

Here the wsdl:

<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"; xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:ns0="http://ea.carm.es/schemas/basicos/seguridad/certificados/respuestaCertificado.xsd"; xmlns:s="http://www.w3.org/2001/XMLSchema"; xmlns:s0="http://ea.carm.es/schemas/basicos/seguridad/certificados/ValidaCertificadoWS.xsd"; xmlns:s1="http://ea.carm.es/schemas/basicos/seguridad/certificados/ValidaCertificadoWS.wsdl"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ds="http://www.w3.org/2000/09/xmldsig#"; targetNamespace="http://ea.carm.es/schemas/basicos/seguridad/certificados/ValidaCertificadoWS.wsdl";>
  <types>
      <s:schema targetNamespace="mitarjet.xsd">
<s:import namespace="http://www.w3.org/2000/09/xmldsig#"; schemaLocation="http://ea.carm.es/schemas/funcionales/efirma/xmldsig-core-schema.xsd"/>
      </s:schema>
  </types>
  <message name="validaSigSoapIn">
      <part name="parameters" element="ds:Signature"/>
  </message>
  <message name="validaSigSoapOut">
      <part name="parameters" element="ds:Signature"/>
  </message>
  <portType name="ValidaSigWSSoap">
      <operation name="validaSig">
          <input message="s1:validaSigSoapIn"/>
          <output message="s1:validaSigSoapOut"/>
      </operation>
  </portType>
  <binding name="ValidaSigWSSoap" type="s1:ValidaSigWSSoap">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
      <operation name="validaSig">
<soap:operation soapAction="http://ea.carm.es/schemas/basicos/seguridad/certificados/ValidaCertificadoWS.wsdl/validaSig"; style="document"/>
          <input>
              <soap:body use="literal"/>
          </input>
          <output>
              <soap:body use="literal"/>
          </output>
      </operation>
  </binding>
  <service name="ValidaSigWS">
      <port name="ValidaSigWSSoap" binding="s1:ValidaSigWSSoap">
<soap:address location="http://miip:80/servicios/basicos/seguridad/certificados/ValidaCertificadoWS.jws"/>
      </port>
  </service>
</definitions>

Regards,
Antonio

Reply via email to