RE: Expose CSV File Uploader in AXIS2 ...:(

2010-07-23 Thread Karthik Nanjangude
Hi Need to Expose a File upload java class which uses "enctype="multipart/form-data" as define below in AXIS2 UPLOADFile afwd = new UPLOADFile() Afwd.set File Upload(HttpServletRequest request, HttpServletResponse response) Can some body help me How to achieve the same ?? With rega

RE: Conditional values in axis2.xml

2010-07-23 Thread Martin Gainty
axis2.xml is the applications configuration file for the entire axis2 webapp services.xml configuration are attributes which are specific to the deployed service module (.aar) the only way i know is to create the services.xml to reflect dynamic parameters is to write the services.xml http://

Re: Conditional values in axis2.xml

2010-07-23 Thread Sanka Samaranayake
Only service configuration artifacts such as services.xml should be packaged within AAR file. Artifacts which specify the server configurations such as axis2.xml should be placed in server configuration directory depending on your deployment environment (e.g. WEB-INF/conf). Packaging such configur

RE: Conditional values in axis2.xml

2010-07-23 Thread Neil Youngman
It now seems that Axis2 is completely ignoring the axis2.xml file in the AAR and I have to deploy axis2.xml and context.xml outside the AAR file. Is there any documentation showing what configuration files can go inside the AAR file and what has to be external?? I've had no luck finding any inf

Re: Disable namespace for POJO based service?

2010-07-23 Thread Charles Galpin
Thanks for responding Deepal. This seems a bit extreme for what I'd consider pretty basic functionality. I'm going to see if I can do this upstream in Tomcat before I go this route. charles On Jul 23, 2010, at 8:53 AM, Deepal Jayasinghe wrote: > Axis2 does not directly provide a way to do that

Re: Disable namespace for POJO based service?

2010-07-23 Thread Deepal Jayasinghe
Axis2 does not directly provide a way to do that, but you can easily do it by adding a module. Write a handler to do what you want and process only the request coming to local host. Deepal On Fri, Jul 23, 2010 at 6:41 AM, Charles Galpin wrote: > Yes you are correct, but for my purposes this is f

Expose CSV File Uploader in AXIS2 ...:(

2010-07-23 Thread Karthik Nanjangude
Hi We have a User Interface web application with Upload CSV file and uses "enctype="multipart/form-data" in one of the JSP. On target controller page a function of Object the code as displayed below is used UPLOADFile afwd = new UPLOADFile() Afwd.set File Upload(HttpServletRequest request, Ht

Re: Disable namespace for POJO based service?

2010-07-23 Thread Charles Galpin
Yes you are correct, but for my purposes this is fine. On a related note I would also like to restrict access to a service to just localhost for example. Can you recommend a way to limit access to the InternalInterface service to just localhost (or a specific IP, etc). thanks, charle