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 :

How to get the directory path in the service implementation code

2011-07-11 Thread jing
Hi, devs: I implemented a axis2 service and deployed it to tomcat. My tomcat webapps is configured as /var/www/webapps. So the axis context has this file structure: /var/www/webapps/axis2/axis2-web /var/www/webapps/axis2/META-INF /var/www/webapps/axis2/WEB-INF In my service implementation,

Axis 1.4 CommonsHTTPSender (404) not found problem

2011-07-11 Thread Diego Gomes
Hello! I'm new in axis, I have a problem and i doesn't find teh solution in the web. In my company have many web services clients wich need use the CommonsHTTPSender with pivot in transport http because the compress, and a create a new client who throw the exception "(404) not found". I change th

RE: AW: NTLM authentication failed (password with non-latin characters)

2011-07-11 Thread George Stanchev
Pierre, Axis2 uses HttpClient 3.x for HTTP transport implementation. If you write a simple HttpClient 3.x based application that opens the protected URL with NTLM authentication with your non-ascii character as password, does it succeed or not? If it succeeds, it's something with axis2's encodi

Axis 1.4 CommonsHTTPSender (404) not found problem

2011-07-11 Thread dcbgomes
Hello! I'm new in axis, I have a problem and i doesn't find teh solution in the web. In my company have many web services clients wich need use the CommonsHTTPSender with pivot in transport http because the compress, and a create a new client who throw the exception "(404) not found". I change t

axis2-wsdl2code-maven-plugin

2011-07-11 Thread TomazM
Dose any body know who is author of this plugin and of this site http://axis.apache.org/axis2/java/core/tools/maven-plugins/maven-wsdl2code-plugin.html It is very interesting that in pom they put dependency for xmlbeans and adb, but NO dependency for jibx. So one solution would be, to put this

axis2-wsdl2code-maven-plugin & wsdl2code & jibx

2011-07-11 Thread TomazM
Is any one solve this problem: -- Caused by: java.lang.RuntimeException: JiBX framework jars not in classpath at org.apache.axis2.wsdl.codegen.extension.JiBXExtension.engage(JiBXExtension.java:57) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.ge

Re: AW: NTLM authentication failed (password with non-latin characters)

2011-07-11 Thread Muller Pierre
Hi all, Any idea ?... Cordialement, Pierre Muller Le 29/06/2011 14:17, Muller Pierre a écrit : Thanks Martin. Actually I had a look at the HTTPClient trace : there was this warning "Credential charset not configured, using HTTP element charset". Thus I tried your conf directive and other dire

RE: Attaching huge attachments in axis2

2011-07-11 Thread Bhat B, Niranjan (NSN - IN/Bangalore)
Hi Jorge, I am sorry for the misunderstanding here. Let me put it in other words, In the client code I am trying to attach huge file and send it to the server where the webservice is attached. So I get this stack trace with OutOfMemory error in the client side when I try to upload this huge file t