I am using a stand alone Java app to run IE tasks. (Java app based on RunTask.java example in WC 8.0 Customization using IE Tasks) I am not using a Java SOAP client. I think the issue has something to do with task delegation and using a dispatch task but have not found an example that provides a clear picture.
The error:
(com.ptc.core.adapter.server.impl.implResource/12) wt.util.WTException: No content input stream available.
at com.ptc.core.adapter.server.impl.AddContentItemsWebjectDelegate.invoke(AddContentItemsWebjectDelegate.java:397)
at com.ptc.core.adapter.server.impl.WebjectDelegateFactory.invokeDelegate(WebjectDelegateFactory.java:434)
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:597)
at wt.method.WTAdapterImpl.processWebject(WTAdapterImpl.java:749)
at wt.method.WTAdapterImpl.processRequest(WTAdapterImpl.java:475)
at com.infoengine.au.SocketAccess$SocketThread.run(SocketAccess.java:1254)
Any help is appreciated.