Click here to Skip to main content
14,669,375 members
Rate this:
Please Sign up or sign in to vote.
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100