-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Did you try the commmand line as documented in the README.txt? Did you see the
WARNING at the bottom of the README?
thanks,
dims
virtuallight wrote:
| I have been playing around with this example in Eclipse and it appears to be
failing due to the following line
returning nothing. There is a context so the resource injection appears to
have succeeded. I saw a couple of JIRA
posts that get(MessageContext.REFERENCE_PARAMETERS) coming up empty was a
problem in the past that was supposedly fixed
before the release of 1.4.
| List list =
(List)getContext().getMessageContext().get(MessageContext.REFERENCE_PARAMETERS);
|
|
|
| If this code is removed from the sample it will work.
|
| if (list.isEmpty()) {
|
| AddNumbersException faultInfo = new AddNumbersException();
|
| faultInfo.setMessage("No ticket found.");
|
| throw new AddNumbersException_Exception(faultInfo.getMessage(), faultInfo);
|
| }
|
| Element element = (Element) list.get(0);
|
|
| if (!"123456789".equals(element.getTextContent())) {
|
| AddNumbersException faultInfo = new AddNumbersException();
|
| faultInfo.setMessage("Invalid ticket: " + element.getTextContent());
|
| throw new AddNumbersException_Exception(faultInfo.getMessage(), faultInfo);
|
| }
|
|
|
| Regards,
|
| Bill
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
iD8DBQFIHMqxgNg6eWEDv1kRArG6AJ9v3X7e7vrdYTZOwuXMyETVoRg4ygCfRuTJ
OG7nLA+I3LN0aeauWdmp2vU=
=R6xK
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]