<?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: SOAP response 137 to valid(?) request in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4521463#M10866</link>
    <description>&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fiddler is a really cool tool, thanks for the heads up. &amp;nbsp;Is there somewhere you can see a proper XML request/response occur (i.e. from the Vault web client)? &amp;nbsp;I can see the get request occur, though I can't find any XML, but I might just be missing it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My understanding of error 137 is that it should not be sent for a headers problem, but I guess it's possible.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2013 19:41:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-10-14T19:41:57Z</dc:date>
    <item>
      <title>SOAP response 137 to valid(?) request</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4508915#M10864</link>
      <description>&lt;P&gt;I am interacting with Vault 2014 using the SOAP API and the FindItemRevisionsBySearchConditions operation. &amp;nbsp;Reading the WSDL, I believe that the following XML is valid:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;env:Envelope xmlns:lol0="http://AutodeskDM/Services/ItemService/1/20/2011/" xmlns:env="&lt;A target="_blank" href="https://forums.autodesk.com/t5/forums/postpage/board-id/"&gt;http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;&lt;/A&gt;
  &amp;lt;env:Header&amp;gt;
    &amp;lt;lol0:SecurityHeader&amp;gt;
      &amp;lt;lol0:Ticket&amp;gt;d57edeba-1919-40e3-b397-e4aec5fd8593&amp;lt;/lol0:Ticket&amp;gt;
      &amp;lt;lol0:UserId&amp;gt;3&amp;lt;/lol0:UserId&amp;gt;
    &amp;lt;/lol0:SecurityHeader&amp;gt;
  &amp;lt;/env:Header&amp;gt;
  &amp;lt;env:Body&amp;gt;
    &amp;lt;lol0:FindItemRevisionsBySearchConditions&amp;gt;
      &amp;lt;lol0:searchConditions&amp;gt;
        &amp;lt;lol0:SrchCond PropDefId="264" SrchOper="1" SrchTxt="7103-1201" PropTyp="AllProperties" SrchRule="Must"/&amp;gt;
        &amp;lt;lol0:SrchCond PropDefId="59" SrchOper="1" SrchTxt="Work" PropTyp="SingleProperty" SrchRule="Must"/&amp;gt;
      &amp;lt;/lol0:searchConditions&amp;gt;
      &amp;lt;lol0:bRequestLatestOnly&amp;gt;true&amp;lt;/lol0:bRequestLatestOnly&amp;gt;
    &amp;lt;/lol0:FindItemRevisionsBySearchConditions&amp;gt;
  &amp;lt;/env:Body&amp;gt;
&amp;lt;/env:Envelope&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;However, I receive error 137 (illegal input params) whenever I have any SrchCond elements, although those elements look well formed to me. &amp;nbsp;Does anybody have any examples of a valid request, or is there something I'm missing in the request?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Louis&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2013 12:31:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4508915#M10864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-10T12:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP response 137 to valid(?) request</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4510321#M10865</link>
      <description>&lt;P&gt;Hi Louis,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't see any obvious problems here. I submitted this to one of our servers with Fiddler&amp;nbsp;(with minor adjustments to ticket , etc ) and got a successful response. So it isn't immediately clear to me what the problem is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to double check your http headers, etc for correctness - or monitor successful calls from the Vault client app with a tool like Fiddler to see if there are differences vs. what your are doing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2013 19:39:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4510321#M10865</guid>
      <dc:creator>paul.gunn</dc:creator>
      <dc:date>2013-10-10T19:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP response 137 to valid(?) request</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4521463#M10866</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fiddler is a really cool tool, thanks for the heads up. &amp;nbsp;Is there somewhere you can see a proper XML request/response occur (i.e. from the Vault web client)? &amp;nbsp;I can see the get request occur, though I can't find any XML, but I might just be missing it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My understanding of error 137 is that it should not be sent for a headers problem, but I guess it's possible.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2013 19:41:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4521463#M10866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-14T19:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP response 137 to valid(?) request</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4522723#M10867</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For both the request and response, there is an 'inspector' tab. I usually use the text view to examine the XML. The headers section is also quite useful. The 'composer' tab is the one I used to text the XML fragment you posted .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2013 12:28:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4522723#M10867</guid>
      <dc:creator>paul.gunn</dc:creator>
      <dc:date>2013-10-15T12:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP response 137 to valid(?) request</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4524525#M10868</link>
      <description>&lt;P&gt;Yes, use fiddler, you will love it! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 02:56:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4524525#M10868</guid>
      <dc:creator>Daniel.Du</dc:creator>
      <dc:date>2013-10-16T02:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP response 137 to valid(?) request</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4525915#M10869</link>
      <description>&lt;P&gt;Fiddler does a great job at intercepting my browser traffic, but is there a way to capture other processes? &amp;nbsp;Our SOAP access is done via Ruby (and the Savon library), which Fiddler doesn't bind to. &amp;nbsp;May be a question better suited to Fiddler's forums. &amp;nbsp;I've seen some stuff about routing through a proxy, but it seems a bit convoluted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any documentation somewhere that would let me at least pin error 137 down to headers or message body? &amp;nbsp;If I remove the SrchCond elements, it returns the default search results, so I thought the error was in those elements, but they seem valid per the WSDL which paul.gunn's success seems to indicate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any server configuration options which could be related?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 12:05:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4525915#M10869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-16T12:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP response 137 to valid(?) request</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4525973#M10870</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There aren't any general configuration settings that would affect the validity of the parameters. So it is a bit of a mystery why the same xml would work for me but not in your environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One thought - if you could post your server vlog with the error, the stack trace there might give some insight into where the error is being thrown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 12:34:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4525973#M10870</guid>
      <dc:creator>paul.gunn</dc:creator>
      <dc:date>2013-10-16T12:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP response 137 to valid(?) request</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4525995#M10871</link>
      <description>&lt;P&gt;The vlog follows. &amp;nbsp;It seems to be very similar to the SOAP response data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;10/11/2013 8:26:32 AM *******************************************************************
Error: Soap Exception ( mesg-id = 635170767926913657 )
Exception: IllegalInputParam [137] 
Stacktrace: 
Server stack trace: 
   at Connectivity.Core.Operations.SearchContext.GetSearchClause(SearchCondition sc, SearchTerm searchTerm)
   at Connectivity.Core.Operations.SearchContext.BuildQuery(SearchCondition sc)
   at Connectivity.Core.Operations.SearchQuery.Add(SearchCondition sc)
   at Connectivity.Core.Operations.Searching.ConstructSearchQuery(LuceneSearcher searcher)
   at Connectivity.Core.Operations.Searching.Execute(TermFilter filter, String&amp;amp; bookmark, SearchStatus&amp;amp; searchstatus)
   at Connectivity.Product.DataAccess.ItemProperties.FindItemRevisions(SearchCondition[] conditions, SortCondition[] sortConditions, Boolean latestOnly, String&amp;amp; bookmark, SearchStatus&amp;amp; searchstatus)
   at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type)
   at Connectivity.Product.Services.ItemPropertyService.FindItemRevisionsByPropertySearchConditions(SearchCondition[] searchConditions, SortCondition[] sortConditions, Boolean bRequestLatestOnly, String&amp;amp; bookmark, SearchStatus&amp;amp; searchstatus)
   at Connectivity.Web.Services.v16.ItemService.FindItemRevisionsBySearchConditions(SearchCondition[] searchConditions, SortCondition[] sortConditions, Boolean bRequestLatestOnly, String&amp;amp; bookmark, SearchStatus&amp;amp; searchstatus)
   at SyncInvokeFindItemRevisionsBySearchConditions(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp;amp; outputs)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp;amp; rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp;amp; rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc&amp;amp; rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

10/11/2013 8:28:42 AM Begin executing event Autodesk.Events.Maintenance at 10/11/2013 8:28:42 AM
10/11/2013 8:28:42 AM End executing event Autodesk.Events.Maintenance at 10/11/2013 8:28:42 AM&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 12:37:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4525995#M10871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-16T12:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP response 137 to valid(?) request</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4526031#M10872</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately the error log doesn't lend much insight. My best suggestion is to capture successful search requests (e.g. from vault client) in fiddler and determine differences between those and the requests you are sending - hopefully pointing to an explanation / solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 12:50:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/soap-response-137-to-valid-request/m-p/4526031#M10872</guid>
      <dc:creator>paul.gunn</dc:creator>
      <dc:date>2013-10-16T12:50:29Z</dc:date>
    </item>
  </channel>
</rss>

