Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-425

No SOAPAction when message is sent with SOAPConnection

XMLWordPrintable

      I am using the followin API to invoke the webserive on other server, then JBoss create the following message, do i need to configue this in my wsdl and jaxrpc-mapping.xml files althrough I invoke the other server's web servie. ?

      API:

      SOAPConnectionFactory soapConnectionFactory = SOAPConnectionFactory.newInstance();
      SOAPConnection connection = soapConnectionFactory.createConnection();

      SOAPMessage response = connection.call(message, endpoint);

      ERROR:

      <soap:Fault>
      soap:Client
      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()

              tdiesler@redhat.com Thomas Diesler
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: