Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

SOAPAction Not Supported

New Here ,
Jun 18, 2012 Jun 18, 2012

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

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 18, 2012 Jun 18, 2012
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources