<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Add Content Task fails with  &amp;quot;No content input stream available&amp;quot; in Windchill</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill/Add-Content-Task-fails-with-quot-No-content-input-stream/m-p/92643#M10865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The error:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;(com.ptc.core.adapter.server.impl.implResource/12) wt.util.WTException: &lt;STRONG&gt;No content input stream available&lt;/STRONG&gt;.&lt;BR /&gt; at com.ptc.core.adapter.server.impl.AddContentItemsWebjectDelegate.invoke(AddContentItemsWebjectDelegate.java:397)&lt;BR /&gt; at com.ptc.core.adapter.server.impl.WebjectDelegateFactory.invokeDelegate(WebjectDelegateFactory.java:434)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:597)&lt;BR /&gt; at wt.method.WTAdapterImpl.processWebject(WTAdapterImpl.java:749)&lt;BR /&gt; at wt.method.WTAdapterImpl.processRequest(WTAdapterImpl.java:475)&lt;BR /&gt; at com.infoengine.au.SocketAccess$SocketThread.run(SocketAccess.java:1254)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2018 16:22:27 GMT</pubDate>
    <dc:creator>CJL</dc:creator>
    <dc:date>2018-05-02T16:22:27Z</dc:date>
    <item>
      <title>Add Content Task fails with  "No content input stream available"</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Add-Content-Task-fails-with-quot-No-content-input-stream/m-p/92643#M10865</link>
      <description>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</description>
      <pubDate>Wed, 02 May 2018 16:22:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Add-Content-Task-fails-with-quot-No-content-input-stream/m-p/92643#M10865</guid>
      <dc:creator>CJL</dc:creator>
      <dc:date>2018-05-02T16:22:27Z</dc:date>
    </item>
    <item>
      <title>Add Content Task fails with "No content input stream available"</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Add-Content-Task-fails-with-quot-No-content-input-stream/m-p/92644#M10866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To me the error No content input stream available sounds like problems we &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;struggled with using an external SOAP client. That relies on the same &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;underlying IE tasks as far as I know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My guess is that there is a problem with the handle to the actual data you &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;need to send to the server first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jorn&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris Lindberg &amp;lt;-&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;11-08-2011 00:52&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please respond to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris Lindberg &amp;lt;-&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;-&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Subject&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[solutions] - Add Content Task fails with "No content input stream &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;available"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using a stand alone Java app to run IE tasks. (Java app based on &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RunTask.java example in WC 8.0 Customization using IE Tasks) I am not &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;using a Java SOAP client. I think the issue has something to do with task &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;delegation and using a dispatch task but have not found an example that &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;provides a clear picture.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(com.ptc.core.adapter.server.impl.implResource/12) wt.util.WTException: No &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;content input stream available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.ptc.core.adapter.server.impl.AddContentItemsWebjectDelegate.invoke(AddContentItemsWebjectDelegate.java:397)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.ptc.core.adapter.server.impl.WebjectDelegateFactory.invokeDelegate(WebjectDelegateFactory.java:434)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.reflect.Method.invoke(Method.java:597)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at wt.method.WTAdapterImpl.processWebject(WTAdapterImpl.java:749)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at wt.method.WTAdapterImpl.processRequest(WTAdapterImpl.java:475)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.infoengine.au.SocketAccess$SocketThread.run(SocketAccess.java:1254)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Site Links: View post online View mailing list online Send new post &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;via email Unsubscribe from this mailing list Manage your subscription &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use of this email content is governed by the terms of service at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://portal.ptcuser.org/index.php?module=sthtml&amp;amp;op=load&amp;amp;sid=s1_010_tos" style="&amp;gt;http://portal.ptcuser.org/index.php?module=sthtml&amp;amp;op=load&amp;amp;sid=s1_010_tos&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/body&amp;gt;" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 19:00:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Add-Content-Task-fails-with-quot-No-content-input-stream/m-p/92644#M10866</guid>
      <dc:creator>JørnAHansen</dc:creator>
      <dc:date>2017-10-26T19:00:26Z</dc:date>
    </item>
    <item>
      <title>RE: Add Content Task fails with "No content input stream available"</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Add-Content-Task-fails-with-quot-No-content-input-stream/m-p/92645#M10867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;A coworker sent me sample task for uploading content and it looks like the major difference between the task I had written/manipulated and the one they sent is that the session ID is passed to each webject in the task. I created a new task using that methodology and it worked.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The other difference is that the webjects in the task my coworker gave me used the INSTANCE attribute from the start session webject for their INSTANCE attribute data value. I suspect this has nothing to do with the issue becuase it is String value and references the same String variable that I originally was using to set each webject's instance.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Here's a couple of snippets from the new task that worked:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;%&lt;BR /&gt; String instance = wt.util.WTProperties.getLocalProperties().getProperty("wt.federation.ie.VMName");&lt;BR /&gt;%&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;ie:webject name="Start-Session" type="ACT"&amp;gt;&lt;BR /&gt; &amp;lt;ie:param name="INSTANCE" data="&amp;amp;lt;%=instance%"&amp;gt;"/&amp;gt;&lt;BR /&gt; &amp;lt;ie:param name="GROUP_OUT" data="session"/"&amp;gt;&lt;BR /&gt; &amp;lt;ie:param name="BLOB_COUNT" data="0"/"&amp;gt;&lt;BR /&gt;&amp;lt;/ie:webject&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;ie:webject name="Start-Transaction" type="ACT"&amp;gt;&lt;BR /&gt; &amp;lt;ie:param name="INSTANCE" data="${session[]INSTANCE[0]}"/"&amp;gt;&lt;BR /&gt; &amp;lt;ie:param name="SESSION_ID" data="${session[]SESSION_ID[0]}"/"&amp;gt;&lt;BR /&gt; &amp;lt;ie:param name="BLOB_COUNT" data="0"/"&amp;gt;&lt;BR /&gt;&amp;lt;/ie:webject&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 17:28:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Add-Content-Task-fails-with-quot-No-content-input-stream/m-p/92645#M10867</guid>
      <dc:creator>CJL</dc:creator>
      <dc:date>2011-08-12T17:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Add Content Task fails with  "No content input stream available"</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Add-Content-Task-fails-with-quot-No-content-input-stream/m-p/92646#M10868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing the same issue with using an external SOAP client (testing from SOAPUI). Did you managed to solve this ? if so can you please share your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 08:00:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Add-Content-Task-fails-with-quot-No-content-input-stream/m-p/92646#M10868</guid>
      <dc:creator>SRINIVASAN1</dc:creator>
      <dc:date>2017-04-17T08:00:12Z</dc:date>
    </item>
  </channel>
</rss>

