This is the error I get:
SOAP 1.1 fault: SOAP-ENV:Client [no subcode]
"System.Web.Services.Protocols.SoapException: Server did not recognize
the value
of HTTP Header SOAPAction: .
at
System.Web.Services.Protocols.Soap11ServerProtocol Helper.RouteRequest()
at
System.Web.Services.Protocols.SoapServerProtocol.R outeRequest(SoapServerMe
ssage message)
at System.Web.Services.Protocols.SoapServerProtocol.I nitialize()
at System.Web.Services.Protocols.ServerProtocolFactor y.Create(Type
type, Http
Context context, HttpRequest request, HttpResponse response, Boolean&
abortProce
ssing)"
Detail: [no detail]
HTTP/1.1 500 Internal Server Error
Connection: close
Date: Fri, 22 Sep 2006 17:44:05 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Content-Length: 866
<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.
xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode
>soap:Client</faultcode><faultstring>System.Web.Services.Protoco ls.SoapException
: Server did not recognize the value of HTTP Header SOAPAction: .
at
System.Web.Services.Protocols.Soap11ServerProtocol Helper.RouteRequest()
at
System.Web.Services.Protocols.SoapServerProtocol.R outeRequest(SoapServerMe
ssage message)
at System.Web.Services.Protocols.SoapServerProtocol.I nitialize()
at System.Web.Services.Protocols.ServerProtocolFactor y.Create(Type
type, Http
Context context, HttpRequest request, HttpResponse response,
Boolean& abortP
rocessing)</faultstring><detail
/></soap:Fault></soap:Body></soap:Envelope>
<!-- ** HERE ** -->
John Saunders wrote:
"yazooo" <ay********@hp.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
Perhaps Im not asking the right question.
We have a published webserive in Java, based on myInterface.wsdl that
is being used by c++ clients with their client stubs wriite with gsoap.
I now want to create, a webservice proxy server using .NET. Easy right,
">wsdl.exe /serverInterface myInterface.wsdl", Implement interface and
deploy on IIS. Done.
When I now try to connect those exisiting clients writen with gsoap, to
my new .NET webservice proxy service, I get HTTP 500 Errors.
Im not sure why, its the same exact wsdl, I can conncect succesfully to
the new .NET service with .net clients, but not gsoap. So my thinking
was that wsdl.exe mangles the wsdl doc ( myInterface.wsdl) because when
I hit http://localhost/service/myInterface.asmx?wsdl, this wsdl does
not match myInterface.wsdl. More imprtantly I can no longer connect my
existing gsoap clients to this new webservice in .net.
Any help would be appreciated.
Given that the problem has nothing to do with "?wsdl", I think you'd better
supply some details. A "500 error" is what you get whenever the web server
throws an unhandled exception. ASP.NET should have sent a SOAP Fault along
with the 500 error. The fault may have details of what went wrong in the
server.
John