Topic
1 reply Latest Post - ‏2013-06-05T13:48:35Z by tcb-dw
Jaango
Jaango
262 Posts
ACCEPTED ANSWER

Pinned topic using wsdl bindings and defenitions

‏2013-05-17T17:59:55Z |

My wsdls are having binding as shown below, so the client expects the response from wsp, to be having the Content-type as (application/soap+xml; charset=utf-8). However the error rule, which constructs a xml soap message sets the content type as text/xml. I know we can use xslt to set the headers. Is there a way we can use the wsdl defenition, within the rules, so that all the headers are set as per the contract?

 

 <endpoint name="WSHttpBinding_ICommAccountingBinding"
       address="https://secure.inmatecanteen.com/CommAccountingService/CommAccountingWeb.svc"
       binding="wsHttpBinding"