java.lang.reflect.InvocationTargetException while invoking webservice
Hi,
I have deployed a SBO as a webservice, but on trying to invoke this from the client side , its returining java.lang.reflect.InvocationTargetException and the error message is as shown below:
AxisFault
faultCode: Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:
hostname:w1007893
#################################################
The sample code is as mentioned below:
-
DocbaseCredentialsServiceLocator credentialsLocator = new DocbaseCredentialsServiceLocator();
credentialsLocator.setDocbaseCredentialsEndpointAddress(endPointAddress);
credentialsLocator.setMaintainSession(true);
DocbaseCredentials credentials = credentialsLocator.getDocbaseCredentials();
credentialsLocator.getDocbaseCredentials(new java.net.URL(endPointAddress));
DocbaseCredentialsInfo info = new DocbaseCredentialsInfo(repository, domain, password, username);
try{
token = credentials.newCredentials(info, true); {color:#ff0000}// THE exception occurs here
System.out.println("Acquired Token=" + token);
}catch(Throwable g){
g.printStackTrace();
}
##############################################
Can anybody post me how to go about this.
Answers
Categories
- All Categories
- Cloud Editions
- 1 Thrust Services
- cat as link
- 1 Core SaaS Application development
- 10 Developer Announcements
- 15 General Questions
- 33.4K TeamSite
- 141 Application Governance & Archiving
- 15.2K Designing Analytics Reports
- 1K DevShare Downloads
- Core SaaS Applications
- nested parent
- 4.3K Developing Analytics Applications
- 8.8K Documentum Developer Forum
- Media Management developer
- 159 Transactional Content Processing (TCP)
- 1.7K Web Experience Management
- 55 Tempo Social
- 1 XM Fax