vronic / chrome-rest-client

Automatically exported from code.google.com/p/chrome-rest-client
0 stars 0 forks source link

cannot call using put and application/xml for content-type #63

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Dear Advanced Rest Client App Developers -- 

Please help.

I cannot call using put and application/xml for content-type.

What steps will reproduce the problem?

1. Try to call a rest api with a put verb.

2. Put XML into the raw input field.

3. Run.

What is the expected output? 

- I expect the update/put operation to be processed.

What do you see instead?

- The call jumps into my code in Visual Studio 2010, an ASP.NET Web API Rest 
service written in C#.

- The input to the Put is blank; input does not have the XML in it.

- I tried content type "application/xml" and a few others, all to no avail.

What version of the product are you using? 

- I do not know. The "About" page shows the latest "Changelog" entry as 
"8/4/2012" but that is actually impossible given that today is "6/1/2012"; 
however, that should give you an idea of what version I am running.

On what operating system?

- I am running on Windows 7 with Chrome 19.0 and Visual Studio 2010, all 
fully-patched.

Please provide any additional information below.

Below is my Input_Xml for reference.

Input_Xml_Begin

<ContractRecord 
xmlns="http://schemas.datacontract.org/2004/07/Team.Contracts.BusinessLayer.Busi
nessEntities" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" z:Id="i1">
 <ChangeTracker z:Id="i2">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties />
<ObjectsRemovedFromCollectionProperties />
<OriginalValues />
<State>Unchanged</State>
 </ChangeTracker>
<ContractDescription>This is a test of the contract system</ContractDescription>
<ContractName>Test Contract</ContractName>
<ContractNumberExternal>Q123-59651-456</ContractNumberExternal>
<ContractNumberInternal>7777-8888</ContractNumberInternal>
<Id>1</Id>
<ModifiedBy>kamoskim</ModifiedBy>
<ModifiedOn>2012-06-01T10:48:00.0001</ModifiedOn>
 </ContractRecord>

Input_Xml_End

Thanks.

- Mark Kamoski

Original issue reported on code.google.com by mkamo...@gmail.com on 1 Jun 2012 at 3:08

GoogleCodeExporter commented 8 years ago
All --

Please note that this is NOT A BUG.

I just had the wrong input XML for my service.

I am sorry for the confusion.

Thanks.

-- Mark Kamoski

Original comment by mkamo...@gmail.com on 12 Jun 2012 at 1:39

GoogleCodeExporter commented 8 years ago

Original comment by jarro...@gmail.com on 26 Jun 2012 at 12:16