1. Dashboard
  2. Forum
    1. Unerledigte Themen
  3. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team-Mitglieder
    4. Trophäen
    5. Mitgliedersuche
  4. Tutorial Bereich
  • Anmelden
  • Registrieren
  • Suche
Alles
  • Alles
  • Seiten
  • Forum
  • Lexikon
  • Erweiterte Suche
  1. Informatik Forum
  2. Mitglieder
  3. ElyBeta

Beiträge von ElyBeta

  • Axis C++ Calculator sample not working on Linux

    • ElyBeta
    • 4. April 2011 um 12:14

    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:

    XML
    <?xml version='1.0' encoding='utf-8' ?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>Library loading failed</faultstring>
    <faultactor>server name:listen port</faultactor>
    <detail><appSpecific>AxisEngineException:Library loading failed</appSpecific>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Alles anzeigen

    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

Rechtliches

Impressum

Datenschutzerklärung