You need to sign in to do that
Don't have an account?
sanjeev kakaraparthi
How to find SOAPAction value from a wsdl file ?
I am trying to call a SOAP based service using http callouts and i am hitting an exception 'Server did not recognize the value of HTTP Header SOAPAction'. I have tried giving empty value as some of the blogs suggested but still hitting the issue. I would like to know on how to indentify the SOAP Action value from the WSDL file. Can any one provide a solution and give me an example on this
I've found in the past that HttpRequest won't send the SOAPAction header if you pass it the empty string. See Missing SOAP action header (http://salesforce.stackexchange.com/a/49273/102).
Instead you need to pass a value, any value, and hope that the service you are targeting doesn't care what the value is.
Alternatively, can you share the WSDL of the service you are trying to call? I've got an alternative tool to the native WSDL2Apex that often has wider support. See http://www.fuseit.com/explorer