<?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 Re: WebServiceManager Soap 300 in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3785179#M11349</link>
    <description>&lt;P&gt;Hi Doug,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the WebServiceManager in&amp;nbsp;a Vault Extension.&amp;nbsp; During LogOn I initalize the WebServiceManger. When theVaultExplorer is loaded completely I restart the WWW-Service on the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that I LogOut from Vault and in the LogOut function I use the&lt;/P&gt;&lt;P&gt;GetAllCustomEntityDefinitions() to save some data about the custom entities on the client pc. Thats where the error occures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can also force a SOAP 300 exception when I use my extension. Then the error occures using the&lt;/P&gt;&lt;P&gt;GetSystemOption() function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;</description>
    <pubDate>Wed, 20 Feb 2013 16:09:11 GMT</pubDate>
    <dc:creator>wannensn</dc:creator>
    <dc:date>2013-02-20T16:09:11Z</dc:date>
    <item>
      <title>WebServiceManager Soap 300</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3783258#M11347</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get a Soap 300 error calling&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WebServiceManager.CustomEntityService.GetAllCustomEntityDefinitions()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought that all Soap 300 errors are managed by the WebServiceManager!?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Stephan&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2013 15:14:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3783258#M11347</guid>
      <dc:creator>wannensn</dc:creator>
      <dc:date>2013-02-18T15:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: WebServiceManager Soap 300</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3784908#M11348</link>
      <description>&lt;P&gt;The WebServiceManager &lt;EM&gt;attempts&lt;/EM&gt; to fix error 300.&amp;nbsp; There is always the possibility that the fix doesn't work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this a one-time error, or does it happen reliably?&amp;nbsp; Feel free to post a code snippet if you want me to take a look.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 12:56:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3784908#M11348</guid>
      <dc:creator>Redmond.D</dc:creator>
      <dc:date>2013-02-20T12:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: WebServiceManager Soap 300</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3785179#M11349</link>
      <description>&lt;P&gt;Hi Doug,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the WebServiceManager in&amp;nbsp;a Vault Extension.&amp;nbsp; During LogOn I initalize the WebServiceManger. When theVaultExplorer is loaded completely I restart the WWW-Service on the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that I LogOut from Vault and in the LogOut function I use the&lt;/P&gt;&lt;P&gt;GetAllCustomEntityDefinitions() to save some data about the custom entities on the client pc. Thats where the error occures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can also force a SOAP 300 exception when I use my extension. Then the error occures using the&lt;/P&gt;&lt;P&gt;GetSystemOption() function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 16:09:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3785179#M11349</guid>
      <dc:creator>wannensn</dc:creator>
      <dc:date>2013-02-20T16:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: WebServiceManager Soap 300</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3785309#M11350</link>
      <description>&lt;P&gt;Ah, I see, you are running inside Vault Explorer.&amp;nbsp; There is a footnote to the&lt;A href="http://justonesandzeros.typepad.com/blog/2011/04/webservicemanager.html" target="_self"&gt; re-sign&lt;/A&gt; in feature, it only works for credential classes that support SignIn.&amp;nbsp; The UserIdTicketCredentials does not support SignIn.&amp;nbsp; The WebServiceManager can't do anything here because userId and ticket are not enough to perform a sign in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe that UserPasswordCredentials and WinAuthCredentials are the only ones that support re-sign in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are working to address the issue of re-sign in within a Vault plug-in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 17:43:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3785309#M11350</guid>
      <dc:creator>Redmond.D</dc:creator>
      <dc:date>2013-02-20T17:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: WebServiceManager Soap 300</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3785906#M11351</link>
      <description>&lt;P&gt;Did I get that right. I have no chance to recover from a SOAP 300 error within a vault explorer extension?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--Stephan&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2013 07:40:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3785906#M11351</guid>
      <dc:creator>wannensn</dc:creator>
      <dc:date>2013-02-21T07:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: WebServiceManager Soap 300</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3786096#M11352</link>
      <description>&lt;P&gt;Correct, there is no way to recover.&amp;nbsp; At least for you current operation.&amp;nbsp; Every time your plug-in is called, a Vault Context is passed in, which contains the latest user ID and ticket information.&amp;nbsp; So one workaround is to just create a new WebServiceManager for each call.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2013 12:49:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3786096#M11352</guid>
      <dc:creator>Redmond.D</dc:creator>
      <dc:date>2013-02-21T12:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: WebServiceManager Soap 300</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3801539#M11353</link>
      <description>&lt;P&gt;This will only work when VE detects the SOAP 300 error an recovers from it. Otherwise the context is still invalid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--Stephan&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2013 13:00:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/3801539#M11353</guid>
      <dc:creator>wannensn</dc:creator>
      <dc:date>2013-03-11T13:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: WebServiceManager Soap 300</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/4429269#M11354</link>
      <description>&lt;P&gt;Auchh.. Just experienced this one after fixing this&amp;nbsp;other&amp;nbsp;one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://forums.autodesk.com/t5/Autodesk-Vault-Customization/OH-NO-My-plugin-is-eating-licenses/td-p/4383500"&gt;http://forums.autodesk.com/t5/Autodesk-Vault-Customization/OH-NO-My-plugin-is-eating-licenses/td-p/4383500&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this&amp;nbsp;history&amp;nbsp;in&amp;nbsp;the 2014 API ?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2013 12:07:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/4429269#M11354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-16T12:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: WebServiceManager Soap 300</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/4429743#M11355</link>
      <description>&lt;P&gt;I´m curious about a workaround that doesn´t involve a new instantiation of webservicemanager for every call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;( vault 2013 API )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will this simple implementation ( or something close ) do the job or do I need to wrap every call in a try/catch to be sure to handle the 300 correctly?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;private WebServiceManger _webServiceManger
private WebServiceManger
{
get
{
if(_webServiceManager == null)
_webServiceManger = new WebServiceManger(login); // UserIdTicketCredentials
return _webServiceManger;
}
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2013 14:48:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/4429743#M11355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-16T14:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: WebServiceManager Soap 300</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/4432585#M11356</link>
      <description>&lt;P&gt;You should be wrapping everything in a try/catch block anyway.&amp;nbsp; The recommended fix is to bubble the error up to the user an let them run the command again.&amp;nbsp; Have a look at this article:&amp;nbsp; &lt;A href="http://blog.coolorange.com/2013/03/25/handle-soapexception-300-badauthenticationtoken-in-vault-extensions/" target="_blank"&gt;http://blog.coolorange.com/2013/03/25/handle-soapexception-300-badauthenticationtoken-in-vault-extensions/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note:&amp;nbsp; This issue should be fixed in 2014 because each execute event passes in a Connection object, which has a WebServiceManager.&amp;nbsp; That way you don't need to manage your own WebServiceManager.&amp;nbsp; Instead, you share the same one that Vault Explorer uses.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 13:39:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/4432585#M11356</guid>
      <dc:creator>Redmond.D</dc:creator>
      <dc:date>2013-09-17T13:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: WebServiceManager Soap 300</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/4433445#M11357</link>
      <description>&lt;P&gt;Thanks for your reply and - yes - fair enough about the try/catching everything..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I stumbled over the article you mention earlier, as the issue&amp;nbsp;seems to be bit of niche, but my scenario&amp;nbsp;is a slightly different ballgame, so ATM&amp;nbsp;I wrap every call that has context in a&amp;nbsp;method, so I can call it repeatedly without loosing context,&amp;nbsp;should an exception be thrown. I was wondering if I was making to much of a fuzz..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the catch is not&amp;nbsp;delivering&amp;nbsp;a&amp;nbsp;never ending story &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 18:53:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/webservicemanager-soap-300/m-p/4433445#M11357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-17T18:53:09Z</dc:date>
    </item>
  </channel>
</rss>

