Interoperability issue with apache axis

T

Thomas A J

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
 
X

X_AWemner_X

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/java/axis/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top