[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webservices

Interoperability issue with apache axis

Thomas A J

8/22/2003 3:01:00 PM

Hi All,

We developed a .net web service , it should be accessed
from a Apache axis client. When we run the client it is
throwing the following error


System.Web.Services.Protocols.SoapException: Server did
not recognize the value of HTTP Header SOAPAction: . at
System.Web.Services.Protocols.Soap11ServerProtocolHelper.Ro
uteRequest() at
System.Web.Services.Protocols.SoapServerProtocol.Initialize
() at
System.Web.Services.Protocols.ServerProtocolFactory.Create
(Type type, HttpContext context, HttpRequest request,
HttpResponse response, Boolean& abortProcessing)


If anyone know the solution for this please let me know.


Thanks
Thomas


1 Answer

biteme

8/25/2003 11:28:00 AM

0

You could try specifing [SoapRpcMethod] above your web service method.
Alternatively, look for Axis documentation about Document format of soap
call. dotNET uses Document format as default and probably Axis uses Rpc
format.

Rpc is a first to developed and then later came Document format. It's a
matter of xml document format inside the http requests what differs here.

And make sure you first try creating a client stub from .wsdl file and not
creating a call instance by hand. Then you may want to try a call instance
by hand method if were succesfull with an autogenerated stubs. See a small
example here, but it will not use a .net service.
http://koti.mbnet.fi/akini/...


> We developed a .net web service , it should be accessed
> from a Apache axis client. When we run the client it is
> throwing the following error
>
> System.Web.Services.Protocols.SoapException: Server did
> not recognize the value of HTTP Header SOAPAction: . at
> System.Web.Services.Protocols.Soap11ServerProtocolHelper.Ro
> uteRequest() at
> System.Web.Services.Protocols.SoapServerProtocol.Initialize
> () at
> System.Web.Services.Protocols.ServerProtocolFactory.Create
> (Type type, HttpContext context, HttpRequest request,
> HttpResponse response, Boolean& abortProcessing)