MegaPowerRockstar Posted August 7, 2014 Report Posted August 7, 2014 Hi GUys, Need help at earliest.... I have a situation to build a service based on the request. This is the first time i had to work like this..... Request that client system sends me: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns1:dataset xmlns:ns1="http://www.mysol.com/entity"> <ns1:Report Name="SalesOctober08" Description="Monthly Sales Analysis Rpt 1" Created="01/01/2008" FileName="Sales_rpt_2008" /> <ns1:Report Name="SalesOctober09" Description="Monthly Sales Analysis Rpt 2" Created="01/01/2009" FileName="Sales_rpt_2009" /> <</ns1:dataset> I have created an object SalesReport that has parameters Name, Description, Created, FileName Can someone please show me how to expose a wcf rest api service that accepts the above request..and then deserialise to objec of SalesReport...
joblessjack Posted August 7, 2014 Report Posted August 7, 2014 Hi GUys, Need help at earliest.... I have a situation to build a service based on the request. This is the first time i had to work like this..... Request that client system sends me: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns1:dataset xmlns:ns1="http://www.mysol.com/entity"> <ns1:Report Name="SalesOctober08" Description="Monthly Sales Analysis Rpt 1" Created="01/01/2008" FileName="Sales_rpt_2008" /> <ns1:Report Name="SalesOctober09" Description="Monthly Sales Analysis Rpt 2" Created="01/01/2009" FileName="Sales_rpt_2009" /> <</ns1:dataset> I have created an object SalesReport that has parameters Name, Description, Created, FileName Can someone please show me how to expose a wcf rest api service that accepts the above request..and then deserialise to objec of SalesReport... baa MSDN ikada kastam (LTT for u)
puli_keka Posted August 7, 2014 Report Posted August 7, 2014 Hi GUys, Need help at earliest.... I have a situation to build a service based on the request. This is the first time i had to work like this..... Request that client system sends me: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns1:dataset xmlns:ns1="http://www.mysol.com/entity"> <ns1:Report Name="SalesOctober08" Description="Monthly Sales Analysis Rpt 1" Created="01/01/2008" FileName="Sales_rpt_2008" /> <ns1:Report Name="SalesOctober09" Description="Monthly Sales Analysis Rpt 2" Created="01/01/2009" FileName="Sales_rpt_2009" /> <</ns1:dataset> I have created an object SalesReport that has parameters Name, Description, Created, FileName Can someone please show me how to expose a wcf rest api service that accepts the above request..and then deserialise to objec of SalesReport... bhayya mari too much kada nuvvu.. adedo simple script anukunnava. no offence you have to create a new WCF rest service itself .. oka chinna program kaadu kada adhi anyways LTT
MegaPowerRockstar Posted August 7, 2014 Author Report Posted August 7, 2014 bhayya mari too much kada nuvvu.. adedo simple script anukunnava. no offence you have to create a new WCF rest service itself .. oka chinna program kaadu kada adhi anyways LTT Aunna bhayaa,... Naku telusu.....I have created service that works for an object....not for the above specified structure input....asalla adhe eee type kuda aredham kavatam ledhu.... All I need is wat kind of parameters need to be exposed like... -- interface level.... Public void sendreport(? ?); -- wat type of object here..... -- impl layer.... If anything special needed to retrieve the soap content
Recommended Posts