Get Involved. Join the Conversation.


    sameer ashturkar
    How to know SOAP request mandatory fields
    Topic posted February 27, 2019 by sameer ashturkarBronze Medal: 1,250+ Points, tagged Fusion, Web Services 
    210 Views, 5 Comments
    How to know SOAP request mandatory fields
    In SOAP request how to know mandatory fields if it contain many elements


    I am trying to create purchase order through soapui  tool but when I have imported the respective wsdl into soapui I have seen all request payload elements are optional. how do I find mandatory element to get response. 




    • Rajendra Rathor


      Basically, there is no direct way to find out mandatory field in SOAP catalog. I would however go back to PO tables definition and enlist all mandatory fields

    • Niamath Jeddy


      The below support note has sample payload for creating purchase order. It would help you get started.

      Oracle Fusion Purchasing Web Services Examples (Doc ID 2466289.1)



    • Niamath Jeddy

      Also, from within the application, you can navigate to Tools --> Developer connect and query the web service defintion.

      Here for the SDO, at attribute level, a flag 'required' is present which highlights if the attribute is mandatory or not.

      Please refer attached snap.



      • sameer ashturkar

        Thanks, But I can not see there all operation which is associated with purchasing web services and appropriate required parameter.

        Eg. To create purchase order its showing me Buyer Id is only mandatory but that is not a case. 

    • Aditya Singh

      Hi Sameer,

      Here is the sample payload for create PO:-

      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body xmlns:ns1="http://xmlns.oracle.com/apps/prc/po/editDocument/purchaseOrderService/types/">
      <ns1:createOrderEntry xmlns:ns2="http://xmlns.oracle.com/apps/prc/po/editDocument/purchaseOrderService/">
      <ns2:ItemDescription>Test Fixed Price Line</ns2:ItemDescription>
      <ns2:RequesterName>Green, Terry</ns2:RequesterName>

      These are the mandatory fileds required to create a PO.

      also for your question that how to find mandatory field is that there is no such specific method for that although I suggest get some sample payload online for that PO 

      otherwise check whether there is any FBDI also for that operation like we are having FBDI for importing order, there you can get the Mandatory filed , oracle provide all the sample Filed in OTBI that will be needed while doing that transactions.


      Aditya Singh