Re: Making WebServices call asynchronous on the server side with axis2

2011-08-10 Thread Chinmoy Chakraborty
Basically you want manipulate the requests? If yes then you can do it in more generic way by using Filter. Chinmoy On Wed, Aug 10, 2011 at 12:29 PM, namratajaiswal < namratajaiswal2...@gmail.com> wrote: > > Hi all, > > We have a requirement where we need to decouple the http request and > rep

Re: Returning list arrays

2011-08-03 Thread Chinmoy Chakraborty
If you are using 1.6 then instead of using Object[] try using array of your specific custom class if possible.. On Wed, Aug 3, 2011 at 12:11 AM, Barry Hathaway wrote: > Sagara, > > Is there an easy way to grap the binary distribution of 1.7.0-SNAPSHOTS? > When I look into the distribution/SNAPS

Re: Very basic problem

2011-07-14 Thread Chinmoy Chakraborty
what error you are getting? do you have any stack trace? which version of Axis2 you are using? On Thu, Jul 14, 2011 at 3:04 PM, oscar perez wrote: > Hi, > > I want develop with axis2, i'm newbie on this framework, i downloaded and > installed on win7. > > With standard binary distribution (

Re: How to set services.xml parameters dynamically

2011-06-20 Thread Chinmoy Chakraborty
you can create the services.xml and deploy the service programatically on runtime...some code snippet could be following.. File servDir = new File(serviceDir); DeploymentFileData serviceData = new DeploymentFileData(servDir); ServiceDeployer serviceDeployer = new ServiceDeployer(); serviceDeploye

How to get ConfigurationContext in password callback class?

2011-05-05 Thread Chinmoy Chakraborty
Hello!! I need to access ConfigurationContext in a password callback class (implements CallbackHandler). How I can achieve that? I tried following code: MessageContext msgCtx = MessageContext.getCurrentMessageContext(); ConfigurationContext configCtx = null; if (msgCtx != null) { co

Error while using rampart

2011-05-01 Thread Chinmoy Chakraborty
Hello, I am using Axis2 1.5.1 and also using rampart 1.5. Now while invoking the service from client I get following error. Could anyone give me pointer what this means? org.apache.axis2.AxisFault: First Element must contain the local name, Envelope , but found html at org.apache.axis2.AxisFault.

Error in JBoss 6.0 when trying to deploy axis2.war

2011-03-06 Thread Chinmoy Chakraborty
Hello, I am running JBoss 6.0 with jdk 1.6 and getting following error while trying to deploy axis2.war (1.5.1). It seems there are some problems with the conflicting jars as well as class loading policy. Could anyone give a pointer here? ERROR [AbstractKernelController] Error installing to PostC

Re: [Axis2]

2011-03-03 Thread Chinmoy Chakraborty
It seems you have problem somewhere else. I have variables with 'C' and it works fine (1.4 & 1.5.1). On Fri, Mar 4, 2011 at 10:55 AM, prem_innoviti wrote: > > Hi, > > I am using axis2 as webservice request handler and one of my variable name > is mCouponCode, and it seems axis 2 does not accep

Does Axis2 samples get deployed in JBoss 6?

2011-01-10 Thread Chinmoy Chakraborty
Hello, I am facing some issues when I try to deploy Axis2 1.5.1 samples in JBoss 6. Does anybody see this or it's my problem? Chinmoy

Re: Date string can not be less than 19 charactors

2011-01-06 Thread Chinmoy Chakraborty
> Martin > > 2011/1/6 Chinmoy Chakraborty : > > Hello, > > I am getting error "date string can not be less than 19 charactors" while > > returning a date from a published service. I am using Axis2 1.5.1. > > Could an

Date string can not be less than 19 charactors

2011-01-06 Thread Chinmoy Chakraborty
Hello, I am getting error "date string can not be less than 19 charactors" while returning a date from a published service. I am using Axis2 1.5.1. Could anyone give me a pointer about what causes this error? Chinmoy

WS- Security question

2010-09-17 Thread Chinmoy Chakraborty
Hi, Could you please clarify why we need password digest when we can't un-digest it in the server side? I am now using policy based security but I get "*Missing wsse:Security header in request" error. What could be the possible reason?* * * *I am using

Question about 'ax' number

2010-07-26 Thread Chinmoy Chakraborty
Hello, I have a service which returns a complex type object Array2D (which actually represents 2d array). Following is the SOAP I got as response (captured in SOAPMonitor).. http://schemas.xmlsoap.org/soap/envelope/";> http://www.abc.com/webservice";> http://connector.abc/xsd"; type

How to configure databinding framework for Axis2?

2010-07-05 Thread Chinmoy Chakraborty
Hi All, I have some deployed web services which are using ADB data binding framework right now. If I want to use other data binding framework how and where to configure? WSDLs for the deployed services are generated automatically. Is there any way to configure data binding framework in axis2.xml

Re: Does Axis2 support 2d array?

2010-06-25 Thread Chinmoy Chakraborty
ost:8080/axis2/services/TestSecurity.TestSecurityHttpSoap12Endpoint/"/> > > > > binding="ns:TestSecurityHttpBinding"> > > location="http://localhost:8080/axis2/services/TestSecurity.TestSecurityHttpEndpoint/"/>

Parameter sequence to invoke a service

2010-06-23 Thread Chinmoy Chakraborty
Hi All, Is it mandatory to send params in the same sequesnce as the params are defined in the WSDL in sequence tag? Is it possible to invoke a service by sending params with any sequence but in right param name? I am using Axis2 1.4.1. Chinmoy

Re: How to mention mandatory parameters in services.xml?

2010-06-23 Thread Chinmoy Chakraborty
ira/browse/AXIS2-3300>Guys please confirm. On Thu, Jun 24, 2010 at 11:08 AM, Amarnath Reddy wrote: > heyy put like this below for making username and password madatory > > > > > On Thu, Jun 24, 2010 at 10:54 AM, Chinmoy Chakraborty wrote: > >> Hi All, >> &

How to mention mandatory parameters in services.xml?

2010-06-23 Thread Chinmoy Chakraborty
Hi All, I ahve a service "authenticate" which has three parameters username, password, and serviceName. First two parameters are mandatory and the last parameter is optional. Here is the WSDL portion of the service: .. -

Does Axis2 support 2d array?

2010-06-07 Thread Chinmoy Chakraborty
Hello, In the following link, I noticed that Axis2 does not support 2D array. Does it support in latest released code? http://software.itags.org/apache/15330/ Chinmoy

WSDL for 1 and 2d string array

2010-06-06 Thread Chinmoy Chakraborty
Hello everybody, I have two services, one of them returns 1d string array (String[]) and the other one returns 2d string array (String[][]). I noticed the invokeResponse element in WSDL is same for both of them: 1D Array: ...

Handling 2D object arrays in Axis2

2010-05-12 Thread Chinmoy Chakraborty
Hello, Does Axis2 supports 2D object array as return type of a deployed service? Axis 1.x used to support this. Could you please provide one example where 2D object arrays are handled in Axis2 1.4.1? Right now we are handling this using a complex type Array2D, it has three props rowCount, columnC

Re: Axis2-Spring integration

2010-03-31 Thread Chinmoy Chakraborty
Andreas, I was going through your mail and the idea seems interesting. I want to get involved into this project. Let me know what are things I need to look into as starting point. Chinmoy On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen wrote: > All, > > Recently there have been some question

Re: Deploying Axis2 and Secure web service

2010-03-25 Thread Chinmoy Chakraborty
You have to add *org.apache.axis2.webapp.AxisAdminServlet.class* manually. This class file is there in the binary distribution. You can look at * AXIS2-4467 * * * * * * * On Fri, Mar 26, 2010 at 5:37 AM, SM wrote: > Thanks Nandana. > I used

Re: WSDL for WSS webservice

2010-03-25 Thread Chinmoy Chakraborty
If you have policy based web service then you have policy annotated WSDL..you can look at link [1] & [2].. [1] http://www.ibm.com/developerworks/java/library/j-jws4/index.html [2] http://wso2.org/library/3190#Policy_annotated_WSDL

Possible memory leak in Axis2 1.4.1?

2010-03-08 Thread Chinmoy Chakraborty
Hi All, I have an application which uses Axis2 1.4.1. When we have Axis2 configured (servlet mappings) in web.xml we get following error in Tomcat 6.0.24. "*A web application appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak*".

Axis2 1.4.1 logs error TWICE if any error occurs while invoking a service

2010-03-07 Thread Chinmoy Chakraborty
Hi All, I am using Axis2 1.4.1 and found it logs error message twice if any error occurs while invoking a service. One is : ERROR [http8080-Processor21] org.apache.axis2.rpc.receivers.RPCMessageReceiver - Error while invoking function FILE_SIZE: File does not exist: sewq java.lang.reflect.Inv

DataHandler as Return type

2010-03-04 Thread Chinmoy Chakraborty
Guys, I have a service whose return type is 'DataHandler'. When I call the service through client code, it returns the DataHandler but does not preserve the datasource name and content-type. Following is my client code: Class[] retType = new Class[] {webFx.getReturnType()}; Options options = new

Does Axis2 support NULL as service method argument?

2010-02-22 Thread Chinmoy Chakraborty
Hi All, I have a service methods which has three string array (String[]) arguments. If the first two arguments are NULL then it sends the third argument as first argument ( in order). I have following client code: Options options = new Options(); RPCServiceClient client = new RPCSe