Okay.. i have no other ideas, sorry, but it sounds like a namespace problem.

 

Good luck,

christian

 

 

-----Ursprüngliche Nachricht-----
Von: Antonio Ruiz Martínez [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 22. Juni 2005 21:31
An: axis-user@ws.apache.org
Betreff: Re: AW: WSDL2Java Bug?

 

Hello!

Christian Kunert wrote:

..The paramter Signatur of method " validaSig " is not defined anywhere.
 
  

But it imported from xmldsig, with

<s:import namespace="http://www.w3.org/2000/09/xmldsig#" 
schemaLocation="http://ea.carm.es/schemas/funcionales/efirma/xmldsig-core-schema.xsd"/>
 
Regards,
Antonio.
 
 
-----Ursprüngliche Nachricht-----
Von: Antonio Ruiz Martínez [mailto:[EMAIL PROTECTED]] 
Gesendet: Mittwoch, 22. Juni 2005 21:13
An: axis-user@ws.apache.org
Betreff: Re: WSDL2Java Bug?
 
Hello!
 
Sorry I forgot attach the wsld, here is:
 
<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
Antonio Ruiz Martínez wrote:
 
  
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 is correct.
 
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(SymbolTablejava: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)
 
Could you tell me how I can solve it, please?
Regards,
Antonio.
 
    
 
 
  




-- 
------------------------------------------------------
Antonio Ruiz Martínez
Faculty of Computer Science-University of Murcia
30071 Murcia - Spain
e-mail: [EMAIL PROTECTED] or arm [at] dif [dot] um [dot] es
------------------------------------------------------

Reply via email to