webservice xml request in asp.net

trajkfsjks

New Member
I need to implement a webservice that get as request the following xml\[code\]<EVG_CardValid> <Token> <UserName>xxxx</UserName> <password>yyyy</password> <CardID>71656</CardID> </Token> <MaxTitle>5</MaxTitle> <IncludeDates> <startDate>2012-11-25T13:06:33.11</startDate> <EndDate>2012-11-25T15:06:33.11</EndDate> </IncludeDates></EVG_CardValid>\[/code\]the webservice need to response back an xml\[code\] <info> <cardName> xxx </cardName> <cardValidDate>1/1/2013</cardValidDate> ... </info>\[/code\]I am new to webservices(only use local wcf with jason)My question is How sholud my webservice look like ,what do I have to execpt as parameters in my function(what variables for the mentioned xml)how do I send the xml as response(send back string built as xml?)Do I have to do something special When checking username and password from database ?What is better to use in this case wcf or webservice?sorry for the ignorance,any help will be very appreciatedThanks a lotBaaroz
 
Back
Top