What is the endpoint for POST of Axis 2 JSON Web Services?
Dear all,
I created a JSON Web service with Axis2. The service can be invoked by RPC
client properly.
The service code is as follows.
package com.greatfree.Study;
// Created: 03/21/2012, Bing Li
public class WeatherService
{
Weather
in the logs.
> Did the service crash?
> How long did the client wait before timing out?
>
> As far as we have seen, you can call web services as fast as it can service
> the request.
>
> Ron
>
>
> On 15/03/2011 11:17 AM, Bing Li wrote:
>
> Dear all,
>
> Anyo
:
> Hi,
>
> Axis2 does not have any such limitation, if you are using same service
> client for all the invocation then after each invocation try to call
> servciceClient.cleanupTransport method. Or if possible share your client
> code with us.
>
> Deepal
>
>
> On
tation, if you are using same service
> client for all the invocation then after each invocation try to call
> servciceClient.cleanupTransport method. Or if possible share your client
> code with us.
>
> Deepal
>
>
> On 3/15/2011 11:17 AM, Bing Li wrote:
>
> Dear all,
>
Dear all,
Anyone could answer this question?
Your help is highly appreciated!
LB
On Tue, Mar 15, 2011 at 4:22 AM, Bing Li wrote:
> Dear all,
>
> I tried to call published Web services. It worked fine. However, when
> invoking one service in more than two times continuously, th
Dear all,
I tried to call published Web services. It worked fine. However, when
invoking one service in more than two times continuously, the client got
timeout exceptions from the 3rd one. Each invocation should be done very
quickly. It should not wait for so long time. I guess there must be some
h the build
> (wrong version of a class packaged into the application) or a class
> loader problem (multiple versions of the same class in classpaths of
> different class loaders).
>
> Andreas
>
> On Mon, Mar 14, 2011 at 15:14, Bing Li wrote:
> > However, it makes my m
nothing magic here.
>
> Andreas
>
> On Mon, Mar 14, 2011 at 15:08, Bing Li wrote:
> > In Axis2, no WSDD is required.
> >
> > POJO is what I am using. At the server, users just need to write OO
> program
> > as usual. No particular work is required. I notice
lying techniques.
Thanks,
LB
On Mon, Mar 14, 2011 at 10:02 PM, wrote:
> Well, I'm not expert at all. The exception is in the server side, right?
> Can you share the wsdd?
>
> Sent via BlackBerry from T-Mobile
> ------
> *From: * Bing Li
> *Date: *
Dear Jose,
I didn't use WSDL to generate any stud code. What I am currently using is
POJO. I don't understand why AXIS has such a design on Web services?
Thanks,
LB
On Mon, Mar 14, 2011 at 7:35 PM, JOSE L MARTINEZ-AVIAL wrote:
> can you provide the WSDL you are using?
>
>
* @return return the address entry of the person.
*/
public Entry findEntry(String name) {
return myaddr.getAddr(name);
}
}
On Mon, Mar 14, 2011 at 2:33 PM, Bing Li wrote:
> Dear Martin,
>
>
> I appreciate so much for your help!
>
> However, I am still confused ab
ar Andreas,
>
> Thanks so much for your reply!
>
> Could you please tell me how to solve the problem?
>
> Thanks,
> LB
>
> On Mon, Mar 14, 2011 at 3:41 AM, Andreas Veithen <
> [email protected]> wrote:
>
> No, "Ljava/lang/String;&q
iptor for String[] would be
> "[Ljava/lang/String;".
>
> Andreas
>
> On Sun, Mar 13, 2011 at 20:31, JOSE L MARTINEZ-AVIAL
> wrote:
> > I think it is trying to invoke a method with a String[] attribute, not
> > simply a String.
> >
> > 2011/3/13 B
Jose,
I changed the parameter from String to String[]. However it got the same
exception. The only different thing is that Ljava/lang/String to
[Ljava/lang/String. I really don't understand what's going on! Could you
tell me how to solve it?
Thanks,
LB
On Mon, Mar 14, 2011 at 3:51 A
not
> simply a String.
>
>
> 2011/3/13 Bing Li
>
>> Dear all,
>>
>> I am a new Axis2 user. Today I got a weird exception when calling a Web
>> service.
>>
>> This Web service is deployed on Tomcat/Axis2. I need to transmit an object
>> (paramete
Dear all,
I am a new Axis2 user. Today I got a weird exception when calling a Web
service.
This Web service is deployed on Tomcat/Axis2. I need to transmit an object
(parameter) to it. The object contains a String attribute. The object is
received correctly. However, when calling a local method o
16 matches
Mail list logo