|
Home > Archive > MS SQL XML > July 2005 > SoapHeaderException when calling stored proc through soap
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
SoapHeaderException when calling stored proc through soap
|
|
| McGeeky 2005-07-23, 8:38 pm |
| I am using SQLXML to call a stored procedure for the first time via SOAP. I
have set up a SQLXML virtual directory, published my stored procedure, added
a web reference to it in a C# project, and then called it. But I get the
following exception:
Unhandled Exception: System.Web.Services.Protocols. SoapHeaderException:
Internal server error occured. Request aborted.
at
System.Web.Services.Protocols. SoapHttpClientProtoc
ol. ReadResponse(SoapCli
ent
Message message, WebResponse response, Stream responseStream, Boolean
asyncCall)
at System.Web.Services.Protocols. SoapHttpClientProtoc
ol.Invoke(String
methodName, Object[] parameters)
at SQLWS.localhost.ws.test(Int32& returnValue) in g:\scratch\sqlws\web
references\localhost
\reference.cs:line 59
at SQLWS.Class1.Main(String[] args) in g:\scratch\sqlws\cla
ss1.cs:line 24
Any ideas? I have no idea what to do to.
I am running Windows 2000 Professional and SQL Server 2000 sp4
--
McGeeky
http://mcgeeky.blogspot.com
| |
| McGeeky 2005-07-24, 7:27 am |
| Issue resolved. I read a posting that said to make sure you are using SOAP
toolkit v2 rather than v3 which I had installed. Also updated to the latest
SP of SQLXML. This seemed to fix it.
--
McGeeky
http://mcgeeky.blogspot.com
"McGeeky" <anon@anon.com> wrote in message
news:#wV$pu7jFHA.3336@TK2MSFTNGP10.phx.gbl...
> I am using SQLXML to call a stored procedure for the first time via SOAP.
I
> have set up a SQLXML virtual directory, published my stored procedure,
added
> a web reference to it in a C# project, and then called it. But I get the
> following exception:
>
> Unhandled Exception: System.Web.Services.Protocols. SoapHeaderException:
> Internal server error occured. Request aborted.
> at
>
System.Web.Services.Protocols. SoapHttpClientProtoc
ol. ReadResponse(SoapCli
ent
> Message message, WebResponse response, Stream responseStream, Boolean
> asyncCall)
> at System.Web.Services.Protocols. SoapHttpClientProtoc
ol.Invoke(String
> methodName, Object[] parameters)
> at SQLWS.localhost.ws.test(Int32& returnValue) in g:\scratch\sqlws\web
> references\localhost
\reference.cs:line 59
> at SQLWS.Class1.Main(String[] args) in g:\scratch\sqlws\cla
ss1.cs:line
24
>
> Any ideas? I have no idea what to do to.
>
> I am running Windows 2000 Professional and SQL Server 2000 sp4
>
> --
> McGeeky
> http://mcgeeky.blogspot.com
>
>
>
|
|
|
|
|