0 Replies Latest reply: Jan 30, 2009 1:28 PM by 647019 RSS

    BAM webservice invoke problem

    647019
      With 11gTP4 I'm trying to use the BAM WebServices for DataObjects insert. I'm using the example in Appendix F of the soa developers guide.

      I'm getting the following error returned

      <env:Envelope
      xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:ns0="http://xmlns.oracle.com/integration/bam">
      <env:Body>
      <env:Fault>
      <faultcode>env:Client</faultcode>
      <faultstring>Caught exception while handling request: deserialization error: unexpected XML reader state. expected: END but found: START: _Employees</faultstring>
      </env:Fault>
      </env:Body>
      </env:Envelope>


      Here is the link I used
      http://localhost:8888/OracleBAMWS/Services/DataObject/DataObjectOperations.asmx

      I chose "Insert" as my operation

      I Chose the xml option

      Using the following request message

      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body xmlns:ns1="http://xmlns.oracle.com/integration/bam">
      <ns1:Insert>
      <ns1:dataObject>_Employees</ns1:dataObject>
      <ns1:xmlPayload><_Employees><_Salesperson>Time Bray</_Salesperson><_Sales_Area>EMEA</_Sales_Area><_Sales_Number>12345</_Sales_Number></_Employees></ns1:xmlPayload>
      </ns1:Insert>
      </soap:Body>
      </soap:Envelope>

      Does anyone know how to fix this?