Send Dataset From PPC

A

alti

i have a web service.i do it with .net 2003.
i'm using windows server 2003 and Windows Mobile 5.0.

my web service :

<SoapDocumentService(SoapBindingUse.Literal,
SoapParameterStyle.Wrapped,
RoutingStyle:=SoapServiceRoutingStyle.RequestElement),
System.Web.Services.WebService(Namespace:="http://tempuri.org...>


<WebMethod(enablesession:=True)> _
Public Function InsertRec(Byval myDataset as dataset) as boolen


i'm calling web service from my ppc:

if myservice.InsertRec(myDataset) = True then
......


But,when i call this function return me " The operation has timed-out".
And when i send mydataset,i think it's don't work.
I think,this is about parameter dataset.But i can't understand,WHY?
anybody can help me?
thanx

alti
 
S

Simon Hart

Does the DataSet contain lots of data? You might want to increase the
Timeout property or implement async calling or even use BufferResponse
property of the WebMethod attribute.

Simon.
 
A

alti

no lots of data.My dataset schema:
4 table
2 relations.
and i'm sending olny 2 rows with dataset.
it can be proxy ? or server http get/post ?
what can i do?

Simon Hart yazdi:
 
S

Simon Hart

That should be more than enough for sync calling. How big is the data you
are passing, in terms of bytes? If you are sending large amounts of data,
you might want to look at the BufferResponse property of the WebMethod
attribute.

Regards
Simon.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top