c# - web service only working sometimes -


i have developed web service in c# , tested through browser in...

to test operation using http post protocol, click 'invoke' button.

when submit parameter string through browser, works correctly: operation updating database , returning operation completed message.

i wrote small application submits identical parameter string web service. small application returns success message sql commands in of web service don't seem have been executed.

now, in web-service code, program execution flow such cannot return operation success message without going through sql part (which when parameter string entered through browser). however, small application sending identical parameter string url receives success message without sql sequence being executed.

the sql transaction section has start trans, commit , rollback always(?) returning success or otherwise of operation.

for reason sql code of service not being executed(?) when parameter submitted program , normal traps , checks don't seem have effect.

has experience or ideas on this?


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -