axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Ruiz (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-2086) WSDL2Java and xmldsig
Date Thu, 23 Jun 2005 17:50:23 GMT
WSDL2Java and xmldsig
---------------------

         Key: AXIS-2086
         URL: http://issues.apache.org/jira/browse/AXIS-2086
     Project: Apache Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.2, 1.2RC3, 1.2.1    
    Reporter: Antonio Ruiz


Hello!

The problem is that when wsdl2java proccesses the schema of xmldig it raises the following
error:

java.io.IOException: Type {http://www.w3.org/2000/09/xmldsig#}Reference is refer
enced 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.jav
a:518)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:495)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
        at java.lang.Thread.run(Unknown Source)

I attach the example with I'm testing it.

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

Thanks for your help,
Regards

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message