You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by "Gaur, Deepak" <De...@experianems.com> on 2003/04/14 19:15:57 UTC
Weird SOAP errors.
Hello to all the fantstic people involved with the SOAP development group.
In our enterprise, we have been using SOAP to call legacy PERL code(using
PERL SOAP::Lite) from Java client. Recently, due to implementing some
security restrictions in some files, there was some weird SOAP error getting
propogated to Java client:
"SOAP response generated a fault.
Fault Code = SOAP-ENV:Server Fault String = Application error"
Here is the what's going on :
Java client makes SOAP calls to PERL code. PERL code invoked via SOAP runs
as 'nobody' unix user(or does it runs as someone else??....). Inside the
PERL code, it tries to read a file to get some config related values. This
file is not owned by 'nobody' but 'nobody' is part of the group to which
this file belongs. And the file has read permissions to the group. Somehow
when invoking through SOAP this doesn't seems to work. Although, i wrote a
test program and ran it as 'nobody' which was able to access this file
without any problem. When the file permissions are changed and read access
is given to all, there is no SOAP error.
If anyone has any insight or thoughts on why this is happening, please let
me know. I will be highly thankful.
Regards,
Deepak.