Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

c# - How do I return a specific SOAP response from an ASP.Net site? -


an external development partner has service post soap request 1 of our services. format of request fixed (by them).

we required respond soap message of fixed format (fixed them again).

i have created generic handler in asp.net receives request (which parse manually , process).

however, want response looks this:

http/1.1 200 ok date: thu, 01 apr 2010 09:30:25 gmt server: jetty/5.1.4 (windows xp/5.1 x86 java/1.5.0_15 content-type: multipart/related; boundary=soaptestserver; type="text/xml"; start="<theenvelope>" soapaction: "" content-length: 796 connection: close  --soaptestserver content-id: <theenvelope> content-transfer-encoding: 8bit content-type: text/xml; charset=utf-8 content-length: 442  <?xml version="1.0" encoding="utf-8"?><soap-env:envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/xmlschema" xmlns:xsi="http://www.w3.org/1999/xmlschema-instance"><soapenv: body><ns1:processresponse xmlns:ns1="urn:tripflow" soapenv: encodingstyle="http://schemas.xmlsoap.org/soap/encoding/"><message href="cid:thecontentmessage"/></ns1:processresponse></soap-env:body></soapenv: envelope> --soaptestserver content-id: <thecontentmessage> content-transfer-encoding: 8bit content-type: text/xml; charset=utf-8 content-length: 65  <?xml version="1.0" encoding="utf-8"?><statuslvl>00</statuslvl> --soaptestserver-- 

i have been sheltered raw soap using .net webservices / wcf years, have no clue how go making response this.

what should do?


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -