Beiträge von ElyBeta

    Hello,

    I have followed the calculator sample tutorial and cannot get the the calculator client working,
    the problem appears on the server side.

    I am working on Linux, I am using:
    - Axis C++: axis-c-linux-current-bin.
    - Xerces (parser xml): xerces-c2_2_0-linux8.0gcc32
    - Apache 2: httpd-2.0.64.

    I have used Eclipse to compile the example.

    When I run the calculator client I get the following message on the command line:

    "terminate called after throwing an instance of 'axiscpp::SoapFaultException'
    what(): Cannot deserialize the requested element "

    Log error message:

    server.wsdd:

    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:C="http://xml.apache.org/axis/wsdd/providers/C" xmlns:CPP="http://xml.apache.org/axis/wsdd/providers/CPP">
        <service name="Calculator" provider="CPP:RPC" description="Simple Calculator Axis C++ Service ">
            <parameter name="className" value="/usr/local/axiscpp_deploy/webservices/Calculator.so" />
                    <parameter name="allowedMethods" value="add sub mul div "/>
            <parameter name="operationRequestMap" value="add:addRequest sub:subRequest mul:mulRequest div:divRequest "/>
            </service>
    </deployment>

    axiscpp.conf:

    Code
    Transport_http:/usr/local/axiscpp_deploy/lib/libhttp_transport.so
    Channel_HTTP:/usr/local/axiscpp_deploy/lib/libhttp_channel.so
    XMLParser:/usr/local/axiscpp_deploy/lib/libaxis_xmlparser.so
    WSDDFilePath:/usr/local/axiscpp_deploy/etc/server.wsdd
    LogPath:/usr/local/axiscpp_deploy/log/AxisLog
    ClientLogPath:/usr/local/axiscpp_deploy/log/AxisClientLog

    Any help that anyone could provide would be greatly appreciated.

    Thanks, Ely