Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am working on webservices. The DAL, Business Logic and webservice all are handled by me. I have written a code for sending a mail to client. It works fine when i test the webservice locally. The mail gets send to particular client through the webservice. But when i test the webservice from another project having a reference of my webservice no result is returned and even mail is also not been sent. When i am testing the webservice it gets send. So i am not getting that why this is happening. And also not getting the error.

When i am testing the webservice locally i get this result and also mail is sent :

{[{"Result":"Password Send Successfully To Your EmailID"}]}

But when i am testing the same service from a project which is having a reference of my webservice by calling that particular webservice i get the result as :

{[{"Result":""}]}

and also mail doesn't get send. Please help me to know where i am going wrong.

Thanks in advance........
Posted
Comments
Sandeep Mewara 25-Jun-12 10:52am    
You hosted the web service to use in other project?
rp786 25-Jun-12 23:28pm    
Actually the webservices which are made by me will be used by admin panel, customer app and vendor app. They will have a reference of my webservices and call the webservices from their UI and proper service will be provided to them.
rp786 27-Jun-12 4:29am    
While testing i am getting this error System.Security.SecurityPermission. What is the solution for this?

1 solution

Could it be account issue under which web service has been hosted?

Only a Guess!
 
Share this answer
 
Comments
rp786 3-Jul-12 5:44am    
Yes u are right. It was the account issue. Thanks..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900