Share

UDDI4J

Tracker: Bugs

5 UDDIException thrown by UDDIProxy incomplete - ID: 1437641
Last Update: Comment added ( ihodges )

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


Joan Haggarty ( jhaggarty ) - 2006-02-23 19:35

5

Closed

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2006-11-13 10:43
Sender: ihodgesProject Admin

Logged In: YES
user_id=1463591

Hi,

As this is a connection failure no DispositionReport is generated and
hence is null. This is
as designed. DR's are Server generated.

Regards,
Ian Hodges.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
status_id Open 2006-11-13 10:43 ihodges
close_date - 2006-11-13 10:43 ihodges