Link to home
Start Free TrialLog in
Avatar of komlaaa
komlaaa

asked on

Server did not recognize the value of HTTP Header SOAPAction

Hi,
using tomcat, soap to write small application. below is some code snippet. what is  'SOAPAction' ?

code snippet:
           Call call = baseServiceAxisImpl.startServiceCall( endpoint );
            call.setUsername( username  );
            call.setPassword( password ) ;  

            call.setOperationName( new QName(targetNamespace) );
            call.setSOAPActionURI(targetNamespace);
            call.setOperationName(targetFunc);
            call.setReturnType(Constants.XML_LANG);
       
          call.addParameter(....


================ Error message ========================
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
 faultSubcode:
 faultString: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: .
   at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
   at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
   at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
 faultActor:
 faultNode:
 faultDetail:
      {http://xml.apache.org/axis/}stackTrace:System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: .
   at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
   at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
   at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
ASKER CERTIFIED SOLUTION
Avatar of rama_krishna580
rama_krishna580
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial