Are you using Apache SOAP?  It looks like you are using a JAX-RPC- or JAXM-compliant 
implementation.  If you are using Axis, try [EMAIL PROTECTED]

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "John R Meloro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 05, 2004 7:17 PM
Subject: Anyone seen this error?


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