0

I am getting the error

INCOMPATIBLE PARAMETERS ERROR Nested Exception : avax.xml.stream.XMLStreamException: DS Fault Message: Error in 'CallQuery.extractParams', cannot find parameter with type:query-param name:p_orderdetailcode"

for the below structure

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:dat="http://ws.wso2.org/dataservice">
   <soap:Header/>
   <soap:Body>
      <dat:hdhs_testdetail>
         <dat:p_ordercode>1</dat:p_ordercode>
         <!--1 or more repetitions:-->
          <dat:p_orderdetailcodes>
         <dat:p_orderdetailcode>11</dat:p_orderdetailcode>
         <dat:p_orderdetailcode>12</dat:p_orderdetailcode>
          </dat:p_orderdetailcodes>
      </dat:hdhs_testdetail>
   </soap:Body>
</soap:Envelope>

But it is working fine without nested "p_orderdetailcodes" like below

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:dat="http://ws.wso2.org/dataservice">
   <soap:Header/>
   <soap:Body>
      <dat:hdhs_testdetail>
         <dat:p_ordercode>1</dat:p_ordercode>
         <!--1 or more repetitions:-->
         <dat:p_orderdetailcode>11</dat:p_orderdetailcode>
         <dat:p_orderdetailcode>12</dat:p_orderdetailcode>
      </dat:hdhs_testdetail>
   </soap:Body>
</soap:Envelope>
James Z
  • 12,209
  • 10
  • 24
  • 44
Bhagrudin
  • 1
  • 1

0 Answers0