axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessandro Gambaro" <alessandro.gamb...@gmail.com>
Subject Runtime error
Date Tue, 26 Aug 2008 12:29:28 GMT
Hi I would like to use AXIS-C to consume a web services, what I've done is
(Server with .NET 2005 and client with Visual C++ 6.0):

1 - Download the zip from http://ws.apache.org/axis/cpp/download.html

2 - Unzip, and I've also generated the stub with this command:
     Java -classpath ./;./axis-c-1.6b-Win32-trace-
bin/lib/axis/wsdl2ws.jar;./axis-c-1.6b-Win32-trace-bin/lib/axisjava/axis.jar;./axis-c-1.6b-Win32-trace-bin/lib/axisjava/commons-discovery.jar;./axis-c-1.6b-Win32-trace-bin/lib/axisjava/commons-logging.jar;./axis-c-1.6b-Win32-trace-bin/lib/axisjava/jaxrpc.jar;./axis-c-1.6b-Win32-trace-bin/lib/axisjava/saaj.jar;./axis-c-1.6b-Win32-trace-bin/lib/axisjava/wsdl4j.jar
org.apache.axis.wsdl.wsdl2ws.WSDL2Ws MyTest.wsdl -lc++ -sclient

3 - I've downloaded msvcp70.dll and msvcr70.dll
4 - I've created a project (with visual C++ 6.0)set it up and created a
client who call the web services:

       ....
       Service1Soap* service = new Service1Soap(WSDL_DEFAULT_ENDPOINT,
APTHTTP1_1);
       xsd__string cazzo = service->HelloWorld();
       ....

5 - When I run the client I get this error: 0xE06D7363 MIcrosoft Exception

I've also create a client with axis for Java and it works fine. Could you
please tell me what I miss or what i've to do?

Many thanks,

Alessandro

Mime
View raw message