02-23-2010 10:19 PM
Exception:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Unregistered type: class
java.lang.Object
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
Unregistered type: class java.lang.Object
at
org.apache.axis.encoding.ser.BeanDeserializer.onStartElement(BeanDeserializer.java:
448)
at
org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:
393)
at
org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:
154)
at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:
1048)
at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:
165)
at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:
1141)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:
236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
at org.apache.axis.client.Call.invoke(Call.java:2467)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
org.oasis_open.docs.ns.cmis.ws._200908.NavigationServicePortBindingStub.getFolderTree(NavigationServicePortBindingStub.java:
1824)
at cmis.CMISTest.main(CMISTest.java:170)
{http://xml.apache.org/axis/}hostname:A4MD09603
NavigationServicePortBindingStub ns = new
NavigationServicePortBindingStub(endpointURL,null);
ns.setHeader(she);
CmisObjectListType ol = ns.getCheckedOutDocs("46f8b242-9f61-423b-
b824-c6118f470f01", "workspace://SpacesStore/0fceb8de-
fe45-439a-9ac4-30b32c7671e0", null, null, null, null, null,
BigInteger.TEN, BigInteger.TEN, null);
if(ol == null){
System.out.println("NULL");
}
else{
System.out.println("not null");
}
CmisObjectType[] ot = (CmisObjectType[])ol.getObjects();
for(int i=0;i<=ot.length;i++){
CmisPropertiesType pt = ot[i].getProperties();
CmisPropertyUri pu = pt.getPropertyUri();
Object o = pu.getLocalName();
System.out.println("URI : "+o.toString());
}
03-12-2010 05:11 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.