AnsweredAssumed Answered

Can not do checkinExternal , I got an error....

Question asked by unknown-user on Aug 7, 2006
Hi,

I?m trying to execute checkinExternal to a content, I get the following error:



AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXParseException: Premature end of file.
faultActor:
faultNode:
faultDetail:
        {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: Premature end of file.
        at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1189)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
        at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at org.alfresco.webservice.authoring.AuthoringServiceSoapBindingStub.checkinExternal(AuthoringServiceSoapBinding
Stub.java:722)
        at com.qoslabs.alfresco.webservice.repository.AlfrescoUtils.checkInContent(AlfrescoUtils.java:216)
        at com.qoslabs.alfresco.webservice.ui.AlfrescoActions.checkInAction(AlfrescoActions.java:317)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.webobjects.foundation.NSKeyValueCoding$1.methodValue(NSKeyValueCoding.java:684)
        at com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1160)
        at com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1268)
        at com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1539)
        at com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:498)
        at com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdd
itions.java:212)
        at com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1600)
        at com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:46)
        at com.webobjects.appserver._private.WOImageButton.invokeAction(WOImageButton.java:239)
        at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
        at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
        at com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.java:55)
        at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
        at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
        at com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.java:55)
        at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
        at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
        at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:945)
        at com.webobjects.appserver._private.WOComponentReference.invokeAction(WOComponentReference.java:104)
        at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
        at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
        at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:945)
        at com.webobjects.appserver._private.WOComponentReference.invokeAction(WOComponentReference.java:104)
        at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
        at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
        at com.webobjects.appserver._private.WOForm.invokeAction(WOForm.java:82)
        at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
        at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
        at com.webobjects.appserver._private.WOComponentContent.invokeAction(WOComponentContent.java:31)
        at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
        at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
        at com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.java:55)
        at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
        at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
        at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:945)
        at com.webobjects.appserver._private.WOComponentReference.invokeAction(WOComponentReference.java:104)
        at com.webobjects.appserver._private.WOSwitchComponent.invokeAction(WOSwitchComponent.java:171)
        at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:945)
        at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1166)
        at com.webobjects.appserver.WOApplication.invokeAction(WOApplication.java:1375)
        at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedPage(WOComponentRequestHandl
er.java:196)
        at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHa
ndler.java:287)
        at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentReque
stHandler.java:322)
        at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:358
)
        at com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:432)

        at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306)
        at com.qoslabs.wo.app.QOSApplication.superDispatchRequest(QOSApplication.java:510)
        at com.qoslabs.wo.app.QOSApplication$1.dispatchRequest(QOSApplication.java:487)
        at com.qoslabs.wo.app.QOSApplication.dispatchRequest(QOSApplication.java:519)
        at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173)
        at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254)
        at java.lang.Thread.run(Thread.java:595)

        {http://xml.apache.org/axis/}hostname:ingridm



my code looks like follow:





ContentFormat format = new ContentFormat(contentFormat, "UTF-8");
Reference reference = new Reference(STORE, fUuid, null);
      fAuthoringService.checkinExternal(reference, null, false, format, content);


what I?m doing wrong?

thanks ingrid

Outcomes