WSDL version issue

2009-01-19 Thread Shah Asrani
Hi, Is the any way in Axis2 to find out the version of WSDL file programmatically, I need to find ouf if a given WSDL file is version 1.1 or 2.0? Best Regards

returning custom wsdl.

2009-01-07 Thread Shah Asrani
Hi, I implemented that getWSDL method for WSDLSupplier interface and returned WSDL when ?wsdl is asked. It worked just fine. How can I do the same thing if some one asks for ?wsdl2 ? (i.e. return a custom wsdl 2.0) Best Regards, Shah

Re: minimum set of libraries in classpath.

2009-01-05 Thread Shah Asrani
, Shah Asrani shahasr...@gmail.com wrote: Is there any link that talks about minimum set of libraries for Axis2 required on classpath. There are so many libaries and I am including all of them in the classpath to build an OperationClient. I would prefer to keep classpath entries to minimum

SOAP Header issue.

2008-12-30 Thread Shah Asrani
I am using operation client and building the soap request message with some headers. I add the header as follows: soapHeader = soapEnvelope.getHeader(); for( int i=0; iheaders.size(); i++){ Mydata hdrs = (MyData)headerList.get(i);

Dynamic creation of AxisModule

2008-12-30 Thread Shah Asrani
Is it possilbe to create module for a string, Say, I have the follwing in module.xml file module name=someModule InFlow handler name=SomeHandler class=test.SomeHandler order phase=Transport/ /handler /InFlow /module My requirement is that I will get access of

libraries for axis2

2008-12-23 Thread Shah Asrani
What are the minimum set of libraries required to be in classpath for axis2. I see there are quite a lot of jar files in lib folder. Is there need for all of these libraries at runtime or there is a sub-set that can be used? Shah

how to set style in axis2

2008-12-22 Thread Shah Asrani
In Axis1, I could do call.setOperationStyle(document); or call.setOperationStyle(literal); to set the style. How to set style in Axis2? Best Regards, Shah

Re: generateWSDL method in Axis2

2008-12-22 Thread Shah Asrani
whether its a request for a WSDL and invoke your code for generating the WSDL. Thanks, Keith. On Thu, Dec 18, 2008 at 10:52 PM, Shah Asrani shahasr...@gmail.com wrote: In Axis1, I had implemented a call back method generateWSDL in my provider that extended the BasicProvider. In moving to Axis2

listServices issue

2008-12-18 Thread Shah Asrani
I have deployed a web service dynamically in Axis2. The web service works fine. When client make a call, web service is found and a response is returned. However, if I use the url to list the services, it returns nothing: http://localhost:8080/mycontext/services/listServices Any Ideas? Shah

generateWSDL method in Axis2

2008-12-18 Thread Shah Asrani
custom code. Shah Asrani.

Re: listServices issue

2008-12-18 Thread Shah Asrani
, because the listServices functionality in AxisServlet is referring a jsp file (listServices.jsp) which is inside axis2-web folder. Thanks Raghu -Original Message- From: Shah Asrani [mailto:shahasr...@gmail.com] Sent: Thursday, December 18, 2008 11:19 AM To: axis-user@ws.apache.org

Re: Deployment Issue

2008-12-01 Thread Shah Asrani
file or no services.xml file. Shah Asrani. On Sun, Nov 30, 2008 at 1:37 AM, Amila Suriarachchi [EMAIL PROTECTED] wrote: I think you need to write a custom deployer. please have a look at here[1] thanks, Amila. [1] http://wso2.org/library/3708 On Thu, Nov 27, 2008 at 8:59 PM, Shah Asrani

Dynamic Deployment, is this right way?

2008-12-01 Thread Shah Asrani
stored. Everything works fine. My question is: Is this way of storing AxisServlet.CONFIGURATION_CONTEXT attribute in servletContext correct for my scenario? Should I have any concern about using the attribute AxisServlet.CONFIGURATION_CONTEXT ? Thanks a lot! Shah Asrani

Deployment Issue

2008-11-27 Thread Shah Asrani
dynamically. Is there any way to tell Axis 2 that a ConfigurationContext is already available in the JVM and that should be used. Let me know if my question does not make sense, I am just learning Axis2. Best Regards, Shah Asrani

NPE in response

2008-11-27 Thread Shah Asrani
Regards, Shah Asrani

Re: NPE in response

2008-11-27 Thread Shah Asrani
){ throw fault; } catch (Throwable exp) { exp.printStackTrace(); } return InvocationResponse.CONTINUE; Best Regards, Shah Asrani On Thu, Nov 27, 2008 at 11:04 AM, Deepal jayasinghe [EMAIL

how to return a respnose from module

2008-11-27 Thread Shah Asrani
return the respone from custom handler (i.e., I don't want web service to reach to getVersion method and I want to write the response in module. Best Regards, Shah Asrani - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional