Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I am using webservice to get an OrderHistory. It is working fine on my local pc and also on my OLD server. Now, we have moved web service to the NEW server and there it is not working. Getting below error.

An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in System.Web.Services.dll

Additional information: System.Web.Services.Protocols.SoapException: *** Illegal use of this web service !!! ***

System.Web.Services.Protocols.SoapException: *** Illegal use of this web service !!! ***

at WSElectronicOrder.WSElectronicOrder.GetOrderHistory(String Key, String FullAccountNo, String PONumber, String FromDate, String ToDate)


What is the possible cause of this problem? are there any setting do I need to do on server? Do I need to give any permission?

Thanks

What I have tried:

tried with Integrated Security setting true/false in web.config and some IIS setting but hard luck.
Posted
Updated 27-May-19 23:16pm
v2

1 solution

Talk to the people who provide the WebService - only they will have any idea what exactly you are doing wrong.

It could be anything: wrong location, wrong authentication, anything.
Only the people who provide the service can tell you why.
 
Share this answer
 
Comments
kkakadiya 28-May-19 5:41am    
it's working on my local system and in my OLd server. some days back I have moved it to another server. on that server, it is not working.
OriginalGriff 28-May-19 5:53am    
Then I'd start by looking at the old and new and finding what the differences are - we can't do that for you!

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