Re: [Axis C++ 1.6b] Client and Server Engines - co-existing?
At this time you cannot run the client and server in same process - there is a jira issue (http://issues.apache.org/jira/browse/AXISCPP-771) to open this up. Not sure when that will be done. As far as one way requests, not sure, but I do not think it is supported (http://issues.apache.org/jira/browse/AXISCPP-925), although there are plans to add support. Nadir K. Amra Chinmoy Bhattacharjee [EMAIL PROTECTED] wrote on 11/20/2006 10:41:54 AM: Hi, We are using Axis C++ 1.6 b for our current project. We need to open up the server side implementation to receive and respond to web services. The signalling is asynchronous - thus a) Client sends a Request b) We at the server side will send an acknowledgement c) After some processing - the server side needs to push the response of the pending operation as a HTTP post to an alternate URL. d) The client would send an acknowledgement of this response. Is it possible to have the client and server side implementation as a single module ? Currently, we are trying to use the Call object to frame our responses - but the initialization fails, since the initialization has already been done as a server. Is it aboslutely mandatory that the client side implementation must be a separate stand-alone process that handles this scenario ? Can the server modules not generate SOAP/HTTP requests to alternate URLs and not merely respond to an ongoing session ? Thanks for any insight into this. Rgds. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Axis C++ 1.6B Ant build failure at generateCHeaders
I do have that binary installed, and I do have the %XERCES_HOME%\include directory. Myproblem is/was twofold. First I copied xerces distribution include files under c\include as c\include\xercesc becauseof build issues... this was bad for generateCHeaders and caused the Java NullPointerException. Solution, if it hurts when you do that, don't do that! Second, files such as ParserLoader.cpp (see previous email)include a "local (axis, not xerces)" file XercesHandler.h (C:\axiscsrc\ws-axis\c\src\xml\xerces\XercesHandler.h for me). This file in turn includes 'xercesc/sax/HandlerBase.hpp' which doesn't exist "locally" or in the xerces distribution. The xerces distribution does provide this file under%XERCES_HOME%\include\sax, not %XERCES_HOME%\include\xercesc\sax. (I presume a fix might be to search and replace all xercesc/whatever/filename to whatever/filename.) What I did to temporarily get my builds successful, was to modify the xerces distribution install; I created %XERCES_HOME%\include\xercesc\ andmoved all the %XERCES_HOME%\include\ directories under it. Please let me know if your builds are sucessful for the same reason or if I still have something wrong, Thanks -Frank From: John Hawkins [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 3:54 AMTo: Apache AXIS C User ListSubject: RE: Axis C++ 1.6B Ant build failure at generateCHeaders xerces_home=install root for xerces The binaries from http://archive.apache.org/dist/xml/xerces-c/Xerces-C_2_2_0/ give me the include directory - maybe you don't have binaries? "Frank Voellmann \(fvoellma\)" [EMAIL PROTECTED] 22/03/2006 19:03 Please respond to"Apache AXIS C User List" axis-c-user@ws.apache.org To "Apache AXIS C User List" axis-c-user@ws.apache.org cc Subject RE: Axis C++ 1.6B Ant build failure at generateCHeaders Doing that causes the errors below. Admittedly, I'm a newbie to buildingon windows (and Ant) ... Newbie Q. In your build, how are the following references resolved? Forinstance, \include\xercesc doesn't exist and%XERCES_HOME%\include\xercesc doesn't exist in the xerces distribution.-FrankcompileAxisXMLParser:buildVersionResource: [delete] Deleting 2 files from C:\axiscsrc\ws-axis\c\build [copy] Copying 1 file to C:\axiscsrc\ws-axis\c\build [cc] 6 total files to be compiled. [cc] ParserLoader.cpp [cc] C:\axiscsrc\ws-axis\c\src\xml\xerces\XercesHandler.h(25) :fatal error C1083: Cannot open includefile: 'xercesc/sax/HandlerBase.hpp': No such file or directory [cc] SoapInputSource.cpp [cc] C:\axiscsrc\ws-axis\c\src\xml\xerces\SoapInputSource.h(29) :fatal error C1083: Cannot open include file: 'xercesc/sax/InputSource.hpp': No such file or directory [cc] XMLParserXerces.cpp [cc] C:\axiscsrc\ws-axis\c\src\xml\xerces\XercesHandler.h(25) :fatal error C1083: Cannot open includefile: 'xercesc/sax/HandlerBase.hpp': No such file or directory [cc] SoapBinInputStream.cpp [cc]C:\axiscsrc\ws-axis\c\src\xml\xerces\SoapBinInputStream.h(27) : fatalerror C1083: Cannot open include file: 'xercesc/util/BinInputStream.hpp': No such file or directory [cc] XercesHandler.cpp [cc] C:\axiscsrc\ws-axis\c\src\xml\xerces\XercesHandler.h(25) :fatal error C1083: Cannot open includefile: 'xercesc/sax/HandlerBase.hpp': No such file or directory [cc] AxisParseException.cpp [cc] Generating Code...BUILD FAILED -Original Message- From: Nadir Amra [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 11:57 AM To: Apache AXIS C User List Subject: RE: Axis C++ 1.6B Ant build failure at generateCHeaders I think the C generator tool is going through header files that it should not. The only thing that I have in c/include is Axis dir. Try removing the other include files to another dir outside of the c/include dir. The tool should be fixed to only go through Axis dirs Obviously, the package error would also need to be modified to detect C bindingings not being generated. Nadir K. Amra
RE: Axis C++ 1.6B Ant build failure at generateCHeaders
I have to say that we do nothing to our builds to get them working. We just extract the xerces binaries and set the xerces-home variable. It's interesting that someone else had the exact same problem as you today ! I don't know what we've done right (or wrong) - we've been doing this for too long ! Frank Voellmann \(fvoellma\) [EMAIL PROTECTED] 23/03/2006 15:53 Please respond to Apache AXIS C User List axis-c-user@ws.apache.org To Apache AXIS C User List axis-c-user@ws.apache.org cc Subject RE: Axis C++ 1.6B Ant build failure at generateCHeaders I do have that binary installed, and I do have the %XERCES_HOME%\include directory. My problem is/was twofold. First I copied xerces distribution include files under c\include as c\include\xercesc because of build issues ... this was bad for generateCHeaders and caused the Java NullPointerException. Solution, if it hurts when you do that, don't do that! Second, files such as ParserLoader.cpp (see previous email)include a local (axis, not xerces) file XercesHandler.h (C:\axiscsrc\ws-axis\c\src\xml\xerces\XercesHandler.h for me). This file in turn includes 'xercesc/sax/HandlerBase.hpp' which doesn't exist locally or in the xerces distribution. The xerces distribution does provide this file under %XERCES_HOME%\include\sax, not %XERCES_HOME%\include\xercesc\sax. (I presume a fix might be to search and replace all xercesc/whatever/filename to whatever/filename.) What I did to temporarily get my builds successful, was to modify the xerces distribution install; I created %XERCES_HOME%\include\xercesc\ and moved all the %XERCES_HOME%\include\ directories under it. Please let me know if your builds are sucessful for the same reason or if I still have something wrong, Thanks -Frank From: John Hawkins [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 3:54 AM To: Apache AXIS C User List Subject: RE: Axis C++ 1.6B Ant build failure at generateCHeaders xerces_home=install root for xerces The binaries from http://archive.apache.org/dist/xml/xerces-c/Xerces-C_2_2_0/ give me the include directory - maybe you don't have binaries? Frank Voellmann \(fvoellma\) [EMAIL PROTECTED] 22/03/2006 19:03 Please respond to Apache AXIS C User List axis-c-user@ws.apache.org To Apache AXIS C User List axis-c-user@ws.apache.org cc Subject RE: Axis C++ 1.6B Ant build failure at generateCHeaders Doing that causes the errors below. Admittedly, I'm a newbie to building on windows (and Ant) ... Newbie Q. In your build, how are the following references resolved? For instance, \include\xercesc doesn't exist and %XERCES_HOME%\include\xercesc doesn't exist in the xerces distribution. -Frank compileAxisXMLParser: buildVersionResource: [delete] Deleting 2 files from C:\axiscsrc\ws-axis\c\build [copy] Copying 1 file to C:\axiscsrc\ws-axis\c\build [cc] 6 total files to be compiled. [cc] ParserLoader.cpp [cc] C:\axiscsrc\ws-axis\c\src\xml\xerces\XercesHandler.h(25) : fatal error C1083: Cannot open include file: 'xercesc/sax/HandlerBase.hpp': No such file or directory [cc] SoapInputSource.cpp [cc] C:\axiscsrc\ws-axis\c\src\xml\xerces\SoapInputSource.h(29) : fatal error C1083: Cannot open includ e file: 'xercesc/sax/InputSource.hpp': No such file or directory [cc] XMLParserXerces.cpp [cc] C:\axiscsrc\ws-axis\c\src\xml\xerces\XercesHandler.h(25) : fatal error C1083: Cannot open include file: 'xercesc/sax/HandlerBase.hpp': No such file or directory [cc] SoapBinInputStream.cpp [cc] C:\axiscsrc\ws-axis\c\src\xml\xerces\SoapBinInputStream.h(27) : fatal error C1083: Cannot open inc lude file: 'xercesc/util/BinInputStream.hpp': No such file or directory [cc] XercesHandler.cpp [cc] C:\axiscsrc\ws-axis\c\src\xml\xerces\XercesHandler.h(25) : fatal error C1083: Cannot open include file: 'xercesc/sax/HandlerBase.hpp': No such file or directory [cc] AxisParseException.cpp [cc] Generating Code... BUILD FAILED -Original Message- From: Nadir Amra [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 11:57 AM To: Apache AXIS C User List Subject: RE: Axis C++ 1.6B Ant build failure at generateCHeaders I think the C generator tool is going through header files that it should not. The only thing that I have in c/include is Axis dir. Try removing the other include files to another dir outside of the c/include dir. The tool should be fixed to only go through Axis dirs Obviously, the package error would also need to be modified to detect C bindingings not being generated. Nadir K. Amra
RE: Axis C++ 1.6B Ant build failure at generateCHeaders
Fixed the package step ! Please download c/package.xml Frank Voellmann \(fvoellma\) [EMAIL PROTECTED] 22/03/2006 17:21 Please respond to Apache AXIS C User List axis-c-user@ws.apache.org To Apache AXIS C User List axis-c-user@ws.apache.org cc Subject RE: Axis C++ 1.6B Ant build failure at generateCHeaders Thanks. Now the xml parser build fails looking for include files. Where in the build files does the xmlParser directory get set ... I have Xerces 2.2.0 distribution installed. -Frank -Original Message- From: Nadir Amra [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 11:57 AM To: Apache AXIS C User List Subject: RE: Axis C++ 1.6B Ant build failure at generateCHeaders I think the C generator tool is going through header files that it should not. The only thing that I have in c/include is Axis dir. Try removing the other include files to another dir outside of the c/include dir. The tool should be fixed to only go through Axis dirs Obviously, the package error would also need to be modified to detect C bindingings not being generated. Nadir K. Amra