We have code that calls the find_service method on a
UDDIProxy object. In the case where the host cannot be
reached (i.e. the connection to the Internet has been
lost), a UDDIException is thrown during this method
call. This is understandable and expected.
We subsequently try to get information from the
exception's DispositionReport. Unfortunately,
disposition report for this UDDIException object is
null. Is this UDDIException object not constructed
properly for this scenario or is this behaviour
expected? We've put a null check in our code to
circumvent the behaviour for now. However, it would be
preferrable if the exception could be used to retrieve
a useful error condition.
Here are the details for the UDDIException object
thrown by the find_service method:
e= UDDIException (id=119)
cause= UDDIException (id=119)
detail= null
detailElement= ElementNode2 (id=133)
attributes= null
children= NodeBase[3] (id=152)
idAttributeName= null
length= 2
namespaceURI= null
ownerDocument= XmlDocument (id=153)
parent= ElementNode2 (id=154)
parentIndex= 2
Nobody/Anonymous
None
None
Public
|
Date: 2006-11-13 10:43 Logged In: YES |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2006-11-13 10:43 | ihodges |
| close_date | - | 2006-11-13 10:43 | ihodges |