Marco, you should post the stack trace of the Exception you are
getting. That will help greatly in any troubleshooting advice.

As far as the more general problem, I can say for certain that Castor
should be able to run inside a Web Service. I'm guessing you are using
Tomcat as your container? Or something else? (excuse my ignorance on
axis, never really used it)

-Nick


On Tue, 12 Oct 2004 08:57:49 +0100, Marco Mistroni
<[EMAIL PROTECTED]> wrote:
> 
> Hi all,
>         I used axis to write a webservice, and inside the webservice I
> am
> Calling CastorJDO to update a database.
> For mysterious reasons, I am getting exception whenever I try to
> instantiate
> A JDO object.
> 
> I have put my code into a try/catch block, catching a generic
> java.lang.Exception, but it looks like the raised exception is not
> catched and it is thrown to the client as a SOAPException, and so I
> cannot find out
> What is going on..
> 
> Has anyone experienced a similar problem? Or has anyone tried to invoke
> castorJDO from within an axis webservice?
> What are the guidelines?
> 
> Thanks in advance and regards
>         marco
> 
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-user
>



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to