I think it would be easier to rewrite your servlet class so that you can instantiate it, and call the relevant methods directly from within your web service. That would save all the overhead of transforming Java objects to HTTP back to Java objects, as well as avoiding the problem you ask about.
posted 13 years ago
Wow, in my tired haze (12 hours working on thesis) I read 'servlet' as 'session bean'... Dunno if any of what I said really helps then :-\
This tiny ad is wafer thin:
Programmatically Create PDF Using Free Spire.PDF with Java