All,

Has anyone ever seen the following kid of error before?

java.lang.NoSuchMethodError:
javax.xml.soap.SOAPMessage.getSOAPBody()Ljavax/xml/soap/SOAPBody;

I get it after I perform the following code snippet:

.
.
.
// Edit to provide your own username and password
String username = args[0];
String password = args[1];
char[] c = password.toCharArray();
PasswordAuthentication passwdAuth =
new PasswordAuthentication( username, c );
Set creds = new HashSet();
creds.add( passwdAuth );
connection.setCredentials( creds );
.
.
.

Reply via email to