web service without soap action....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Luuk
    Recognized Expert Top Contributor
    • Mar 2012
    • 1043

    web service without soap action....

    I have a device which is a client to a web service

    I need to build a web service for this device, but this device does not send a SOAPAction

    I will not be possible to change the client unless too much money is involved.. ;)

    I have searched the internet and found out that a SOAPAction should be send, if one tries to do soap...
    And that it is expected if I build my web service using WCF in Visual Studio 2013

    But, seeing it's not send by the client, what are the options?
  • zmbd
    Recognized Expert Moderator Expert
    • Mar 2012
    • 5501

    #2
    and yet you do not tell us what protocols are available to the device with which to connect with the service... perhaps you could tell us the name of the device, certainly this shouldn't be something classified or a trade secret.

    Comment

    • Luuk
      Recognized Expert Top Contributor
      • Mar 2012
      • 1043

      #3
      The protocol used is HTTP

      The device is a 'pharmaself24'
      The ('commercial'!) presentation for this device is here:



      But my question was meant to be 'general'.
      What is the 'SOAPAction' is not send? Is there a possibility in creating an WCF web service which does do a 'catch-all'?

      Comment

      • madankarmukta
        Contributor
        • Apr 2008
        • 308

        #4
        Do you have a WSDL document for your web service.

        Comment

        • Luuk
          Recognized Expert Top Contributor
          • Mar 2012
          • 1043

          #5
          I already build the webservice, it only accepted a request with the proper SOAPAction...

          I searched for a solution, an I think I've found it.
          adding:
          Code:
           [OperationContract(Action = "*")]
          has the effect that a request without SOAPAction is accepted.

          Comment

          Working...