locked
EndSaveChanges throws "Not all requests in the batch had a response." RRS feed

  • Question

  • Has anyone ever seen EndSaveChanges throw an exception with InnerException: System.InvalidOperationException: Not all requests in the batch had a response"?

    I am attempting in Silverlight to create a new entity with several links to other entities. Some of these links are many to many. When I call End SaveChanges it throws the exception mentioned above. I have no idea how to debug this error. When I examine the HTTP messages using Fiddler, I see nothing out of the ordinary and no HTTP error responses. Also, it appears to me that all of my changes were indeed posted to the server. I don't even see any evidence that I made a batch request. A web search for this error, came up empty. None of the search results contained my error. I can't be the first person to ever come across this error.

    I am tempted to write code to ignore this error but am concerned that I may mask a more insidious issue.

    Can anyone give me some guidance on this? Thanks.

    Rob

    Monday, February 15, 2010 7:17 PM

All replies

  • Hi,

    I have never seen this error unfortunately.
    Could you please post the entire exception (including all the inner exceptions) along with callstacks?
    Another interesting bit of information would be the fiddler trace. How many requests does the client make in the SaveChanges operation?
    Did you use SaveChangesOptions.Batch?

    Thanks,
    Vitek Karas [MSFT]
    Tuesday, February 16, 2010 7:54 AM
    Moderator

  • Hi Vitek,

    Thanks for your prompt response.

    The scenario is this. I am creating a new entity (SCM_MEASURE) linking 2 new entities to it (SCM_MEASURE_COMPARATOR and SCM_MEASURE_PERSON) and linking 2 existing entities to it as well (COR_DOMAIN and GEN_PERIOD_CATEGORY_RPRTD). Then I save changes. I am not explicitly setting SaveChangesOptions. 

    Here's the exception:

    "System.Data.Services.Client.DataServiceRequestException: An error occurred while processing this request. ---> System.InvalidOperationException: Not all requests in the batch had a response.\r\n at System.Data.Services.Client.DataServiceContext.SaveAsyncResult.<HandleBatchResponse>d__1d.MoveNext()\r\n at System.Data.Services.Client.DataServiceContext.SaveAsyncResult.HandleBatchResponse()\r\n --- End of inner exception stack trace ---\r\n at System.Data.Services.Client.DataServiceContext.SaveAsyncResult.HandleBatchResponse()\r\n at System.Data.Services.Client.DataServiceContext.SaveAsyncResult.EndRequest()\r\n at System.Data.Services.Client.DataServiceContext.EndSaveChanges(IAsyncResult asyncResult)\r\n at ASE.Core.AseValidatedDataManager`2.SaveChangesComplete(IAsyncResult result)"

     


    I will post the Fiddler traces in a follow-up post.

    Thanks,
    Rob

     


    I will post the Fiddler traces in a follow-up post.

    Thanks,
    Rob

     

     

     

    Tuesday, February 16, 2010 2:09 PM

  • After calling EndSaveChanges, 3 HTTP request/response pairs are generated. Here are the Fiddler traces:

    POST /UIServices/UpdateMeasure.svc/SCM_MEASURE HTTP/1.1
    Accept-Charset: UTF-8
    Accept-Language: en-us,de-DE;q=0.5
    dataserviceversion: 1.0;Silverlight
    Accept: application/atom+xml,application/xml
    Content-Type: application/atom+xml
    maxdataserviceversion: 1.0;Silverlight
    Referer: http://127.0.0.1.:2650/ActiveStrategyMain.aspx#/Home
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.5.30428; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8; InfoPath.2)
    Host: 127.0.0.1.:2650
    Content-Length: 3768
    Connection: Keep-Alive
    Pragma: no-cache
    Cookie: ASP.NET_SessionId=cuy3tlivzaepyl555qibnd45; .ASPXAUTH=B36972682238FD0F7D65D9E2A64E612BA1FC2F485B45CCFEC6893A6095EC09DDF093E04637ACE0B60E61C45E718923F73100EFE3E8934F15F2BC171F94E041F19C48B62EF953CEAD3E95979253001DBC

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <entry xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
    <category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="EntityModel.SCM_MEASURE" />
    <title />
    <updated>2010-02-16T13:59:15.4798339Z</updated>
    <author>
    <name />
    </author>
    <id />
    <link href="http://127.0.0.1.:2650/UIServices/UpdateMeasure.svc/COR_DOMAIN(guid'a5f940f1-21f4-4905-a7a4-a6d10a80059c')" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/COR_DOMAIN" type="application/atom+xml;type=entry" />
    <link href="http://127.0.0.1.:2650/UIServices/UpdateMeasure.svc/GEN_PERIOD_CATEGORY(guid'00000000-0000-0000-0000-000000000002')" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/GEN_PERIOD_CATEGORY_RPRTD" type="application/atom+xml;type=entry" />
    <content type="application/xml">
    <m:properties>
    <d:ALIAS m:null="true" />
    <d:ALLOW_MANUAL_ENTRY m:type="Edm.Int32" m:null="true" />
    <d:CALCULATE_MEAN m:type="Edm.Int32" m:null="true" />
    <d:CHARACTER_TYPE m:type="Edm.Int32" m:null="true" />
    <d:CHART_RENDER_SEQUENCE m:type="Edm.Int32" m:null="true" />
    <d:CONTROL_TYPE m:type="Edm.Int32">0</d:CONTROL_TYPE>
    <d:CREATED_BY_ID m:type="Edm.Guid" m:null="true" />
    <d:CREATED_OBO_ID m:type="Edm.Guid" m:null="true" />
    <d:CURRENT_PERIOD m:null="true" />
    <d:DATE_CREATED m:type="Edm.DateTime" m:null="true" />
    <d:DATE_UPDATED m:type="Edm.DateTime" m:null="true" />
    <d:DAYS_GRACE m:type="Edm.Int32" m:null="true" />
    <d:DELETED m:type="Edm.Int32">0</d:DELETED>
    <d:DESCRIPTION m:null="true" />
    <d:END_DATE m:type="Edm.DateTime">2011-01-01T00:00:00</d:END_DATE>
    <d:EXTERNAL_KEY m:null="true" />
    <d:EXTERNAL_VALUE m:null="true" />
    <d:FORMULA m:null="true" />
    <d:MEASURE_CLASS m:null="true" />
    <d:MEASURE_NAME>AAAAAAAAAA</d:MEASURE_NAME>
    <d:MEASURE_TYPE m:type="Edm.Int32">1</d:MEASURE_TYPE>
    <d:MULTIPLIER m:type="Edm.Double" m:null="true" />
    <d:NUM_DATA_VALUES m:type="Edm.Int32" m:null="true" />
    <d:N_SIGMA m:type="Edm.Double" m:null="true" />
    <d:PERCENT_FLAG m:type="Edm.Int32" m:null="true" />
    <d:PERFORMANCE_APPROVAL_REQUIRED m:type="Edm.Int32" m:null="true" />
    <d:PK_ID m:type="Edm.Guid">567a194f-147c-4ea4-8f12-491b0728be15</d:PK_ID>
    <d:PROCESS_CAPABILITY m:type="Edm.Int32" m:null="true" />
    <d:RENDER m:type="Edm.Int32" m:null="true" />
    <d:ROLLUP_TYPE m:type="Edm.Int32" m:null="true" />
    <d:SAMPLE_SIZE m:type="Edm.Int32" m:null="true" />
    <d:SCORE_TYPE m:type="Edm.Int32" m:null="true" />
    <d:SECURE_LEVEL m:type="Edm.Int32">0</d:SECURE_LEVEL>
    <d:SECURE_PRIVATE m:type="Edm.Int32">0</d:SECURE_PRIVATE>
    <d:SORT_ORDER m:type="Edm.Int32" m:null="true" />
    <d:START_DATE m:type="Edm.DateTime">2010-01-01T00:00:00</d:START_DATE>
    <d:STATUS m:type="Edm.Int32" m:null="true" />
    <d:SUBGROUP_NUMBER m:type="Edm.Int32" m:null="true" />
    <d:SUBGROUP_SIZE m:type="Edm.Int32" m:null="true" />
    <d:TYPE m:type="Edm.Int32" m:null="true" />
    <d:UPDATED_BY_ID m:type="Edm.Guid" m:null="true" />
    <d:UPDATED_OBO_ID m:type="Edm.Guid" m:null="true" />
    <d:VALUE_FIVE_NAME m:null="true" />
    <d:VALUE_FOUR_NAME m:null="true" />
    <d:VALUE_ONE_NAME m:null="true" />
    <d:VALUE_SOURCE m:type="Edm.Int32">1</d:VALUE_SOURCE>
    <d:VALUE_THREE_NAME m:null="true" />
    <d:VALUE_TWO_NAME m:null="true" />
    </m:properties>
    </content>
    </entry>

    HTTP/1.1 201 Created
    Server: ASP.NET Development Server/9.0.0.0
    Date: Tue, 16 Feb 2010 13:59:15 GMT
    X-AspNet-Version: 2.0.50727
    DataServiceVersion: 1.0;
    Location: http://127.0.0.1.:2650/UIServices/UpdateMeasure.svc/SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')
    Cache-Control: no-cache
    Content-Type: application/atom+xml;charset=utf-8
    Content-Length: 6088
    Connection: Close

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <entry xml:base="http://127.0.0.1.:2650/UIServices/UpdateMeasure.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
    <id>http://127.0.0.1.:2650/UIServices/UpdateMeasure.svc/SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')</id>
    <title type="text"></title>
    <updated>2010-02-16T13:59:15Z</updated>
    <author>
    <name />
    </author>
    <link rel="edit" title="SCM_MEASURE" href="SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/COR_DOMAIN" type="application/atom+xml;type=entry" title="COR_DOMAIN" href="SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')/COR_DOMAIN" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/COR_USER" type="application/atom+xml;type=entry" title="COR_USER" href="SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')/COR_USER" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/GEN_PERIOD_CATEGORY_DSPLYD" type="application/atom+xml;type=entry" title="GEN_PERIOD_CATEGORY_DSPLYD" href="SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')/GEN_PERIOD_CATEGORY_DSPLYD" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/GEN_PERIOD_CATEGORY_RPRTD" type="application/atom+xml;type=entry" title="GEN_PERIOD_CATEGORY_RPRTD" href="SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')/GEN_PERIOD_CATEGORY_RPRTD" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SCM_MEASURE_CHILD" type="application/atom+xml;type=feed" title="SCM_MEASURE_CHILD" href="SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')/SCM_MEASURE_CHILD" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SCM_MEASURE_PARENT" type="application/atom+xml;type=feed" title="SCM_MEASURE_PARENT" href="SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')/SCM_MEASURE_PARENT" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SCM_MEASURE_COMPARATOR" type="application/atom+xml;type=feed" title="SCM_MEASURE_COMPARATOR" href="SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')/SCM_MEASURE_COMPARATOR" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SCM_MEASURE_OBJECTIVE" type="application/atom+xml;type=feed" title="SCM_MEASURE_OBJECTIVE" href="SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')/SCM_MEASURE_OBJECTIVE" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SCM_MEASURE_PERSON" type="application/atom+xml;type=feed" title="SCM_MEASURE_PERSON" href="SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')/SCM_MEASURE_PERSON" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SCM_MEASURE_GROUP" type="application/atom+xml;type=feed" title="SCM_MEASURE_GROUP" href="SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')/SCM_MEASURE_GROUP" />
    <category term="EntityModel.SCM_MEASURE" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
    <content type="application/xml">
    <m:properties>
    <d:PK_ID m:type="Edm.Guid">567a194f-147c-4ea4-8f12-491b0728be15</d:PK_ID>
    <d:MEASURE_NAME>AAAAAAAAAA</d:MEASURE_NAME>
    <d:DESCRIPTION m:null="true" />
    <d:MEASURE_TYPE m:type="Edm.Int32">1</d:MEASURE_TYPE>
    <d:ROLLUP_TYPE m:type="Edm.Int32" m:null="true" />
    <d:SCORE_TYPE m:type="Edm.Int32" m:null="true" />
    <d:CHARACTER_TYPE m:type="Edm.Int32" m:null="true" />
    <d:TYPE m:type="Edm.Int32" m:null="true" />
    <d:PERCENT_FLAG m:type="Edm.Int32" m:null="true" />
    <d:STATUS m:type="Edm.Int32" m:null="true" />
    <d:VALUE_SOURCE m:type="Edm.Int32">1</d:VALUE_SOURCE>
    <d:NUM_DATA_VALUES m:type="Edm.Int32" m:null="true" />
    <d:VALUE_ONE_NAME m:null="true" />
    <d:VALUE_TWO_NAME m:null="true" />
    <d:VALUE_THREE_NAME m:null="true" />
    <d:VALUE_FOUR_NAME m:null="true" />
    <d:VALUE_FIVE_NAME m:null="true" />
    <d:PERFORMANCE_APPROVAL_REQUIRED m:type="Edm.Int32" m:null="true" />
    <d:START_DATE m:type="Edm.DateTime">2010-01-01T00:00:00</d:START_DATE>
    <d:END_DATE m:type="Edm.DateTime">2011-01-01T00:00:00</d:END_DATE>
    <d:FORMULA m:null="true" />
    <d:CHART_RENDER_SEQUENCE m:type="Edm.Int32" m:null="true" />
    <d:MEASURE_CLASS m:null="true" />
    <d:RENDER m:type="Edm.Int32" m:null="true" />
    <d:CONTROL_TYPE m:type="Edm.Int32">0</d:CONTROL_TYPE>
    <d:CALCULATE_MEAN m:type="Edm.Int32" m:null="true" />
    <d:DAYS_GRACE m:type="Edm.Int32" m:null="true" />
    <d:SUBGROUP_NUMBER m:type="Edm.Int32" m:null="true" />
    <d:SUBGROUP_SIZE m:type="Edm.Int32" m:null="true" />
    <d:SAMPLE_SIZE m:type="Edm.Int32" m:null="true" />
    <d:PROCESS_CAPABILITY m:type="Edm.Int32" m:null="true" />
    <d:N_SIGMA m:type="Edm.Double" m:null="true" />
    <d:ALLOW_MANUAL_ENTRY m:type="Edm.Int32" m:null="true" />
    <d:UPDATED_BY_ID m:type="Edm.Guid" m:null="true" />
    <d:CREATED_BY_ID m:type="Edm.Guid">00000000-0000-0000-0000-000000000140</d:CREATED_BY_ID>
    <d:DATE_CREATED m:type="Edm.DateTime">2010-02-16T08:59:15.6204544-05:00</d:DATE_CREATED>
    <d:DATE_UPDATED m:type="Edm.DateTime" m:null="true" />
    <d:DELETED m:type="Edm.Int32">0</d:DELETED>
    <d:EXTERNAL_KEY m:null="true" />
    <d:EXTERNAL_VALUE m:null="true" />
    <d:SORT_ORDER m:type="Edm.Int32" m:null="true" />
    <d:CURRENT_PERIOD m:null="true" />
    <d:ALIAS m:null="true" />
    <d:SECURE_PRIVATE m:type="Edm.Int32">0</d:SECURE_PRIVATE>
    <d:SECURE_LEVEL m:type="Edm.Int32">0</d:SECURE_LEVEL>
    <d:MULTIPLIER m:type="Edm.Double" m:null="true" />
    <d:CREATED_OBO_ID m:type="Edm.Guid" m:null="true" />
    <d:UPDATED_OBO_ID m:type="Edm.Guid" m:null="true" />
    </m:properties>
    </content>
    </entry>

    POST /UIServices/UpdateMeasure.svc/SCM_MEASURE_COMPARATOR HTTP/1.1
    Accept-Charset: UTF-8
    Accept-Language: en-us,de-DE;q=0.5
    dataserviceversion: 1.0;Silverlight
    Accept: application/atom+xml,application/xml
    Content-Type: application/atom+xml
    maxdataserviceversion: 1.0;Silverlight
    Referer: http://127.0.0.1.:2650/ActiveStrategyMain.aspx#/Home
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.5.30428; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8; InfoPath.2)
    Host: 127.0.0.1.:2650
    Content-Length: 4418
    Connection: Keep-Alive
    Pragma: no-cache
    Cookie: ASP.NET_SessionId=cuy3tlivzaepyl555qibnd45; .ASPXAUTH=B36972682238FD0F7D65D9E2A64E612BA1FC2F485B45CCFEC6893A6095EC09DDF093E04637ACE0B60E61C45E718923F73100EFE3E8934F15F2BC171F94E041F19C48B62EF953CEAD3E95979253001DBC

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <entry xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
    <category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="EntityModel.SCM_MEASURE_COMPARATOR" />
    <title />
    <updated>2010-02-16T13:59:15.6673279Z</updated>
    <author>
    <name />
    </author>
    <id />
    <link href="http://127.0.0.1.:2650/UIServices/UpdateMeasure.svc/SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SCM_MEASURE" type="application/atom+xml;type=entry" />
    <content type="application/xml">
    <m:properties>
    <d:ABSOLUTE_MAX m:type="Edm.Double" m:null="true" />
    <d:ABSOLUTE_MIN m:type="Edm.Double" m:null="true" />
    <d:ABSOLUTE_MIN_MAX m:type="Edm.Double" m:null="true" />
    <d:ACCUMULATOR_TYPE m:type="Edm.Int32">0</d:ACCUMULATOR_TYPE>
    <d:CALCULATE_MEAN m:type="Edm.Int32" m:null="true" />
    <d:CALCULATE_SPARK m:type="Edm.Int32" m:null="true" />
    <d:CENTER_GOAL m:type="Edm.Double" m:null="true" />
    <d:COMPARATOR_NAME_ID m:type="Edm.Int32" m:null="true" />
    <d:COMPARISON_GOAL m:type="Edm.Double" m:null="true" />
    <d:COMPARISON_GOAL_DIRECTION m:type="Edm.Int32" m:null="true" />
    <d:COMPARISON_TYPE m:type="Edm.Int32">3</d:COMPARISON_TYPE>
    <d:CONTROL_TYPE m:type="Edm.Int32" m:null="true" />
    <d:CREATED_BY_ID m:type="Edm.Guid" m:null="true" />
    <d:CREATED_OBO_ID m:type="Edm.Guid" m:null="true" />
    <d:CURRENT_PERIOD m:null="true" />
    <d:DATE_CREATED m:type="Edm.DateTime" m:null="true" />
    <d:DATE_UPDATED m:type="Edm.DateTime" m:null="true" />
    <d:DEFAULT_COMPARATOR m:type="Edm.Int32">1</d:DEFAULT_COMPARATOR>
    <d:DELETED m:type="Edm.Int32">0</d:DELETED>
    <d:DISPLAY_PRECISION m:type="Edm.Int32" m:null="true" />
    <d:DISPLAY_PREFIX m:null="true" />
    <d:DISPLAY_SUFFIX m:null="true" />
    <d:DOMAIN_ID m:type="Edm.Guid" m:null="true" />
    <d:EXTERNAL_KEY m:null="true" />
    <d:EXTERNAL_VALUE m:null="true" />
    <d:EXTREME_MAX m:type="Edm.Double" m:null="true" />
    <d:EXTREME_MIN m:type="Edm.Double" m:null="true" />
    <d:GENERATE_VARIANCE m:type="Edm.Int32" m:null="true" />
    <d:GOAL_BAND_SOURCE m:type="Edm.Int32">0</d:GOAL_BAND_SOURCE>
    <d:GOAL_SOURCE m:type="Edm.Int32">1</d:GOAL_SOURCE>
    <d:LOWER_GOAL m:type="Edm.Double" m:null="true" />
    <d:MEAN_DEVIATION m:type="Edm.Int32" m:null="true" />
    <d:MEAN_PERIODS m:type="Edm.Int32" m:null="true" />
    <d:PERFORMANCE_OK_MAX m:type="Edm.Double" m:null="true" />
    <d:PERFORMANCE_OK_MIN m:type="Edm.Double" m:null="true" />
    <d:PK_ID m:type="Edm.Guid">ebdc1625-677e-4b2b-b6cb-be6f89fe875d</d:PK_ID>
    <d:PREVIOUS_PERIOD_DATA_VALUE m:type="Edm.Int32" m:null="true" />
    <d:PREVIOUS_PERIOD_OFFSET m:type="Edm.Int32" m:null="true" />
    <d:PREVIOUS_PERIOD_PCT m:type="Edm.Double" m:null="true" />
    <d:PREVIOUS_PERIOD_SUMMARY_LEVEL m:type="Edm.Guid" m:null="true" />
    <d:PROCESSED m:type="Edm.Int32" m:null="true" />
    <d:ROLLUP_TARGETS m:type="Edm.Int32" m:null="true" />
    <d:ROLLUP_TYPE m:type="Edm.Int32" m:null="true" />
    <d:SCALE_MAX m:type="Edm.Double" m:null="true" />
    <d:SCALE_MIN m:type="Edm.Double" m:null="true" />
    <d:SECURE_LEVEL m:type="Edm.Int32">0</d:SECURE_LEVEL>
    <d:SECURE_PRIVATE m:type="Edm.Int32">0</d:SECURE_PRIVATE>
    <d:SORT_ORDER m:type="Edm.Int32">0</d:SORT_ORDER>
    <d:SPARK_PERIODS m:type="Edm.Int32" m:null="true" />
    <d:STATUS m:type="Edm.Int32" m:null="true" />
    <d:TYPE m:type="Edm.Int32" m:null="true" />
    <d:UPDATED_BY_ID m:type="Edm.Guid" m:null="true" />
    <d:UPDATED_OBO_ID m:type="Edm.Guid" m:null="true" />
    <d:UPPER_GOAL m:type="Edm.Double" m:null="true" />
    <d:USE_BASE_FOR_COMPARISON m:type="Edm.Int32" m:null="true" />
    <d:VALUE_SOURCE m:type="Edm.Int32">1</d:VALUE_SOURCE>
    <d:VARIANCE_CALCULATION m:type="Edm.Int32" m:null="true" />
    <d:VARIANCE_REPORT_NO_DATA m:type="Edm.Int32" m:null="true" />
    <d:VARIANCE_REPORT_THRESHOLD m:type="Edm.Int32" m:null="true" />
    </m:properties>
    </content>
    </entry>

    HTTP/1.1 201 Created
    Server: ASP.NET Development Server/9.0.0.0
    Date: Tue, 16 Feb 2010 13:59:15 GMT
    X-AspNet-Version: 2.0.50727
    DataServiceVersion: 1.0;
    Location: http://127.0.0.1.:2650/UIServices/UpdateMeasure.svc/SCM_MEASURE_COMPARATOR(guid'ebdc1625-677e-4b2b-b6cb-be6f89fe875d')
    Cache-Control: no-cache
    Content-Type: application/atom+xml;charset=utf-8
    Content-Length: 5065
    Connection: Close

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <entry xml:base="http://127.0.0.1.:2650/UIServices/UpdateMeasure.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
    <id>http://127.0.0.1.:2650/UIServices/UpdateMeasure.svc/SCM_MEASURE_COMPARATOR(guid'ebdc1625-677e-4b2b-b6cb-be6f89fe875d')</id>
    <title type="text"></title>
    <updated>2010-02-16T13:59:15Z</updated>
    <author>
    <name />
    </author>
    <link rel="edit" title="SCM_MEASURE_COMPARATOR" href="SCM_MEASURE_COMPARATOR(guid'ebdc1625-677e-4b2b-b6cb-be6f89fe875d')" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/GEN_PERIOD_CATEGORY" type="application/atom+xml;type=entry" title="GEN_PERIOD_CATEGORY" href="SCM_MEASURE_COMPARATOR(guid'ebdc1625-677e-4b2b-b6cb-be6f89fe875d')/GEN_PERIOD_CATEGORY" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SCM_MEASURE" type="application/atom+xml;type=entry" title="SCM_MEASURE" href="SCM_MEASURE_COMPARATOR(guid'ebdc1625-677e-4b2b-b6cb-be6f89fe875d')/SCM_MEASURE" />
    <category term="EntityModel.SCM_MEASURE_COMPARATOR" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
    <content type="application/xml">
    <m:properties>
    <d:PK_ID m:type="Edm.Guid">ebdc1625-677e-4b2b-b6cb-be6f89fe875d</d:PK_ID>
    <d:COMPARATOR_NAME_ID m:type="Edm.Int32" m:null="true" />
    <d:CURRENT_PERIOD m:null="true" />
    <d:VALUE_SOURCE m:type="Edm.Int32">1</d:VALUE_SOURCE>
    <d:GOAL_SOURCE m:type="Edm.Int32">1</d:GOAL_SOURCE>
    <d:GOAL_BAND_SOURCE m:type="Edm.Int32">0</d:GOAL_BAND_SOURCE>
    <d:DEFAULT_COMPARATOR m:type="Edm.Int32">1</d:DEFAULT_COMPARATOR>
    <d:EXTREME_MAX m:type="Edm.Double" m:null="true" />
    <d:EXTREME_MIN m:type="Edm.Double" m:null="true" />
    <d:PERFORMANCE_OK_MAX m:type="Edm.Double" m:null="true" />
    <d:PERFORMANCE_OK_MIN m:type="Edm.Double" m:null="true" />
    <d:ABSOLUTE_MIN_MAX m:type="Edm.Double" m:null="true" />
    <d:UPPER_GOAL m:type="Edm.Double" m:null="true" />
    <d:LOWER_GOAL m:type="Edm.Double" m:null="true" />
    <d:CENTER_GOAL m:type="Edm.Double" m:null="true" />
    <d:COMPARISON_GOAL m:type="Edm.Double" m:null="true" />
    <d:COMPARISON_GOAL_DIRECTION m:type="Edm.Int32" m:null="true" />
    <d:STATUS m:type="Edm.Int32" m:null="true" />
    <d:TYPE m:type="Edm.Int32" m:null="true" />
    <d:COMPARISON_TYPE m:type="Edm.Int32">3</d:COMPARISON_TYPE>
    <d:ACCUMULATOR_TYPE m:type="Edm.Int32">0</d:ACCUMULATOR_TYPE>
    <d:CONTROL_TYPE m:type="Edm.Int32" m:null="true" />
    <d:GENERATE_VARIANCE m:type="Edm.Int32" m:null="true" />
    <d:PROCESSED m:type="Edm.Int32" m:null="true" />
    <d:SCALE_MIN m:type="Edm.Double" m:null="true" />
    <d:SCALE_MAX m:type="Edm.Double" m:null="true" />
    <d:DISPLAY_PREFIX m:null="true" />
    <d:DISPLAY_SUFFIX m:null="true" />
    <d:DISPLAY_PRECISION m:type="Edm.Int32" m:null="true" />
    <d:CALCULATE_MEAN m:type="Edm.Int32" m:null="true" />
    <d:MEAN_PERIODS m:type="Edm.Int32" m:null="true" />
    <d:MEAN_DEVIATION m:type="Edm.Int32" m:null="true" />
    <d:VARIANCE_CALCULATION m:type="Edm.Int32" m:null="true" />
    <d:DATE_CREATED m:type="Edm.DateTime">2010-02-16T08:59:15.7923239-05:00</d:DATE_CREATED>
    <d:DATE_UPDATED m:type="Edm.DateTime" m:null="true" />
    <d:CREATED_BY_ID m:type="Edm.Guid">00000000-0000-0000-0000-000000000140</d:CREATED_BY_ID>
    <d:UPDATED_BY_ID m:type="Edm.Guid" m:null="true" />
    <d:EXTERNAL_KEY m:null="true" />
    <d:EXTERNAL_VALUE m:null="true" />
    <d:SORT_ORDER m:type="Edm.Int32">0</d:SORT_ORDER>
    <d:DOMAIN_ID m:type="Edm.Guid" m:null="true" />
    <d:ROLLUP_TYPE m:type="Edm.Int32" m:null="true" />
    <d:SECURE_PRIVATE m:type="Edm.Int32">0</d:SECURE_PRIVATE>
    <d:SECURE_LEVEL m:type="Edm.Int32">0</d:SECURE_LEVEL>
    <d:ROLLUP_TARGETS m:type="Edm.Int32" m:null="true" />
    <d:PREVIOUS_PERIOD_OFFSET m:type="Edm.Int32" m:null="true" />
    <d:PREVIOUS_PERIOD_PCT m:type="Edm.Double" m:null="true" />
    <d:PREVIOUS_PERIOD_SUMMARY_LEVEL m:type="Edm.Guid" m:null="true" />
    <d:PREVIOUS_PERIOD_DATA_VALUE m:type="Edm.Int32" m:null="true" />
    <d:VARIANCE_REPORT_NO_DATA m:type="Edm.Int32" m:null="true" />
    <d:VARIANCE_REPORT_THRESHOLD m:type="Edm.Int32" m:null="true" />
    <d:CALCULATE_SPARK m:type="Edm.Int32" m:null="true" />
    <d:SPARK_PERIODS m:type="Edm.Int32" m:null="true" />
    <d:ABSOLUTE_MIN m:type="Edm.Double" m:null="true" />
    <d:ABSOLUTE_MAX m:type="Edm.Double" m:null="true" />
    <d:DELETED m:type="Edm.Int32">0</d:DELETED>
    <d:USE_BASE_FOR_COMPARISON m:type="Edm.Int32" m:null="true" />
    <d:CREATED_OBO_ID m:type="Edm.Guid" m:null="true" />
    <d:UPDATED_OBO_ID m:type="Edm.Guid" m:null="true" />
    </m:properties>
    </content>
    </entry>

    POST /UIServices/UpdateMeasure.svc/SCM_MEASURE_PERSON HTTP/1.1
    Accept-Charset: UTF-8
    Accept-Language: en-us,de-DE;q=0.5
    dataserviceversion: 1.0;Silverlight
    Accept: application/atom+xml,application/xml
    Content-Type: application/atom+xml
    maxdataserviceversion: 1.0;Silverlight
    Referer: http://127.0.0.1.:2650/ActiveStrategyMain.aspx#/Home
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.5.30428; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8; InfoPath.2)
    Host: 127.0.0.1.:2650
    Content-Length: 2410
    Connection: Keep-Alive
    Pragma: no-cache
    Cookie: ASP.NET_SessionId=cuy3tlivzaepyl555qibnd45; .ASPXAUTH=B36972682238FD0F7D65D9E2A64E612BA1FC2F485B45CCFEC6893A6095EC09DDF093E04637ACE0B60E61C45E718923F73100EFE3E8934F15F2BC171F94E041F19C48B62EF953CEAD3E95979253001DBC

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <entry xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
    <category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="EntityModel.SCM_MEASURE_PERSON" />
    <title />
    <updated>2010-02-16T13:59:15.8235729Z</updated>
    <author>
    <name />
    </author>
    <id />
    <link href="http://127.0.0.1.:2650/UIServices/UpdateMeasure.svc/SCM_MEASURE(guid'567a194f-147c-4ea4-8f12-491b0728be15')" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SCM_MEASURE" type="application/atom+xml;type=entry" />
    <link href="http://127.0.0.1.:2650/UIServices/UpdateMeasure.svc/COR_USER(guid'00000000-0000-0000-0000-000000000140')" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/COR_USER" type="application/atom+xml;type=entry" />
    <content type="application/xml">
    <m:properties>
    <d:CREATED_BY_ID m:type="Edm.Guid" m:null="true" />
    <d:CREATED_OBO_ID m:type="Edm.Guid" m:null="true" />
    <d:DATE_CREATED m:type="Edm.DateTime" m:null="true" />
    <d:DATE_LINK_END m:type="Edm.DateTime" m:null="true" />
    <d:DATE_LINK_START m:type="Edm.DateTime" m:null="true" />
    <d:DATE_UPDATED m:type="Edm.DateTime" m:null="true" />
    <d:DELETED m:type="Edm.Int32">0</d:DELETED>
    <d:DISPLAY_STATUS m:type="Edm.Int32">1</d:DISPLAY_STATUS>
    <d:DOMAIN_ID m:type="Edm.Guid" m:null="true" />
    <d:EXTERNAL_KEY m:null="true" />
    <d:EXTERNAL_VALUE m:null="true" />
    <d:IS_ACTIVE m:type="Edm.Int32">0</d:IS_ACTIVE>
    <d:PK_ID m:type="Edm.Guid">c4b4d7cd-eea1-44c9-b625-77bdfd00e5a6</d:PK_ID>
    <d:ROLE m:type="Edm.Int32" m:null="true" />
    <d:SECURE_LEVEL m:type="Edm.Int32">0</d:SECURE_LEVEL>
    <d:SECURE_PRIVATE m:type="Edm.Int32">0</d:SECURE_PRIVATE>
    <d:SORT_ORDER m:type="Edm.Int32">-1</d:SORT_ORDER>
    <d:STATUS m:type="Edm.Int32">1</d:STATUS>
    <d:SUBSCRIBE m:type="Edm.Int32" m:null="true" />
    <d:TYPE m:type="Edm.Int32" m:null="true" />
    <d:UPDATED_BY_ID m:type="Edm.Guid" m:null="true" />
    <d:UPDATED_OBO_ID m:type="Edm.Guid" m:null="true" />
    <d:VARIANCE_REPORT_OWNER m:type="Edm.Int32">1</d:VARIANCE_REPORT_OWNER>
    </m:properties>
    </content>
    </entry>

    HTTP/1.1 201 Created
    Server: ASP.NET Development Server/9.0.0.0
    Date: Tue, 16 Feb 2010 13:59:15 GMT
    X-AspNet-Version: 2.0.50727
    DataServiceVersion: 1.0;
    Location: http://127.0.0.1.:2650/UIServices/UpdateMeasure.svc/SCM_MEASURE_PERSON(guid'c4b4d7cd-eea1-44c9-b625-77bdfd00e5a6')
    Cache-Control: no-cache
    Content-Type: application/atom+xml;charset=utf-8
    Content-Length: 2764
    Connection: Close

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <entry xml:base="http://127.0.0.1.:2650/UIServices/UpdateMeasure.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
    <id>http://127.0.0.1.:2650/UIServices/UpdateMeasure.svc/SCM_MEASURE_PERSON(guid'c4b4d7cd-eea1-44c9-b625-77bdfd00e5a6')</id>
    <title type="text"></title>
    <updated>2010-02-16T13:59:15Z</updated>
    <author>
    <name />
    </author>
    <link rel="edit" title="SCM_MEASURE_PERSON" href="SCM_MEASURE_PERSON(guid'c4b4d7cd-eea1-44c9-b625-77bdfd00e5a6')" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/COR_USER" type="application/atom+xml;type=entry" title="COR_USER" href="SCM_MEASURE_PERSON(guid'c4b4d7cd-eea1-44c9-b625-77bdfd00e5a6')/COR_USER" />
    <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SCM_MEASURE" type="application/atom+xml;type=entry" title="SCM_MEASURE" href="SCM_MEASURE_PERSON(guid'c4b4d7cd-eea1-44c9-b625-77bdfd00e5a6')/SCM_MEASURE" />
    <category term="EntityModel.SCM_MEASURE_PERSON" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
    <content type="application/xml">
    <m:properties>
    <d:PK_ID m:type="Edm.Guid">c4b4d7cd-eea1-44c9-b625-77bdfd00e5a6</d:PK_ID>
    <d:STATUS m:type="Edm.Int32">1</d:STATUS>
    <d:VARIANCE_REPORT_OWNER m:type="Edm.Int32">1</d:VARIANCE_REPORT_OWNER>
    <d:SUBSCRIBE m:type="Edm.Int32" m:null="true" />
    <d:ROLE m:type="Edm.Int32" m:null="true" />
    <d:TYPE m:type="Edm.Int32" m:null="true" />
    <d:CREATED_BY_ID m:type="Edm.Guid">00000000-0000-0000-0000-000000000140</d:CREATED_BY_ID>
    <d:UPDATED_BY_ID m:type="Edm.Guid" m:null="true" />
    <d:DATE_CREATED m:type="Edm.DateTime">2010-02-16T08:59:15.9485689-05:00</d:DATE_CREATED>
    <d:DATE_UPDATED m:type="Edm.DateTime" m:null="true" />
    <d:EXTERNAL_KEY m:null="true" />
    <d:EXTERNAL_VALUE m:null="true" />
    <d:SORT_ORDER m:type="Edm.Int32">-1</d:SORT_ORDER>
    <d:DOMAIN_ID m:type="Edm.Guid" m:null="true" />
    <d:SECURE_PRIVATE m:type="Edm.Int32">0</d:SECURE_PRIVATE>
    <d:SECURE_LEVEL m:type="Edm.Int32">0</d:SECURE_LEVEL>
    <d:IS_ACTIVE m:type="Edm.Int32">0</d:IS_ACTIVE>
    <d:DATE_LINK_START m:type="Edm.DateTime" m:null="true" />
    <d:DATE_LINK_END m:type="Edm.DateTime" m:null="true" />
    <d:DISPLAY_STATUS m:type="Edm.Int32">1</d:DISPLAY_STATUS>
    <d:DELETED m:type="Edm.Int32">0</d:DELETED>
    <d:CREATED_OBO_ID m:type="Edm.Guid" m:null="true" />
    <d:UPDATED_OBO_ID m:type="Edm.Guid" m:null="true" />
    </m:properties>
    </content>
    </entry>
    Tuesday, February 16, 2010 2:12 PM