Issue in submitting query via HTTP interface of IMS (FSIS 2.0.6) RRS feed

  • Question

  • Hi,

    I am trying to post an HTTP query (context xml) to IMS via HTTP POST to http://<imshost>:17022/ProcessingEngine/  . The context xml in the body has content-type encoding of Application/XML and the content is url encoded.

    Below is the context xml which I am trying to submit :

    <context xmlns:context="" xmlns="" xmlns:ims="">   <request>     <anonymous>true</anonymous>     <sessionID>zo4fy0nmuyrxaa55kignkc55</sessionID>     <clientIP>::1</clientIP>     <userAgent>Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)</userAgent>     <userLanguage>nb-NO</userLanguage>   </request>   <routing>     <flowName>FSIS_IMS_ESP_BING.BingWebAndEspFederatedFlow</flowName>   </routing>   <imsSearch xmlns="" xmlns:xsi=""><search><_collapsing></_collapsing>       <_freshnessBoost></_freshnessBoost>       <_locale>en-US</_locale>       <_navigation></_navigation>       <_clusters></_clusters>       <_qtPipeline></_qtPipeline>       <_resubmit></_resubmit>       <_resultView></_resultView>       <_rpPipeline></_rpPipeline>       <_spellCheckType>0</_spellCheckType>       <_timeout>0</_timeout>       <_searchOperator xsi:type="TermsOperator">         <_scopes></_scopes>         <_source></_source>         <_returnScope></_returnScope>         <_terms>test query</_terms>         <_weight>100</_weight>         <_linguistics>true</_linguistics>         <_mode>0</_mode>       </_searchOperator>       <_sortElements></_sortElements>       <_additionalParameters></_additionalParameters>     </search>     <offset>0</offset>     <count>10</count>     <navigation></navigation>     <findsimilar></findsimilar>     <docsonly>false</docsonly>   </imsSearch>   <trigger type="object">     <tokens type="array">       <item type="string">test</item>       <item type="string">query</item>     </tokens>   </trigger></context>

    However, after submission I donot see a response from IMS server. I donot see a connection closed error as well. The IMS server was running fine as seen in the Admin GUI of FSIS.

    How do I make sure the ims - http server is listening for context xml objects at the port 17022?

    The documentation refers to WriteXml(Stream) context method. How do I invoke this method?

    Any help would be highly appreciated!


    Sujith Joseph

    Tuesday, September 21, 2010 9:55 PM