[ 
http://jira.codehaus.org/browse/XFIRE-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_113626
 ] 

Alexander Filipchik commented on XFIRE-831:
-------------------------------------------

I have same problem with:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://transport.ps.lanit.ru";
                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
                  xmlns:impl="http://transport.ps.lanit.ru";
                  xmlns:intf="http://transport.ps.lanit.ru";
                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
                  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
                  xmlns:xsd="http://www.w3.org/2001/XMLSchema";>


    <wsdl:types>
        <schema elementFormDefault="qualified" 
targetNamespace="http://transport.ps.lanit.ru";
                xmlns="http://www.w3.org/2001/XMLSchema";>
            <xsd:element name="putRequest">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="data" type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="putResponse">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="data" type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="getRequest">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="data" type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="getResponse">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="data" type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
        </schema>
    </wsdl:types>

    <wsdl:message name="putRequest">
        <wsdl:part name="payload" element="impl:putRequest"/>
    </wsdl:message>

    <wsdl:message name="putResponse">
        <wsdl:part name="payload" element="impl:putResponse"/>
    </wsdl:message>

    <wsdl:message name="getRequest">
        <wsdl:part name="payload" element="impl:getRequest"/>
    </wsdl:message>

    <wsdl:message name="getResponse">
        <wsdl:part name="payload" element="impl:getResponse"/>
    </wsdl:message>

    <wsdl:portType name="TransportService">
        <wsdl:operation name="put">
            <wsdl:input message="impl:putRequest"/>
            <wsdl:output message="impl:putResponse"/>
        </wsdl:operation>
        <wsdl:operation name="get">
            <wsdl:input message="impl:getRequest"/>
            <wsdl:output message="impl:getResponse"/>
        </wsdl:operation>
    </wsdl:portType>

    <wsdl:binding name="TransportServiceSoapBinding" 
type="impl:TransportService">
        <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="put">
            <wsdl:input name="putRequest">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="putResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="get">
            <wsdl:input name="getRequest">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="getResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>

    <wsdl:service name="TransportService">
        <wsdl:port binding="impl:TransportServiceSoapBinding" name="soap">
            <soap:address location="http://localhost:8192/TransportService/"/>
        </wsdl:port>
    </wsdl:service>

</wsdl:definitions>


> java.lang.StackOverflowError when passing Object[] 
> ---------------------------------------------------
>
>                 Key: XFIRE-831
>                 URL: http://jira.codehaus.org/browse/XFIRE-831
>             Project: XFire
>          Issue Type: Bug
>          Components: Aegis Module
>    Affects Versions: 1.2.4
>            Reporter: Karthikeyan M.
>            Assignee: Dan Diephouse
>         Attachments: XFireAegis831Test.java
>
>
> ========soap request================
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
>                       xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
>                       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>   <soapenv:Body>
>        <objectArrayTest xmlns="http://abc.com/V1";>
>               <params>
>                  <xsd:anyType>1</xsd:anyType>
>                  <xsd:anyType>2</xsd:anyType>
>               </params>
>        </objectArrayTest>
>   </soapenv:Body>
> </soapenv:Envelope>
>    
> ===========wsdl snippet========   
> <xsd:element name="objectArrayTest"> 
>       <xsd:complexType> 
>               <xsd:sequence> 
>                       <xsd:element maxOccurs="1" minOccurs="1" name="params" 
> nillable="true" type="xsd:ArrayOfAnyType"/> 
>               </xsd:sequence> 
>       </xsd:complexType> 
> </xsd:element>  
> <xsd:complexType name="ArrayOfAnyType"> 
>       <xsd:sequence> 
>               <xsd:element maxOccurs="unbounded" minOccurs="0" name="anyType" 
> nillable="true" type="xsd:anyType"/> 
>       </xsd:sequence> 
> </xsd:complexType> 
> ==================java.lang.StackOverflowError================
> java.lang.StackOverflowError
>       
> com.ctc.wstx.sr.NsAttributeCollector.getValue(NsAttributeCollector.java:293)
>       
> com.ctc.wstx.sr.WstxStreamReader.getAttributeValue(WstxStreamReader.java:534)
>       
> org.codehaus.xfire.util.stax.DepthXMLStreamReader.getAttributeValue(DepthXMLStreamReader.java:75)
>       
> org.codehaus.xfire.util.stax.DepthXMLStreamReader.getAttributeValue(DepthXMLStreamReader.java:75)
>       
> org.codehaus.xfire.aegis.stax.ElementReader.getAttributeReader(ElementReader.java:251)
>       
> org.codehaus.xfire.aegis.type.basic.ObjectType.readObject(ObjectType.java:70)
>       
> org.codehaus.xfire.aegis.type.basic.ObjectType.readObject(ObjectType.java:133)
>       
> org.codehaus.xfire.aegis.type.basic.ObjectType.readObject(ObjectType.java:133)
>       
> org.codehaus.xfire.aegis.type.basic.ObjectType.readObject(ObjectType.java:133)
>        .......
>       
> org.codehaus.xfire.aegis.type.basic.ObjectType.readObject(ObjectType.java:133)
>       
> org.codehaus.xfire.aegis.type.basic.ObjectType.readObject(ObjectType.java:133)
>       
> org.codehaus.xfire.aegis.type.basic.ObjectType.readObject(ObjectType.java:133)
> =============xfire code=======
> org.codehaus.xfire.aegis.type.basic.ObjectType:
> 110: type = tm.getType( typeQName );
> <code>type</code> here always returns the same instance causing the recursion 
> to stackoverflow.

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

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to