Hiiiiii :-), After working some days I got the solution to my problem. I wud like to suggest we shud use dataset to transfer data if we are dealing with data contained in the database. Actually it is really nice way to collect data from DB and send it to the other end. It is the problem of client proxy how it receives this data. Since ultimately we ll send our data in SOAP format. One more advantage we can have that if the data in the dataset (which we got from server side) matches with the schema of our DB table then we can submit it directly by using Update method. One more thing the dataset used shud not contain ne info abt table structure of server side. Means to say WSDL must be independent to the back end layer. That will be the standard WSDL. Please feel free to continue this discussion if i mentioned ne thing wrong here.
thanx, ashish --- Ashish Singhal <[EMAIL PROTECTED]> wrote: > Dear Andy, paul & robert, > > first of all thanx for response and nice suggetions. > > I'm trying to design web services like submitting > any > document. so i m collecting rows from client > database > and then submitting it to service as a dataset. so > in > a database table rows may have in any numbers(client > side) and at server side in a service we ve to > decide > a number of parameters. so if we use dataset then > solution is there but in form of simple datatype how > will i send a huge and uncountable rows. solution > suggested by u certainly work very well with the > access type of service. > > thanx & regards > Ashish Singhal > --- Andy Johns <[EMAIL PROTECTED]> wrote: > > The .cs file is your C# source code and has > nothing > > to do with the runtime > > web service; it is compiled. > > > > Returning a dataset object in your web service > > restricts your web service to > > only working with other .NET clients. In order to > > have other non-.NET > > consumers of your web service you need to return > > data in simpler formats, ie > > strings, integers, etc. > > > > The easiest way to return your dataset would be to > > use the Dataset's > > WriteXML function to return an XML string to your > > web service's consumers. > > An example (in vb) would be something like the > > following: > > > > <WebMethod> Public Function MyWebService as String > > dim ds as DataSet > > 'Code to fill the dataset > > dim Output as IO.StringWriter > > ds.WriteXml(Output) > > return Output.ToString > > end Function > > > > -Andy > > > > Andy Johns, MCSD > > Senior Consultant-Architect > > Magenic Technologies > > > > > > -----Original Message----- > > From: ASHISH > > To: dotnet > > Sent: 11/12/2002 11:19 AM > > Subject: WSDL and dataset > > > > Hi > > I m designing some standard WSDL documents for > some > > of web services > > designed by me. I ve some of the services which > > takes dataset as their > > i/p > > parameter. Since i m using strong typed datasets > > which ve a .cs file > > assosiated with them. Now while designing client > in > > vs.net it uses this > > .cs file to recognize the dataset type. We know > that > > dataset is a type > > specific to dotnet and .cs file too. Now if I want > > to design a client on > > some platform other than windows then how will i > > supply the dataset > > type. > > Even in WSDL schema i found the following info abt > > dataset > > <xs:element msdata:IsDataSet="true" name="brief"> > > so the WSDL document which generated by ASP.net is > > universal or not. > > Main > > problem how other platform recognize the .cs file > > assosiated with the > > dataset. Hope somebody will certainly clear my > doubt > > > > Thanx ! > > > Small minds discuss people.Average minds discuss > events. Big minds discuss > ideas.Great minds work in silence > Hating People is like burning down your house to > kill a Rat > Today is a gift That's why it is called the Present > A. K. SINGHAL > M. TECH. CSE, IIT GUWAHATI > GUWAHATI(ASSAM),PH:(91)0361-690799 ===== Small minds discuss people.Average minds discuss events. Big minds discuss ideas.Great minds work in silence Hating People is like burning down your house to kill a Rat Today is a gift That's why it is called the Present A. K. SINGHAL M. TECH. CSE, IIT GUWAHATI GUWAHATI(ASSAM),PH:(91)0361-690799 __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com --- You are currently subscribed to dotnet as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/
