Interoperability issue with apache axis

Discussion in 'ASP .Net Web Services' started by Thomas A J, Aug 22, 2003.

  1. Thomas A J

    Thomas A J Guest

    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
     
    Thomas A J, Aug 22, 2003
    #1
    1. Advertising

  2. Thomas A J

    X_AWemner_X Guest

    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/


    > 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)
     
    X_AWemner_X, Aug 25, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Joey Vendetta
    Replies:
    0
    Views:
    3,510
    Joey Vendetta
    Apr 1, 2004
  2. Stefan
    Replies:
    0
    Views:
    773
    Stefan
    May 6, 2004
  3. Replies:
    0
    Views:
    994
  4. hocho888
    Replies:
    1
    Views:
    682
  5. Replies:
    0
    Views:
    302
Loading...

Share This Page