[
https://issues.apache.org/jira/browse/AXIS2-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deepal Jayasinghe resolved AXIS2-1248.
--------------------------------------
Resolution: Fixed
issues is fixed now , and the code look like;
try {
sender.invoke(msgctx);
} catch (Exception e) {
log.info(msgctx.getLogIDString()+" "+e.getMessage());
if
(msgctx.getProperty(MessageContext.DISABLE_ASYNC_CALLBACK_ON_TRANSPORT_ERROR)
== null)
{
AxisOperation axisOperation = msgctx.getAxisOperation();
if (axisOperation != null)
{
MessageReceiver msgReceiver =
axisOperation.getMessageReceiver();
if ((msgReceiver != null) && (msgReceiver instanceof
CallbackReceiver))
{
Callback callback =
((CallbackReceiver)msgReceiver).lookupCallback(msgctx.getMessageID());
if (callback != null)
{
callback.onError(e);
}
}
}
}
}
> Callback connect error
> ----------------------
>
> Key: AXIS2-1248
> URL: https://issues.apache.org/jira/browse/AXIS2-1248
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: kernel
> Environment: Axis 2 nightly, Java 1.4
> Reporter: Roshan Punnoose
> Assigned To: Deepal Jayasinghe
>
> Hi,
>
> If I use the ServiceClient to connect to my web service, but the web service
> endpoint is not up, I should get a COnnectionException and my callback should
> complete. However, because the TransportNonBlockingInvocationWorker does not
> update the callback to complete, it will just log the message during its
> thread (which is underneath). Any ideas?
>
>
> public void run() {
> try {
> while (!done) {
> sender.invoke(msgctx);
> done = true;
> }
> } catch (Exception e) {
> log.info(e.getMessage());
> }
> }
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]