Andres Sanchez 2 Posted January 22, 2019 Share Posted January 22, 2019 I'm redesigning a web service SOAP 1.1 from BW5 to BW6, I correctly invoke the WS in BW5 with the following content-types: "text/xml" and "application/soap+xml", in BW6 I correctly invoke the WS with "text/xml" but when I tried with "application/soap+xml" I received this response: soapenv:VersionMismatch Transport level information does not match with SOAP Message namespace URI Link to comment Share on other sites More sharing options...
Igor Murzich Posted January 29, 2019 Share Posted January 29, 2019 Hello. I've created an simple SOAP 1.1 project using BW 6.5 (in attach) and it successfully worked with application/soap+xml (SoapUI project - how-send-content-type-applicationsoapxml-bw6TestProcess-gen1-soapui-project.xml). I've used ContentType: application/soap+xml; charset=utf-8 Link to comment Share on other sites More sharing options...
Andres Sanchez 2 Posted January 29, 2019 Author Share Posted January 29, 2019 Hi Igor, I'm testing your service but I got the same result. I have a question, Did you use "ContentType" or "content-type" if I use "ContentType" the service dont replace the header correctly. (picture attach). Thanks for your help.[[{"fid":"152801","view_mode":"default","fields":{"format":"default","field_file_image_alt_text[und][0][value]":false,"field_file_image_title_text[und][0][value]":false},"type":"media","field_deltas":{"1":{"format":"default","field_file_image_alt_text[und][0][value]":false,"field_file_image_title_text[und][0][value]":false}},"attributes":{"class":"media-element file-default","data-delta":"1"}}]] Link to comment Share on other sites More sharing options...
Igor Murzich Posted January 30, 2019 Share Posted January 30, 2019 Hi consultor.tibco2, I'm sorry. I use exactly ContentType and it was wrong. If I use Content-Type I've got the error. But I've found solution for this problem - add SOAPBinding for SOAP version 1.2 because the media type application/soap+xml was designed for SOAP 1.2. Unfortunately different bindings have to use different URI-s. I've update test project, please find it in attach (how-send-content-type-applicationsoapxml-bw6_v2.zip). Also Tibco BW has sample tibco.bw.sample.binding.soap.http.MixedSOAPVersions that contains mixed SOAP bindings. Link to comment Share on other sites More sharing options...
Igor Murzich Posted January 30, 2019 Share Posted January 30, 2019 Also I attach log of test calls. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now