Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.5.0
-
None
-
Windows XP with SP3 + Visual Studio 2005 with SP1
OpenSUSE 11
Description
I tryed to use AXIS2C with TCP transport, but fail with the "Transport
receiver loading failed for axis2_tcp_receiver.dll, unable to continue" log message. But
it is work well with http transport.
I done these with following step:
----------------------------------------------------------
1 unpack zlib123-dll
2
unpack axis2c-src-1.5.0
3 modify configure.in, change the following items
WITH_TCP = 1
ZLIB_BIN_DIR= C:\AXIS2C\zlib123-dll
4 SET AXIS2C_HOME=C:\AXIS2C\axis2c-bin-1.5.0
5 run
build.bat
6 move AXIS2C BINARY from deploy folder to AXIS2C_HOME
5 add AXIS2C_HOME\lib &
AXIS2C_HOME\bin to path
6 uncomment
6060
TCP
7 generate client code with wsdl2c
8
compile and run the code with visual stuido 2005
-------------------------------------------------------------
#include
#include
#include
#include
#include
#include "axis2_stub_echo.h"
#include "adb_echoInt.h"
#include "adb_echoIntResponse.h"
//#include "adb_echoIntResponse.h"
axiom_node_t
*build_om_payload_for_echo_svc(
const axutil_env_t * env);
int
main(
int argc,
char
**argv)
9 Zero is returned. and Log file show :
[Sat Sep 06 02:07:36 2008] [error]
..\..\src\core\deployment\conf_builder.c(1251) Transport receiver loading failed for
axis2_tcp_receiver.dll, unable to continue
...
[Sat Sep 06 02:07:36 2008] [debug]
..\..\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to
phase MessageOut
[Sat Sep 06 02:07:36 2008] [debug]
..\..\src\core\clientapi\op_client.c(881) Start:axis2_op_client_infer_transport
[Sat Sep
06 02:07:36 2008] [debug] ..\..\src\core\clientapi\op_client.c(940)
End:axis2_op_client_infer_transport
[Sat Sep 06 02:07:36 2008] [error]
..\..\src\core\clientapi\op_client.c(436) Op client execute failed. Cannot find transport
in.
10 I comfirmed that the file axis2_tcp_receiver.dll is really exist in the
AXIS2C_HOME/lib
11 When I try this on Linux, I got the similar message.
Any help will
be appreciated.
Thanks & Best Regards,
Eddie Hsu
-----------------------------------------------------------------------------
my
configure.in & axis2.xml are followed:
true
6060
false
6060
HTTP/1.1
TCP
-
-
-
-
- Build
Details ### -
-
-
- enables https support
ENABLE_SSL = 0 - build libcurl transport
ENABLE_LIBCURL
= 0 - build axis2 with Libxml2 Parser. Axis2/C will be built with embeded guththila #
parser by Default.
ENABLE_LIBXML2=0 - build tcp server in addition to http server
WITH_TCP = 1
- build with archive based deployment
WITH_ARCHIVE = 0
-
-
-
-
Dependant Binary Locations (Required) ###
-
-
-
-
libxml2 binary location ( axis2c is built with libxml2 )
LIBXML2_BIN_DIR =
F:\applications\libxml2-2.6.30.win32- iconv binary location
ICONV_BIN_DIR =
F:\applications\iconv-1.9.2.win32 - zlib binary location
ZLIB_BIN_DIR=
C:\AXIS2C\zlib123-dll
-
-
-
-
Dependant Binary Locations (Optional) ###
-
-
-
-
openssl binary location- required if ENABLE_SSL = 1
OPENSSL_BIN_DIR = c:\OpenSSL libcurl binary location, only required if libcurl transport is enabled
LIBCURL_BIN_DIR =
E:\libcurl-7.15.1-msvc-win32-ssl-0.9.8a-zlib-1.2.3
-
-
-
-
Apache Server module (required when building Axis2/C Apache Module) ###
-
-
-
-
apache binary location
APACHE_BIN_DIR = "C:\Program Files\Apache Software
Foundation\Apache2.2"- apache 2 server family
- To use apache 2.2 family, use
APACHE_VERSION_IS_2_0_X = 0
APACHE_VERSION_2_0_X = 0
-
-
-
-
Compiler Options ###
-
-
-
-
- C
runtime LIBRARY OPTION ( Use /MD or /MT )
CRUNTIME = /MD - Embed Manifest Files
EMBED_MANIFEST = 1
- debug symbols
- To build with debug symbols use DEBUG = 1
DEBUG = 1
#