pranav thakker

Greenhorn
+ Follow
since Nov 21, 2005
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by pranav thakker

Have a look at following link:-

http://www.infoq.com/minibooks/starting-struts2

- Pranav
16 years ago
Hi Peer,

Thanks for reply. Yes I am using Axis client libraries only. On the server side we have a web service written in the PHP and running on Apache server. Please note that, service works fine with PHP client. Anyway, I'll try to use TCPMON to debug SOAP request. Will keep on updating you for the same.

Thanks,
Pranav Thakker
16 years ago
Hi Peer,

This is to update you, I have tried using call.setProperty(Call.CHARACTER_SET_ENCODING, "UTF-8"); but it also didn't work. Please let me know if you have anything for me to try.

Thanks,
Pranav
16 years ago
Thanks Ulf for your kind help. I am completely new to web services, thus not sure about many things. Let me describe you my problem more descriptively.

1. We are having request body, in which some elements might contain UTF8 characters.
2. When we send a SOAP request, just before the invoke() method I have checked that request body contains proper UTF8 characters.
3. But, when the request reaches to the server, it displays ??? instead of UTF8 characters.
4. Same request we have tried sending using PHP client, at this time server could able to see UTF characters. Please, note that that PHP client has used utf8_encode() method available in php to encode the request body.
5. So, I doubt that if I have to do similar kind of encoding in java to send it properly.

It would be nice if you can send me any working example of web service which uses UTF8 in the request body.

Once again thanks for your help.

Best Regards,
Pranav Thakker
16 years ago
yes, editor is capable of displaying UTF8 and also bytes are transfered correctly.
16 years ago
Thanks for prompt reply. It displays this characters in WYSIWYG editor. Earlier we were using php client for making request, in that it was working fine. I doubt problem is with some java code.

- Pranav
16 years ago
Hi all,

I am new to web services technology. My question is how do we call a web service with UTF8 characters in the request body. I am using following code for calling a web service. But, when I receive a request on server side it displays ??? instead of UTF8 characters.

Any help would be appreciated.

Thanks and Regards,
Pranav Thakker
[ June 08, 2007: Message edited by: pranav thakker ]
16 years ago
Hi all,
Can any body make this code running ? And please do explain me what is happening i.e. why it is failing ?



Above code fires following exception:



I think it is due to returnType reference which is not of generic type.

Any help will be appreciated.

- Pranav
17 years ago
I am still not getting this. Can any one explain why value of 2.6f is 2.5999999046325684 ???
Hi Biren,

Checkout www.rentacoder.com , here you can find out lots of projects available in java. Registration is free for this site; once you registered you can bid on any of these projects. Based on your bid amount and skill set buyer may choose you for development work. Definitely you learn a lot like project designing, development and scheduling by such type of freelancing work. The only problem with such projects are that of limited time duration. So, while working on the job it�s difficult to handle. But, I am sure you can handle it.

Regards,
Pranav Thakker
17 years ago
Hi,

In my opinion, dog is an instance variable of class Cat, which (dog) is a reference to the Dog object. The meaning of instance variable is not limited to a primary data types. It can be any primary data type like int, float etc or it can also be a reference to other objects.

Hope this will help you,

Regards,
Pranav Thakker
Hi Naseem,

Can you please explain this statement in detail ?

Here At line o.super() before call to Super class constructor(i.e. Inner class constructor), u already hav a Outer instance o as a context.



Thanks,

Pranav Thakker
Hello ranchers,

Can anyone justify the output of following code ?



According to myself output should be as follow :-

Parent's method2()
Child's method1()

Because, we are calling method2 with reference of child class.

But, the actual output is :-


Parent's method2()
Parent's method1()

Please, explain it.

Thanking you all,

Pranav Thakker
hi jay,

K&B book is available at books india, ashram road, ahmedabad. The MRP is 499, but you can get discount of 20%/25% from there.

Regards,

Pranav
hi ganesh,

K&B SCJP 5.0 book is available in India, I have confirmed this with the publishers (www.wileydreamtech.com). For further details you can contact on wdt@vsnl.net

Hope this will help,

Regards,

Pranav Thakker