RE: Transport specification for web services
Hi Martin, Thanks for the response. I am aware that Axis2 supports multiple transport frameworks. My question is - can we deploy web services on the same Axis2 engine that communicate with client using different transport network. For example, say web service A communicates using default HTTP and web service B communicates using TCP and both these web services are deployed on the same server. Is this scenario possible ? I was thinking if it was possible to specify in the services.xml file for each web service but I couldn't locate any parameter that specifies that. Regards, -Lokesh From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2008 5:55 PM To: axis-user@ws.apache.org Subject: RE: Transport specification for web services AXIS supports a number of different transports If you want to implement AXIS via JMS take a look at IBM's JMS Tutorial http://www.ibm.com/developerworks/webservices/library/ws-jms/ Anyone ? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Subject: Transport specification for web services Date: Tue, 12 Aug 2008 16:43:28 -0700 From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Hi, I need to specify transport specification for some web services. The default for the axis2 is HTTP and I want to keep it like that. But I do want some of my web services to connect to their client with TCP. Is it possible to specify transport mechanism different from other services on the same axis2 deployment. Thanks Regards, -Lokesh Get more from your digital life. Find out how. http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home2_082008
Transport specification for web services
Hi, I need to specify transport specification for some web services. The default for the axis2 is HTTP and I want to keep it like that. But I do want some of my web services to connect to their client with TCP. Is it possible to specify transport mechanism different from other services on the same axis2 deployment. Thanks Regards, -Lokesh
NullPointerException in RPCMessageReceiver
Hi all, I have trying to fix a web service that I generated using Eclipse Service Archiver plug-in. Whenever I try to run the operations of my web service, I see the following errors on my Apache geronimo's log where it is deployed - java.lang.NullPointerException at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic (RPCMessageReceiver.java:158) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusines sLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe ssageReceiver.java:96) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq uest(HTTPTransportUtils.java:275) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120) I found some related mail exchanges done in this group a while back - http://marc.info/?l=axis-userm=116248489917125w=2 which made me suspect that I am getting null pointer exception because the arguments of my operation is an array of string. However, when I removed that operation with another that takes only string or an int, I receive the same error. I would appreciate if someone could tell me where to look to debug this issue. Regards, -Lokesh
Axis2 web service error
Hi, I created a service archive using eclipse plug-in for service archiving. My project uses a lot of classes in the library and so I included all those libraries when I created my service archive. However, when I load the aar file in the axis2 server, I keep getting the following deployment fault - Error: java.lang.NoClassDefFoundError: com/informatica/metadata/common/core/NamedElement at java.lang.ClassLoader.defineClass1(Native Method) My first thought was that it couldn't locate the jar files. So, I copied all the jar files in the axis/WEB-INF/services/lib folder. It continued to give me the same error, so I copied all the jar files to axis/WEB-INF/lib too. The error message didn't change. Any idea, on what might be causing this error ? Also, I would appreciate if someone could tell me how to directly include all these files in the classpath of axis2, instead of me copying them one by one into the axis2 lib directories. Thanks in advance, -Lokesh