You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Thomas Baier <th...@gmx.net> on 2012/02/23 16:18:26 UTC

axis2_http_server crash

Hi,

I am experiencing a crash in axis2_http_server (on Windows).

When trying to add a Service Reference to a web service hosted by
axis2_http_server (on Windows) with Visual Studio 2010, the server
process crashes (e.g. using the binary release adding
http://localhost:9090/services/Calculator?wsdl).

Everything works fine when adding a Web reference (VS2010 or VS2008).

I have tried both axis2c 1.6.0 and the 1.7.0.

Is this a known problem/limitation?

Best,
Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org


Re: axis2_http_server crash

Posted by Thomas Baier <th...@gmx.net>.
There seems to be no malloc()/free() problem (as far as I can tell, I've
tried to debug and instrument the code for some hours but from where the
crash occurs, I have no clue what the cause of the crash is), but
somehow, memory gets corrupted.

I've recorded the http requests (and responses) Visual Studio sends.
After the last one, axis2_http_server crashes. This should be
reproducable with a standard (binary) installation of axis2c.

GET
http://xlocalhostx:9090/services/Calculator?wsdl/_vti_bin/ListData.svc/$metadata
HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 4.0.30319.17020)
Host: xlocalhostx:9090

HTTP/1.1 200
Date: Thu Mar 15 08:51:10 2012 GMT
Server: Axis2C/1.7.0 (Simple Axis2 HTTP Server)
Content-Type: application/xml
Content-Length: 8014
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<!--
      -->
<!-- Licensed to the Apache Software Foundation (ASF) under one or more
      -->
<!-- contributor license agreements.  See the NOTICE file distributed
with    -->
<!-- this work for additional information regarding copyright ownership.
     -->
<!-- The ASF licenses this file to You under the Apache License, Version
2.0  -->
<!-- (the "License"); you may not use this file except in compliance
with     -->
<!-- the License.  You may obtain a copy of the License at
      -->
<!--
      -->
<!--      http://www.apache.org/licenses/LICENSE-2.0
      -->
<!--
      -->
<!-- Unless required by applicable law or agreed to in writing, software
     -->
<!-- distributed under the License is distributed on an "AS IS" BASIS,
      -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied. -->
<!-- See the License for the specific language governing permissions and
     -->
<!-- limitations under the License.
      -->
<!--
      -->
<wsdl:definitions
    targetNamespace="http://ws.apache.org/axis2/services/Calculator"
    xmlns:impl="http://ws.apache.org/axis2/services/Calculator"
    xmlns:type="http://ws.apache.org/axis2/services/Calculator/types"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
        <schema

targetNamespace="http://ws.apache.org/axis2/services/Calculator/types"
            xmlns="http://www.w3.org/2001/XMLSchema"
            xmlns:impl="http://ws.apache.org/axis2/services/Calculator"
            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
            <element name="add">
                <complexType>
                    <sequence>
                        <element name="param_1" type="xsd:int"/>
                        <element name="param_2" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="addResponse">
                <complexType>
                    <sequence>
                        <element name="result" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="sub">
                <complexType>
                    <sequence>
                        <element name="param_1" type="xsd:int"/>
                        <element name="param_2" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="subResponse">
                <complexType>
                    <sequence>
                        <element name="result" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="mul">
                <complexType>
                    <sequence>
                        <element name="param_1" type="xsd:int"/>
                        <element name="param_2" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="mulResponse">
                <complexType>
                    <sequence>
                        <element name="result" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="div">
                <complexType>
                    <sequence>
                        <element name="param_1" type="xsd:int"/>
                        <element name="param_2" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="divResponse">
                <complexType>
                    <sequence>
                        <element name="result" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
        </schema>
    </wsdl:types>

    <wsdl:message name="addResponse">
        <wsdl:part element="type:addResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="addRequest">
        <wsdl:part element="type:add" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="subResponse">
        <wsdl:part element="type:subResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="subRequest">
        <wsdl:part element="type:sub" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="divResponse">
        <wsdl:part element="type:divResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="divRequest">
        <wsdl:part element="type:div" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="mulResponse">
        <wsdl:part element="type:mulResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="mulRequest">
        <wsdl:part element="type:mul" name="parameters"/>
    </wsdl:message>

    <wsdl:portType name="CalculatorPortType">
        <wsdl:operation name="add">
            <wsdl:input message="impl:addRequest" name="addRequest"/>
            <wsdl:output message="impl:addResponse" name="addResponse"/>
        </wsdl:operation>
        <wsdl:operation name="sub">
            <wsdl:input message="impl:subRequest" name="subRequest"/>
            <wsdl:output message="impl:subResponse" name="subResponse"/>
        </wsdl:operation>
        <wsdl:operation name="mul">
            <wsdl:input message="impl:mulRequest" name="mulRequest"/>
            <wsdl:output message="impl:mulResponse" name="mulResponse"/>
        </wsdl:operation>
        <wsdl:operation name="div">
            <wsdl:input message="impl:divRequest" name="divRequest"/>
            <wsdl:output message="impl:divResponse" name="divResponse"/>
        </wsdl:operation>
    </wsdl:portType>

    <wsdl:binding name="CalculatorSoapBinding"
type="impl:CalculatorPortType">
        <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="add">
            <soap:operation soapAction="Calculator#add"/>
            <wsdl:input name="addRequest">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="addResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="sub">
            <soap:operation soapAction="Calculator#sub"/>
            <wsdl:input name="subRequest">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="subResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="mul">
            <soap:operation soapAction="Calculator#mul"/>
            <wsdl:input name="mulRequest">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="mulResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="div">
            <soap:operation soapAction="Calculator#div"/>
            <wsdl:input name="divRequest">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="divResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>

    <wsdl:service name="Calculator">
        <wsdl:port binding="impl:CalculatorSoapBinding"
name="CalculatorSOAPport_http">
            <soap:address
location="http://localhost:9090/axis2/services/Calculator"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>

GET http://xlocalhostx:9090/services/Calculator?wsdl HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 4.0.30319.17020)
Host: xlocalhostx:9090

HTTP/1.1 200
Date: Thu Mar 15 08:51:10 2012 GMT
Server: Axis2C/1.7.0 (Simple Axis2 HTTP Server)
Content-Type: application/xml
Content-Length: 8014
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<!--
      -->
<!-- Licensed to the Apache Software Foundation (ASF) under one or more
      -->
<!-- contributor license agreements.  See the NOTICE file distributed
with    -->
<!-- this work for additional information regarding copyright ownership.
     -->
<!-- The ASF licenses this file to You under the Apache License, Version
2.0  -->
<!-- (the "License"); you may not use this file except in compliance
with     -->
<!-- the License.  You may obtain a copy of the License at
      -->
<!--
      -->
<!--      http://www.apache.org/licenses/LICENSE-2.0
      -->
<!--
      -->
<!-- Unless required by applicable law or agreed to in writing, software
     -->
<!-- distributed under the License is distributed on an "AS IS" BASIS,
      -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied. -->
<!-- See the License for the specific language governing permissions and
     -->
<!-- limitations under the License.
      -->
<!--
      -->
<wsdl:definitions
    targetNamespace="http://ws.apache.org/axis2/services/Calculator"
    xmlns:impl="http://ws.apache.org/axis2/services/Calculator"
    xmlns:type="http://ws.apache.org/axis2/services/Calculator/types"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
        <schema

targetNamespace="http://ws.apache.org/axis2/services/Calculator/types"
            xmlns="http://www.w3.org/2001/XMLSchema"
            xmlns:impl="http://ws.apache.org/axis2/services/Calculator"
            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
            <element name="add">
                <complexType>
                    <sequence>
                        <element name="param_1" type="xsd:int"/>
                        <element name="param_2" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="addResponse">
                <complexType>
                    <sequence>
                        <element name="result" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="sub">
                <complexType>
                    <sequence>
                        <element name="param_1" type="xsd:int"/>
                        <element name="param_2" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="subResponse">
                <complexType>
                    <sequence>
                        <element name="result" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="mul">
                <complexType>
                    <sequence>
                        <element name="param_1" type="xsd:int"/>
                        <element name="param_2" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="mulResponse">
                <complexType>
                    <sequence>
                        <element name="result" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="div">
                <complexType>
                    <sequence>
                        <element name="param_1" type="xsd:int"/>
                        <element name="param_2" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="divResponse">
                <complexType>
                    <sequence>
                        <element name="result" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
        </schema>
    </wsdl:types>

    <wsdl:message name="addResponse">
        <wsdl:part element="type:addResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="addRequest">
        <wsdl:part element="type:add" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="subResponse">
        <wsdl:part element="type:subResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="subRequest">
        <wsdl:part element="type:sub" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="divResponse">
        <wsdl:part element="type:divResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="divRequest">
        <wsdl:part element="type:div" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="mulResponse">
        <wsdl:part element="type:mulResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="mulRequest">
        <wsdl:part element="type:mul" name="parameters"/>
    </wsdl:message>

    <wsdl:portType name="CalculatorPortType">
        <wsdl:operation name="add">
            <wsdl:input message="impl:addRequest" name="addRequest"/>
            <wsdl:output message="impl:addResponse" name="addResponse"/>
        </wsdl:operation>
        <wsdl:operation name="sub">
            <wsdl:input message="impl:subRequest" name="subRequest"/>
            <wsdl:output message="impl:subResponse" name="subResponse"/>
        </wsdl:operation>
        <wsdl:operation name="mul">
            <wsdl:input message="impl:mulRequest" name="mulRequest"/>
            <wsdl:output message="impl:mulResponse" name="mulResponse"/>
        </wsdl:operation>
        <wsdl:operation name="div">
            <wsdl:input message="impl:divRequest" name="divRequest"/>
            <wsdl:output message="impl:divResponse" name="divResponse"/>
        </wsdl:operation>
    </wsdl:portType>

    <wsdl:binding name="CalculatorSoapBinding"
type="impl:CalculatorPortType">
        <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="add">
            <soap:operation soapAction="Calculator#add"/>
            <wsdl:input name="addRequest">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="addResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="sub">
            <soap:operation soapAction="Calculator#sub"/>
            <wsdl:input name="subRequest">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="subResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="mul">
            <soap:operation soapAction="Calculator#mul"/>
            <wsdl:input name="mulRequest">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="mulResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="div">
            <soap:operation soapAction="Calculator#div"/>
            <wsdl:input name="divRequest">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="divResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>

    <wsdl:service name="Calculator">
        <wsdl:port binding="impl:CalculatorSoapBinding"
name="CalculatorSOAPport_http">
            <soap:address
location="http://localhost:9090/axis2/services/Calculator"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>

POST http://xlocalhostx:9090/services/Calculator?wsdl HTTP/1.1
Content-Type: application/soap+xml; charset=utf-8
Host: xlocalhostx:9090
Content-Length: 490
Expect: 100-continue
Accept-Encoding: gzip, deflate

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action
s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</a:Action><a:MessageID>urn:uuid:6f741b61-a1a9-4600-8522-ad68f27a4ccd</a:MessageID><a:ReplyTo><a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address></a:ReplyTo><a:To
s:mustUnderstand="1">http://xlocalhostx:9090/services/Calculator?wsdl</a:To></s:Header><s:Body/></s:Envelope>

HTTP/1.1 200
Date: Thu Mar 15 08:51:10 2012 GMT
Server: Axis2C/1.7.0 (Simple Axis2 HTTP Server)
Content-Type: application/soap+xml;charset=UTF-8
Connection: close
Content-Length: 594

<soapenv:Envelope
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><soapenv:Fault><soapenv:Code><soapenv:Value>soapenv:Receiver</soapenv:Value></soapenv:Code><soapenv:Reason><soapenv:Text
xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:lang="en">Service
Not
Found</soapenv:Text></soapenv:Reason><soapenv:Detail><Exception>Service
Not Found, Endpoint referance address is
http://xlocalhostx:9090/services/Calculator?wsdl and wsa actions is
http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</Exception></soapenv:Detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

POST http://xlocalhostx:9090/services/Calculator?wsdl/mex HTTP/1.1
Content-Type: application/soap+xml; charset=utf-8
Host: xlocalhostx:9090
Content-Length: 494
Expect: 100-continue
Accept-Encoding: gzip, deflate

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action
s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</a:Action><a:MessageID>urn:uuid:eb7f8d89-c351-4e16-89f0-86537e195628</a:MessageID><a:ReplyTo><a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address></a:ReplyTo><a:To
s:mustUnderstand="1">http://xlocalhostx:9090/services/Calculator?wsdl/mex</a:To></s:Header><s:Body/></s:Envelope>

HTTP/1.1 200
Date: Thu Mar 15 08:51:10 2012 GMT
Server: Axis2C/1.7.0 (Simple Axis2 HTTP Server)
Content-Type: application/soap+xml;charset=UTF-8
Connection: close
Content-Length: 598

<soapenv:Envelope
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><soapenv:Fault><soapenv:Code><soapenv:Value>soapenv:Receiver</soapenv:Value></soapenv:Code><soapenv:Reason><soapenv:Text
xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:lang="en">Service
Not
Found</soapenv:Text></soapenv:Reason><soapenv:Detail><Exception>Service
Not Found, Endpoint referance address is
http://xlocalhostx:9090/services/Calculator?wsdl/mex and wsa actions is
http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</Exception></soapenv:Detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

GET http://xlocalhostx:9090/services/Calculator?wsdl/$metadata HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 4.0.30319.17020)
Host: xlocalhostx:9090

HTTP/1.1 200
Date: Thu Mar 15 08:51:10 2012 GMT
Server: Axis2C/1.7.0 (Simple Axis2 HTTP Server)
Content-Type: application/xml
Content-Length: 8014
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<!--
      -->
<!-- Licensed to the Apache Software Foundation (ASF) under one or more
      -->
<!-- contributor license agreements.  See the NOTICE file distributed
with    -->
<!-- this work for additional information regarding copyright ownership.
     -->
<!-- The ASF licenses this file to You under the Apache License, Version
2.0  -->
<!-- (the "License"); you may not use this file except in compliance
with     -->
<!-- the License.  You may obtain a copy of the License at
      -->
<!--
      -->
<!--      http://www.apache.org/licenses/LICENSE-2.0
      -->
<!--
      -->
<!-- Unless required by applicable law or agreed to in writing, software
     -->
<!-- distributed under the License is distributed on an "AS IS" BASIS,
      -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied. -->
<!-- See the License for the specific language governing permissions and
     -->
<!-- limitations under the License.
      -->
<!--
      -->
<wsdl:definitions
    targetNamespace="http://ws.apache.org/axis2/services/Calculator"
    xmlns:impl="http://ws.apache.org/axis2/services/Calculator"
    xmlns:type="http://ws.apache.org/axis2/services/Calculator/types"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
        <schema

targetNamespace="http://ws.apache.org/axis2/services/Calculator/types"
            xmlns="http://www.w3.org/2001/XMLSchema"
            xmlns:impl="http://ws.apache.org/axis2/services/Calculator"
            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
            <element name="add">
                <complexType>
                    <sequence>
                        <element name="param_1" type="xsd:int"/>
                        <element name="param_2" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="addResponse">
                <complexType>
                    <sequence>
                        <element name="result" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="sub">
                <complexType>
                    <sequence>
                        <element name="param_1" type="xsd:int"/>
                        <element name="param_2" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="subResponse">
                <complexType>
                    <sequence>
                        <element name="result" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="mul">
                <complexType>
                    <sequence>
                        <element name="param_1" type="xsd:int"/>
                        <element name="param_2" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="mulResponse">
                <complexType>
                    <sequence>
                        <element name="result" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="div">
                <complexType>
                    <sequence>
                        <element name="param_1" type="xsd:int"/>
                        <element name="param_2" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
            <element name="divResponse">
                <complexType>
                    <sequence>
                        <element name="result" type="xsd:int"/>
                    </sequence>
                </complexType>
            </element>
        </schema>
    </wsdl:types>

    <wsdl:message name="addResponse">
        <wsdl:part element="type:addResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="addRequest">
        <wsdl:part element="type:add" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="subResponse">
        <wsdl:part element="type:subResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="subRequest">
        <wsdl:part element="type:sub" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="divResponse">
        <wsdl:part element="type:divResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="divRequest">
        <wsdl:part element="type:div" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="mulResponse">
        <wsdl:part element="type:mulResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="mulRequest">
        <wsdl:part element="type:mul" name="parameters"/>
    </wsdl:message>

    <wsdl:portType name="CalculatorPortType">
        <wsdl:operation name="add">
            <wsdl:input message="impl:addRequest" name="addRequest"/>
            <wsdl:output message="impl:addResponse" name="addResponse"/>
        </wsdl:operation>
        <wsdl:operation name="sub">
            <wsdl:input message="impl:subRequest" name="subRequest"/>
            <wsdl:output message="impl:subResponse" name="subResponse"/>
        </wsdl:operation>
        <wsdl:operation name="mul">
            <wsdl:input message="impl:mulRequest" name="mulRequest"/>
            <wsdl:output message="impl:mulResponse" name="mulResponse"/>
        </wsdl:operation>
        <wsdl:operation name="div">
            <wsdl:input message="impl:divRequest" name="divRequest"/>
            <wsdl:output message="impl:divResponse" name="divResponse"/>
        </wsdl:operation>
    </wsdl:portType>

    <wsdl:binding name="CalculatorSoapBinding"
type="impl:CalculatorPortType">
        <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="add">
            <soap:operation soapAction="Calculator#add"/>
            <wsdl:input name="addRequest">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="addResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="sub">
            <soap:operation soapAction="Calculator#sub"/>
            <wsdl:input name="subRequest">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="subResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="mul">
            <soap:operation soapAction="Calculator#mul"/>
            <wsdl:input name="mulRequest">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="mulResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="div">
            <soap:operation soapAction="Calculator#div"/>
            <wsdl:input name="divRequest">
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output name="divResponse">
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>

    <wsdl:service name="Calculator">
        <wsdl:port binding="impl:CalculatorSoapBinding"
name="CalculatorSOAPport_http">
            <soap:address
location="http://localhost:9090/axis2/services/Calculator"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>

Any idea on where the problem could be?

Best,
Thomas


On 24.02.2012 14:33, Thomas Baier wrote:
> I have attached the log file (just for this simple test only!) to the
> message.
> 
> Best,
> Thomas
> 
> On 24.02.2012 14:01, Samisa Abeysinghe wrote:
>> Do you have an error trace?
>>
>> On Thu, Feb 23, 2012 at 8:48 PM, Thomas Baier <thomas.baier@gmx.net
>> <ma...@gmx.net>> wrote:
>>
>>     Hi,
>>
>>     I am experiencing a crash in axis2_http_server (on Windows).
>>
>>     When trying to add a Service Reference to a web service hosted by
>>     axis2_http_server (on Windows) with Visual Studio 2010, the server
>>     process crashes (e.g. using the binary release adding
>>     http://localhost:9090/services/Calculator?wsdl).
>>
>>     Everything works fine when adding a Web reference (VS2010 or VS2008).
>>
>>     I have tried both axis2c 1.6.0 and the 1.7.0.
>>
>>     Is this a known problem/limitation?
>>
>>     Best,
>>     Thomas
>>
>>     ---------------------------------------------------------------------
>>     To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
>>     <ma...@axis.apache.org>
>>     For additional commands, e-mail: c-user-help@axis.apache.org
>>     <ma...@axis.apache.org>
>>
>>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: c-user-help@axis.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org


Re: axis2_http_server crash

Posted by Thomas Baier <th...@gmx.net>.
I have attached the log file (just for this simple test only!) to the
message.

Best,
Thomas

On 24.02.2012 14:01, Samisa Abeysinghe wrote:
> Do you have an error trace?
> 
> On Thu, Feb 23, 2012 at 8:48 PM, Thomas Baier <thomas.baier@gmx.net
> <ma...@gmx.net>> wrote:
> 
>     Hi,
> 
>     I am experiencing a crash in axis2_http_server (on Windows).
> 
>     When trying to add a Service Reference to a web service hosted by
>     axis2_http_server (on Windows) with Visual Studio 2010, the server
>     process crashes (e.g. using the binary release adding
>     http://localhost:9090/services/Calculator?wsdl).
> 
>     Everything works fine when adding a Web reference (VS2010 or VS2008).
> 
>     I have tried both axis2c 1.6.0 and the 1.7.0.
> 
>     Is this a known problem/limitation?
> 
>     Best,
>     Thomas
> 
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: c-user-help@axis.apache.org
>     <ma...@axis.apache.org>
> 
> 


Re: axis2_http_server crash

Posted by Samisa Abeysinghe <sa...@gmail.com>.
Do you have an error trace?

On Thu, Feb 23, 2012 at 8:48 PM, Thomas Baier <th...@gmx.net> wrote:

> Hi,
>
> I am experiencing a crash in axis2_http_server (on Windows).
>
> When trying to add a Service Reference to a web service hosted by
> axis2_http_server (on Windows) with Visual Studio 2010, the server
> process crashes (e.g. using the binary release adding
> http://localhost:9090/services/Calculator?wsdl).
>
> Everything works fine when adding a Web reference (VS2010 or VS2008).
>
> I have tried both axis2c 1.6.0 and the 1.7.0.
>
> Is this a known problem/limitation?
>
> Best,
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: c-user-help@axis.apache.org
>
>