Arun Gupta wrote:
> Resource bundles are converted to generated source code which is then
> referenced in the rt/tools code.
>
> In your case, look for the string
>
> WsdlMessages.localizablePARSING_UNABLE_TO_GET_METADATA
Thanks -- I got it now. Can the jax-ws team put a little more info in
there? That message happens in two places and there's no way to tell
which one is happening. Since they're both in catch blocks, could the
exception be added to the message? I can't tell what env.error() does
without tracking down which impl class is being used in the WSDLParser
class. I mostly care because people are going to see "Metadata" in the
error message and ask me what's going on.
As a side note, the second catch block catches generic Exception when
the only exception that appears to be thrown is IOException. Both the
catch blocks that use this error message are in blocks that catch
IOException from buildDocumentFromWSDL(), so maybe the exception could
be caught there instead and simplify the code a little?
Thanks,
Bobby