Hi there, I am using Axis C++ client to consume a web service. I get the client code generated sucessfully. But I can't build a client executable due to some linking error. I am using Microsoft dev studio. I followed the instruction http://ws.apache.org/axis/cpp/windev-guide.html#consumews but still have the follwoing error. Can someone help, please? Thank you very much.
The error suggest the you have Windows Application (Win32) project and that it can't find the WinMain entry point - did you provide one? Did you actually want to build a Windows Application (Win32)? (rather than a console application, dynamic link library, static library, etc.)
Warning - The configuration file was not found (C:\Tools\tomcat5512\axiscpp/axiscpp.conf). Using default values Exception : DLOPEN FAILED in loading parser library
Peer Reynders
Bartender
Joined: Aug 19, 2005
Posts: 2906
posted
0
Sorry, never dealt with the C++ version of Axis, so I wouldn't know.
Also you seem to be having a problem as your file path includes both windows (\) and unix (/) directory delimiters which would make it impossible to open the file. Try to find the settings/properties that will fix that. [ November 17, 2005: Message edited by: Peer Reynders ]
John McDonald
Ranch Hand
Joined: Jul 01, 2003
Posts: 112
posted
0
Hi Peer, I copy the dll file to where the executable is. I got that resolved but I have the following error that still keep me from running it sucessfully.
Exception : DLOPEN FAILED in loading channel library
I have all the HTTPChannel.dll HTTPSSLChannel.dll in the same directory as the executable.
Kolya Ukrainian
Greenhorn
Joined: Dec 01, 2005
Posts: 1
posted
0
Make sure that HTTPChannel.dll and HTTPSSLChannel.dll is placed in folder which you enter in axiscpp.conf file (and this folder must be in %PATH%). This error occurs in HTTPTransport.dll when try to LoadLibrary HTTPChannel.dll or HTTPSSLChannel.dll. See ChannelFactory.cpp, ChannelFactory::LoadChannelLibrary(....)