web service - has timed out.

  • Thread starter Thread starter alti
  • Start date Start date
A

alti

i have a web service.i do it with .net 2003.
i'm using w server 2003 and W 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 ......
....


in function,
if i use "cn.commandtext" and "cn.executenonquery",it's OK.

if i use "cn.begintransaction" and store procedures,i have error : "The
operation has timed-out".
what can i do ? help pls..
 
Alti:

the problem sounds like it's in the web service call not on the PPC side.
Have you verified that it will run at all? if you post the code I might be
able to be of more help, but it looks like the problem is that the db call
is hanging up so the ws call is timeing out b/c of it - the problem isn't
with the ws call.
 
Back
Top