RE: Help

2011-09-12 Thread Tony HEDOUX
01:04:06 -0700 From: rishar...@yahoo.com Subject: Re: Help To: java-user@axis.apache.org Hi,After I remove the plugin directory I couldn't start the eclipse. regards,Imran From: Tony HEDOUX To: java-user@axis.apache.org Sent: Monday, September 12, 2011 12:59 PM Subject: RE: Help Hi, Sto

RE: Help

2011-09-12 Thread Tony HEDOUX
cetInstallDelegate.java:43) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1478) ... 8 more .From: Tony HEDOUX To: java-user@axis.apache.org Sent: Monday, September 12, 2011 12:01 PM Subject: RE: Help Hi, What do you exactly means by "install Axis2" ? If you use Eclipse WTP

RE: Help

2011-09-11 Thread Tony HEDOUX
Hi, What do you exactly means by "install Axis2" ? If you use Eclipse WTP, you just have to give Axis2 binary path to Eclipse. Maybe have you this null pointer exception when you try to generate Axis2 web service? Tony Date: Sun, 11 Sep 2011 23:16:58 -0700 From: rishar...@yahoo.com Subject:

RE: Can an Axis Webservice be called just like a local method?

2011-07-15 Thread Tony HEDOUX
Hi, You can call it like a local java method if your web service and your client application are in the same servlet. But why do you want to do this? Performance issue? Maintenance issue? Ressource sharing? Tony.From: jcari...@whisolutions.com To: java-user@axis.apache.org Date: Fri, 15 Jul 201

RE: How to get the directory path in the service implementation code

2011-07-11 Thread Tony HEDOUX
Hi, Try this one : MessageContext mc = MessageContext.getCurrentMessageContext(); mc.getConfigurationContext().getRealPath("/"); if you just need this information at the instanciation of your service, you can find the information directly in the ServletContext parameter of your init method :

RE: Identify IP address of the source request

2011-07-01 Thread Tony HEDOUX
Hi, You should try the same syntax but in your calling method (not in the init() ). package myWebService; import org.apache.axis2.context.MessageContext; public class MyService { public String giveYourIp(){ MessageContext msgCtx = MessageContext.getCurrentMessageContext(); return (St

RE: destroy(ServiceContext context) never call

2011-06-25 Thread Tony HEDOUX
thanks for the fix. Tony.Date: Fri, 24 Jun 2011 22:59:56 -0400 From: deep...@gmail.com To: java-user@axis.apache.org Subject: Re: destroy(ServiceContext context) never call You were absolutely right, there was some missing code for calling destroy method for service dep

destroy(ServiceContext context) never call

2011-06-24 Thread Tony HEDOUX
Hi, I am running a simple WebService with Axis 1.5.4, who send a String msg. My Axis2.xml : Please Type your service description here http://www.w3.org/2004/08/wsdl/in-only"; class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver" /> http://www.w

RE: AW: [Axis2] - Migrating axis to axis2 and lost servletContext

2011-06-09 Thread Tony HEDOUX
Hi, I don't understand all your issue, but about the message context null, there is an easy way to get access to Servlet context of Axis2 : In your AxisService class, in init(ServiceContext sc){ ServletContext sc = (ServletContext) sc.getConfigurationContext().getProperty("transport.http.ser