After sifting through the source, I discovered that
there isn't a way to retreive the SOAP response when
doing an asynchronous call.

I feel that this is a bug.  When doing a blocking
call, the invocation returns the reponse even if a
SOAP Fault occurs.  The same should happen for an
asynchronous call.

It appears this can easily be fixed in the
NonBlockingInvocationWorker class (I'm looking at the
one in OutInAxisOperation) on the block of code that
looks like this:

if (body.hasFault())
  ..call the callback's onError method
else
  ..call the callback's onComplete method

It seems the "else" clause should be eliminated and
onComplete should always be called whether it is a
SOAP Fault or not.  Does this seem to make sense? 
Should I post this in JIRA?

--- footh <[EMAIL PROTECTED]> wrote:

> I am using the above asynchronous call to invoke a
> web
> service with a Callback class.
> 
> When the request causes a SOAPFault, the onError
> method of the Callback class is called.  However, it
> seems to be called with an empty exception.  I have
> no
> way of retrieving the SOAP Fault xml text.
> 
> I know the invocation is returning a response
> because
> I can see it in the console with debugging on.
> 
> Is there any way to retrieve the SOAP Fault xml
> using
> this method of invoking a web service?
> 
> Regards,
> 
> JF
> 
> 
> 
>  
>
____________________________________________________________________________________
> Need Mail bonding?
> Go to the Yahoo! Mail Q&A for great tips from Yahoo!
> Answers users.
>
http://answers.yahoo.com/dir/?link=list&sid=396546091
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to