0 Replies Latest reply: Jan 13, 2014 12:31 AM by 5d1cef41-b836-4baa-8cb6-7f863ceedfde RSS

BPEL, unable to set mime:content type in wsdl

5d1cef41-b836-4baa-8cb6-7f863ceedfde Newbie
Currently Being Moderated

I have a HTTP Binding that does a post with a XML payload as an exposed service. I've been trying to set the mime:content-type of the input and output messages to application/xml but have been unsuccessful so far.

Here is what I have defined

<wsdl:portType name="SendComposite_ptt">

     <wsdl:operation name="SendComposite">

     <wsdl:input message="tns:sendEmailRequest_msg_in">

           <mime:content type="application/xml"/>

     </wsdl:input>

      <wsdl:output message="tns:sendEmailResponse_msg_out"/>

     </wsdl:operation>

     </wsdl:portType>

However after having deployed it to the Oracle enterprise manager and checking the project WSDL, the content type is still shown as text/xml

<wsdl:binding name="SendComposite_ptHttpPOST" type="tns:SendComposite_ptt">

     <http:binding xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" verb="POST"/>

     <wsdl:operation name="SendComposite">

      <http:operation xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" location=""/>

     <wsdl:input>

          <mime:content type="text/xml"/>

     </wsdl:input>

      <wsdl:output>

          <mime:content type="text/xml"/>

      </wsdl:output>

      </wsdl:operation>

      </wsdl:binding>

I'm using JDeveloper to design the composite. I'm quite new to BPEL in general so any help would be greatly appreciated.

Regards,

Mark

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points