Click here to Skip to main content
15,902,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

My web service accepts request as string and returns response as string. Being new to ASP.Net, please clarify my below doubts.

a) Do i need to write header information while returning response string or it will be added automatically by IIS Server.
b) How can i provide multipart response of the below format while returning response in string format.

say ex:
HTTP/1.0 200 OK
Date: Wed, 03 Mar 2004 14:45:11 GMT
Server: xxx
Connection: close
Content-Type: application/xxx-multipart
Content-Length: 6851

Content-Type: image/jpeg
Content-Length: 5123
CommandID: asset14521

<5123>
Content-Type: xxx-xml
Content-Length: 1523


Thanks,
Divya
Posted
Updated 27-Jan-14 18:42pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900