Srinivas Pitta

Greenhorn
+ Follow
since Jul 18, 2006
Merit badge: grant badges
For More
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 Srinivas Pitta

Can anyone please respond to my question below?

Regards,
Pitta.
17 years ago
JaiKiran,

Thanks for your reply. But my question was passing the complex object (user defined object) from Client Side when WebService exposes the method of OBJECT type as a parameter. I am getting exception while passing the user defined object (as mentioned in my previous posting).

Regards,
Pitta.
17 years ago
Hi,

I have a webservice that exposes a method which takes an Object as a parameter. Hence, the client invoking this webservice can pass any type of object including user defined class objects.
e.g.: public String invokeMe(Ojbect obj);

From Client webservice: I am passing my user defined class object as a parameter to the exposed method.
Pitta obj = new Pitta(); // Pitta is the name of a class.
e.g.: String result = invokeMe(obj);

When invoked on stub from client side, it gives me the exception saying that 'Pitta' needs to have a deserializer.

I have even tried by extending 'Serializer' interface to class 'Pitta' but it was of no use. I understand that all the objects passed over the SOAP protocol need to be capapble of serializing and deserializing.

My Question: How do we pass the different objects over SOAP Protocol?

Thanks for your time.

Regards,
Pitta.
17 years ago
Thank you Stephen for your resolution steps for the tomcat bootstrap class loader error that has helped me to fix the issue in lesser time. Otherwise, i do not know how much time had it taken.

Thanks once again for sharing your resolution.
17 years ago
Hi,

When a servlet implements SingleThreadModel, how many instances would this servlet have? In HeadFirst SCWCD book, they have mentioned that one instance would be created per request.

Can someone explain how it creates a new instance per request. And i would appreciate if they could explain with an example. For an instance, when 3 requests comes to a servlet that implements SingleThreadModel and the number of instances and number of threads that would be active at a given time.

Thanks for your time.

Regards,
Pitta.
17 years ago