Dinesh,

Thanks for your reply. I tried running the same servive with the
asix2_http_server and the client successfully receives a soap fault. No
problems there. So I think it is a bug with apache http server module. If
you guys concur, I will open a JIRA issue. It would be really nice to have
this problem fixed.

Having a way to return custom error codes/messages to client would be a big
plus? This way the client would know where exactly the error lies, on the
server side or in the request itself. Should I create a JIRA issue for this
too. If yes, under which category?

Thanks,
Subra


On 8/21/07, Dinesh Premalal <[EMAIL PROTECTED]> wrote:
>
> Hi Subra,
> "Subra A Narayanan" <[EMAIL PROTECTED]> writes:
>
> > I modified the axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync
> > function to log the soap fault message to axis2.log file just before it
> returns
> > and see the correct soap fault message. So something happens after this
> point
> > which makes the apache http server send a 500 Internal server error to
> the
> > client.
> were you able to log those fault to axis2.log? My feeling is, there
> might be some misconfiguration in apache server. Did you try with
> axis2_http_server?
>
> > My second question was, is there a way to return custom error numbers
> and error
> > message to the myservice_on_fault function so that the error number/msg
> can be
> > included in the soap fault. Right now only predefined AXIS2 error
> message can
> > be set using AXIS2_ERROR_SET. I understand that I can modify
> axutil_error.h
> > file but it says that the error codes are reserved for modules. Is there
> any
> > other better way of doing this?
> AFAIK, there is no such a mechanism. However I think we should
> provide custom error mechanism to user. May be an extension for
> current axis2 error mechanism will be helpful.
>
> Thoughts ???
>
> thanks,
> Dinesh
> --
> Dinesh Premalal
> http://xydinesh.wordpress.com/
> GPG ID : A255955C
> GPG Key Finger Print : C481 E5D4 C27E DC34 9257  0229 4F44 266E A255 955C
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to