Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Server did not recognize the value of HTTP Header
Message
De
17/11/2008 03:12:31
 
 
À
16/11/2008 23:56:58
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01362237
Message ID:
01362252
Vues:
10
>Tonight, I converted two in-place compilation Web Services into an application DLL. The project compiles. I sent the DLL into the Bin directory. The directory structure no longer includes an App_Code directory. This has been superceeded by the Bin directory. The ASMX files have been updated. I also restarted IIS. But, I keep getting this:
>
>
>System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://tempuri.org/WebService/Service1/Dispatch
>
>
>I did a search in my project and I cannot find a reference to tempuri nor to Service1. So, I looked in the server registry and didn't find anything there as well. Anyone would know where that is coming from?

Looks like the original webservice was using the default webservice namespace and class name. Try changing back to these and rebuilding the DLL. E.g:
<System.Web.Services.WebService(Namespace:="http://tempuri.org/")> _
Public Class Service1
    Inherits System.Web.Services.WebService

    ' Methods here
End Class
Or maybe just start with a new webservice file and paste in your methods.......
HTH,
Viv
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform