Skip to main content
Participant
June 18, 2012
Question

SOAPAction Not Supported

  • June 18, 2012
  • 1 reply
  • 1313 views

Hey all,

I'm attempting to use cfhttp to connect to a webservice but I'm having trouble figuring out the proper SOAPAction header to send.

The wsdl can be found here: https://services.frx.com/speakerprogramdevelopment/vendorservice.wsdl

I want to use the CreateProgram method but no matter what I put in my SOAPAction header all I get back is 500 error: The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

my cfhttp code:

<cfhttp url="https://services.frx.com/speakerprogramdevelopment/vendorservice.svc" method="post" result="httpResponse">

<cfhttpparam type="header" name="SOAPAction" value="https://services.frx.com/speakerprogramdevelopment/VendorService/CreateProgram"/>

<cfhttpparam type="header" name="accept-encoding" value="no-compression"/>

<cfhttpparam type="xml" value="#trim( soapBody )#"/>

</cfhttp>

Thanks

    This topic has been closed for replies.

    1 reply

    jb217895Author
    Participant
    June 18, 2012

    Nevermind - I think I just figured it out, this SOAPAction value worked: http://tempuri.org/IVendorService/CreateProgram