I am getting this error "A SOAP 1.2 message is not valid when sent to a SOAP 1.1 only endpoint" when I sent a post request, but the matter is my Soap version is already 1.2 and all definitions are done in the wsdl file. Two sample request headers are below:
When the envelope in requests is soapenv:"http://schemas.xmlsoap.org/soap/envelope/", it works perfectly and I can get a response from my application.
When the envelope in requests is xmlns:S="http://www.w3.org/2003/05/soap-envelope" the error occures in the title of this question.
All messages I use must be with the seccond envelope. Whow can I make that possible?
Review: https://docs.oracle.com/cd/E24329_01/web.1211/e24965/faults.htm#WSADV633
replace all occurences: xmlns:S="http://www.w3.org/2003/05/soap-envelope"
for: xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.