Hello!

Thanks for your help.

Bouche Paul wrote:
Is the wsdl correct?
  
I think so. I'm attaching it at the end of the e-mail in case you want to see it.

Regards,
Antonio.

I remember seeing the problem and its discussion before on this list.  You might want to search the archives at the list. I just did that and check this out http://issues.apache.org/jira/browse/AXIS-1331.

  
Ok. I'll see these files.
Regards,
Antonio.
-- Paul


  
-----Original Message-----
From: Antonio Ruiz Martínez [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 4. Januar 2005 11:30
To: [EMAIL PROTECTED]
Subject: Bug in WSDL2JAVA?


Hello!

    I'm using wsdl2java to generate source code from a wsdl, 
and I don't 
known why in the source code and in the deploy file, with 
qname appears 
something as ns:>SignResponse when I understand that I shoud be 
ns:SignRequest. Could you tell me if there is a bug or I'm doing 
something wrong, please?

Thanks in advance,
Regards,
Antonio.

<typeMapping
        xmlns:ns="http://micropeich.dif.um.es/carm.xsd"
        qname="ns:>SignRequest"
        type="java:signservicerpc._SignRequest"
        
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://micropeich.dif.um.es/carm.xsd"
        qname="ns:>SignResponse"
        type="java:signservicerpc._SignResponse"
        
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />

-- 
------------------------------------------------------
Antonio Ruiz Martínez
e-mail: [EMAIL PROTECTED] or arm [at] dif [dot] um [dot] es
------------------------------------------------------


.

    

.


  
The wsdl file is:

<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:y="http://micropeich.dif.um.es/pruebacarmrpc.wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:dss="http://micropeich.dif.um.es/carm.xsd" targetNamespace="http://micropeich.dif.um.es/pruebacarmrpc.wsdl" name="CARMSignService">
    <types>
        <schema targetNamespace="http://micropeich.dif.um.es/carm.xsd" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
            <element name="SignRequest">
                <complexType>
                    <sequence>
                        <element name="ID" type="xs:string"/>
                        <element name="status" type="xs:int"/>
                    </sequence>
                    <attribute name="RequestID" type="xs:string" use="optional"/>
                    <attribute name="Profile" type="xs:string" use="optional"/>
                </complexType>
            </element>
            <element name="SignResponse">
                <complexType>
                    <sequence>
                        <element name="IDres" type="xs:string"/>
                        <element name="statusRes" type="xs:int"/>
                    </sequence>
                    <attribute name="RequestID" type="xs:string" use="optional"/>
                    <attribute name="Profile" type="xs:string" use="required"/>
                </complexType>
            </element>
        </schema>
    </types>
    <message name="SignRequestIn">
        <part name="body" element="dss:SignRequest"/>
    </message>
    <message name="SignRequestOut">
        <part name="body" element="dss:SignResponse"/>
    </message>
    <portType name="SignRequestSOAP">
        <operation name="getSign">
            <input message="y:SignRequestIn"/>
            <output message="y:SignRequestOut"/>
        </operation>
    </portType>
    <binding name="SignRequestSOAPrpc" type="y:SignRequestSOAP">
        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="getSign">
            <soap:operation soapAction="urn:eSignService#getSign"/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
    </binding>
    <service name="eSignService">
        <port name="eSignServiceSOAPrpc" binding="y:SignRequestSOAPrpc">
            <soap:address location="http://micropeich.dif.um.es:8080/axis/services/eSignServiceRPC"/>
        </port>
    </service>
</definitions>

-- 
------------------------------------------------------
Antonio Ruiz Martínez
e-mail: [EMAIL PROTECTED] or arm [at] dif [dot] um [dot] es
------------------------------------------------------

Reply via email to