Credential is a public class which implements a Value interface.  What if I
were to write my own serializer and how hard would that be???

Frederick V. Paras
Software Engineer
Qwest Information Technology
Work - 703-363-4087
Fax - 703-363-4899
Mobile - 703-582-0347
[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 8:01 AM
To: [EMAIL PROTECTED]
Subject: Re: SOAPException while invoking method...Involves
instantiation


I might be able to speak to this.   Is Credential an Interface and is your 
method creating an implementation of this Interface?

SOAP doesn't support polymorphism or Inheritance--based on my research.

This might be your problem.

Brian




"Paras, Frederick" <[EMAIL PROTECTED]>
12/12/2001 03:11 PM
Please respond to soap-user

 
        To:     "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
        cc: 
        Subject:        SOAPException while invoking method...Involves
instantiation


I am making a SOAP call and invoking this method:

public static Credential authenticate(long enterpriseId, String loginId,
String password)

and after the call: resp = call.invoke(url, "");

i get a soap exception:

[SOAPException: faultCode=SOAP-ENV:Client; msg=Unable to instantiate
'com.qwest.
bbq.security.authentication.Credential':
com/qwest/bbq/security/authentication/C
redential; targetException=java.lang.IllegalArgumentException: Unable to
instant
iate 'com.qwest.bbq.security.authentication.Credential':
com/qwest/bbq/security/
authentication/Credential]
        at org.apache.soap.rpc.Call.invoke(Call.java:246)
        at 
samples.qc.authentication.Authenticate.main(Authenticate.java:64)

Any idea as to why this occurs.  I've made the mappings in the
DeploymentDescriptor.xml file and I mapped the types in my clien program.
Am I missing something???  Thanks.

Frederick V. Paras
Software Engineer
Qwest Information Technology
Work - 703-363-4087
Fax - 703-363-4899
Mobile - 703-582-0347
[EMAIL PROTECTED]



Reply via email to