Hi Frederick,

I don't know the exact details of your Credential class, but CapeConnect
should be able to serialize it without additional programming on your
part. CapeConnect also is able to handle java inheritance.

As I say, without knowing more details of your class, I'd think this
should all be possible with CapeConnect.

Please do let know if you need more assistance or if you want to take a
closer look at the CapeConnect product.

Cheers
Iain


Ps - find attached a document with some URLs which may be interesting to
you


 
Iain Armstrong
Senior Systems Engineer
 
Cape Clear Software
900 East Hamilton Avenue, Suite 100
Campbell, CA 95004
tel. (707) 645-0941
fax (603) 806-8483
cell (415) 806-4003
email: [EMAIL PROTECTED]
web: http://www.capeclear.com
 

-----Original Message-----
From: Paras, Frederick [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 13, 2001 7:11 AM
To: '[EMAIL PROTECTED]'
Subject: RE: SOAPException while invoking method...Involves
instantiation

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]

Attachment: Cape Clear Product Information URLs.doc
Description: MS-Word document

Reply via email to