Click here to Skip to main content
15,887,267 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Java or .net Pin
Ankur.Bakliwal14-Feb-07 21:55
Ankur.Bakliwal14-Feb-07 21:55 
AnswerRe: Java or .net Pin
badgrs14-Feb-07 23:28
badgrs14-Feb-07 23:28 
GeneralRe: Java or .net Pin
Ankur.Bakliwal15-Feb-07 23:01
Ankur.Bakliwal15-Feb-07 23:01 
AnswerRe: Java or .net Pin
Bradml15-Feb-07 22:55
Bradml15-Feb-07 22:55 
QuestionWebPost?? Pin
Ankur.Bakliwal14-Feb-07 18:39
Ankur.Bakliwal14-Feb-07 18:39 
AnswerRe: WebPost?? Pin
Bradml14-Feb-07 19:00
Bradml14-Feb-07 19:00 
QuestionRe: WebPost?? Pin
Ankur.Bakliwal14-Feb-07 20:29
Ankur.Bakliwal14-Feb-07 20:29 
AnswerRe: WebPost?? Pin
badgrs14-Feb-07 23:30
badgrs14-Feb-07 23:30 
GeneralRe: WebPost?? Pin
Marcus J. Smith15-Feb-07 6:03
professionalMarcus J. Smith15-Feb-07 6:03 
Questionhow to check if a remote file exists Pin
Chandman14-Feb-07 12:34
Chandman14-Feb-07 12:34 
AnswerRe: how to check if a remote file exists Pin
Guffa14-Feb-07 14:17
Guffa14-Feb-07 14:17 
GeneralRe: how to check if a remote file exists Pin
Chandman15-Feb-07 5:25
Chandman15-Feb-07 5:25 
AnswerRe: how to check if a remote file exists Pin
theJazzyBrain15-Feb-07 3:40
theJazzyBrain15-Feb-07 3:40 
GeneralRe: how to check if a remote file exists Pin
Chandman15-Feb-07 5:29
Chandman15-Feb-07 5:29 
AnswerRe: how to check if a remote file exists Pin
theJazzyBrain15-Feb-07 5:41
theJazzyBrain15-Feb-07 5:41 
QuestionHow to use (include) a ASP.NET Web user Control self-sufficient into a ASP page?? Pin
fserbin14-Feb-07 4:54
fserbin14-Feb-07 4:54 
AnswerRe: How to use (include) a ASP.NET Web user Control self-sufficient into a ASP page?? Pin
Paddy Boyd15-Feb-07 5:18
Paddy Boyd15-Feb-07 5:18 
GeneralRe: How to use (include) a ASP.NET Web user Control self-sufficient into a ASP page?? Pin
fserbin15-Feb-07 23:24
fserbin15-Feb-07 23:24 
Questionusing Arabic Characters with URL parameter Pin
ALAQUNAIBI14-Feb-07 2:36
ALAQUNAIBI14-Feb-07 2:36 
AnswerRe: using Arabic Characters with URL parameter Pin
Bradml14-Feb-07 18:59
Bradml14-Feb-07 18:59 
QuestionWSE Webservice Pin
Kanjinghat14-Feb-07 1:18
Kanjinghat14-Feb-07 1:18 
QuestionWebservice using WSE Pin
a.mulay13-Feb-07 20:20
a.mulay13-Feb-07 20:20 
QuestionWeb Method is chatty Pin
convivial.developer13-Feb-07 16:01
convivial.developer13-Feb-07 16:01 
Hi, I have a web method that is very chatty, here is sample output from it;

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:tns="http://tempuri.org/" xmlns:types="http://tempuri.org/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<types:MyWebMethodResponse>
<MyWebMethodResult href="#id1"/>
</types:MyWebMethodResponse>
<soapenc:Array soapenc:arrayType="types:MyType[1]" id="id1">
<Item href="#id2"/>
</soapenc:Array>
<types:MyType id="id2" xsi:type="types:MyType">
<Id xsi:type="xsd:string">someid</Id>
<Number xsi:type="xsd:string">Number 1</Number>
<Title xsi:type="xsd:string">Title</Title>
<Addr xsi:type="xsd:string">some address</Addr>
<City xsi:type="xsd:string">some city</City>
<State xsi:type="xsd:string">some state</State>
<Zip xsi:type="xsd:string">11111</Zip>
<Times href="#id3"/>
</types:MyType>
<soapenc:Array soapenc:arrayType="types:Time[256]" id="id3">
<Item href="#id5"/>
<Item href="#id6"/>
<Item href="#id7"/>
<Item href="#id8"/>
<Item href="#id9"/>
...
<Item href="#id258"/>
<Item href="#id259"/>
<Item href="#id260"/>
</soapenc:Array>
<types:Time id="id5" xsi:type="types:Time">
<StartTime xsi:type="xsd:dateTime">2007-01-29T13:18:00.0000000-08:00</StartTime>
<EndTime xsi:type="xsd:dateTime">2007-01-29T13:18:00.0000000-08:00</EndTime>
</types:Time>
<types:Time id="id260" xsi:type="types:Time">
<StartTime xsi:type="xsd:dateTime">2007-01-29T13:18:00.0000000-08:00</StartTime>
<EndTime xsi:type="xsd:dateTime">2007-01-29T13:18:00.0000000-08:00</EndTime>
</types:Time>
</soap:Body>
</soap:Envelope>

All of those <Item href...> take up a lot of space, is there a way instruct .net not generate it?

This is the declaration over the webservice C# class file;
[WebService(Namespace=Constants.NAMESPACE), ToolboxItem(false), SoapRpcService]

The web method just has plain, [WebMethod] attribute and that's it.

Thanks,

QuestionJavascript confirm dialog and asp.net 2.0 using C# Pin
#realJSOP13-Feb-07 8:03
mve#realJSOP13-Feb-07 8:03 
AnswerRe: Javascript confirm dialog and asp.net 2.0 using C# Pin
Christian Graus13-Feb-07 8:53
protectorChristian Graus13-Feb-07 8:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.