Hi, I figured out it debugging the sources (The code needed some libraries),
hoping this can help somebody here a little guide:

1 - Do not use http://ws.apache.org/axis/cpp/download.html (It's old)
2 - Download the last version from SVN that is more stable
http://svn.apache.org/repos/asf/webservices/axis/trunk/c
3 - Download Xerces sources http://xerces.apache.org/xerces-c/
     Build Xerces (you need it for AxisXMLParser)
     Xerces is not mandatory but you need to compile one
AxisXMLParser***.dll and i decided to use Xerces
4 - Build AxisXMLParser.dll (AxisXMLParserXerces project)
             AxisClient.dll (AxisClient project)
             HTTPChannel.dll (HTTPChannel project)
             HTTPChannel.dll (HTTPChannel project)
             HTTPTransport.dll(Axis3 project)
5 - Build the java code to create the new .jar file
6 - Generate the stubs using the new jar
7 - Create e simple client and use the libraries above to run and compile IT
WORKS

Thanks,
Alessandro


On Tue, Aug 26, 2008 at 2:29 PM, Alessandro Gambaro <
[EMAIL PROTECTED]> wrote:

> 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
>
  • Runtime error Alessandro Gambaro
    • Re: Runtime error Alessandro Gambaro

Reply via email to