‎2016 Jul 15 10:26 AM
Hi Team,
We have developed Web service to create sales order in SAP. While testing the web service in SoapUI, we get below response however order gets created in SAP. It works fine in development but fails in Quality. Any valuable feedback would be appreciated.
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header/>
<soap-env:Body>
<soap-env:Fault>
<faultcode>soap-env:Server</faultcode>
<faultstring xml:lang="en">CX_ST_REF_ACCESS:XSLT exception.Error accessing the ref. node 'TREASURY_ACC_SYMBOL'</faultstring>
<detail>
<ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">
<Host>undefined</Host>
<Component>APPL</Component>
<ChainedException>
<Exception_Name>CX_SOAP_CORE</Exception_Name>
<Exception_Text>CX_ST_REF_ACCESS:XSLT exception.Error accessing the ref. node 'TREASURY_ACC_SYMBOL'</Exception_Text>
</ChainedException>
<ChainedException>
<Exception_Name>CX_SXMLP</Exception_Name>
<Exception_Text>XSLT exception</Exception_Text>
</ChainedException>
<ChainedException>
<Exception_Name>CX_ST_REF_ACCESS</Exception_Name>
<Exception_Text>Error accessing the ref. node 'TREASURY_ACC_SYMBOL': Main Program:/1BCDWB/WSSB82EBCB9AD66C98012B| Program:/1BCDWB/WSSB82EBCB9AD66C98012B| Line:1348| Valid:X</Exception_Text>
</ChainedException>
</ns:SystemFault>
<ns:SystemFault xmlns:ns="http://www.sap.com/webas/711/soap/runtime/abap/fault/system/">
<Host>undefined</Host>
<Component>APPL</Component>
<ChainedException asx:root="asx:abap" version="1.0" xmlns:asx="http://www.sap.com/abapxml">
<asx:values>
<EXCEPTION href="#o314"/>
</asx:values>
<asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">
<cls:CX_SOAP_CORE id="o314">
<CX_ROOT>
<TEXTID>0018FE864EEE1DECA69CF9C71ACB337F</TEXTID>
<PREVIOUS href="#o294"/>
<KERNEL_ERRID/>
<INTERNAL_SOURCE_POS>
<PROGID>127</PROGID>
<CONTID>1193</CONTID>
</INTERNAL_SOURCE_POS>
</CX_ROOT>
<CX_NO_CHECK/>
<CX_SOAP_CORE>
<E_LOCATION>
<CLASS>CL_SXMLP_DATA_ST==============CP</CLASS>
<METHOD>CL_SXMLP_DATA_ST==============CM005</METHOD>
<ID>37</ID>
</E_LOCATION>
<E_TEXT>CX_ST_REF_ACCESS:XSLT exception.Error accessing the ref. node 'TREASURY_ACC_SYMBOL'</E_TEXT>
<E_ID>1001</E_ID>
<E_FAULT_LOCATION>1</E_FAULT_LOCATION>
<E_AREA>APPL</E_AREA>
<E_HOST>0</E_HOST>
<E_PROCESS_CONTROL/>
</CX_SOAP_CORE>
</cls:CX_SOAP_CORE>
<cls:CX_SXMLP id="o294">
<CX_ROOT>
<TEXTID>B2F4D2ABC4FB1341AF5DBA8E4FC56693</TEXTID>
<PREVIOUS href="#o283"/>
<KERNEL_ERRID/>
<INTERNAL_SOURCE_POS>
<PROGID>241</PROGID>
<CONTID>339</CONTID>
</INTERNAL_SOURCE_POS>
</CX_ROOT>
<CX_NO_CHECK/>
<CX_SXMLP>
<PARAM1/>
</CX_SXMLP>
</cls:CX_SXMLP>
<cls:CX_ST_REF_ACCESS id="o283">
<CX_ROOT>
<TEXTID>90A40E455E608D4D9DF1C01C4E90C6D9</TEXTID>
<PREVIOUS/>
<KERNEL_ERRID/>
<INTERNAL_SOURCE_POS>
<PROGID>241</PROGID>
<CONTID>307</CONTID>
</INTERNAL_SOURCE_POS>
</CX_ROOT>
<CX_DYNAMIC_CHECK/>
<CX_TRANSFORMATION_ERROR/>
<CX_ST_ERROR>
<ST_PROGNAME>/1BCDWB/WSSB82EBCB9AD66C98012B</ST_PROGNAME>
<X-ML_OFFSET>0</X-ML_OFFSET>
<X-ML_PATH/>
<ST_IC>1541</ST_IC>
<ST_TIMESTAMP>20160707150934</ST_TIMESTAMP>
</CX_ST_ERROR>
<CX_ST_REF_ACCESS>
<REF_NAME>TREASURY_ACC_SYMBOL</REF_NAME>
</CX_ST_REF_ACCESS>
</cls:CX_ST_REF_ACCESS>
</asx:heap>
</ChainedException>
</ns:SystemFault>
</detail>
</soap-env:Fault>
</soap-env:Body>
</soap-env:Envelope>
Thanks in advance.
Regards,
Prajakta
‎2016 Jul 15 3:57 PM
This is an error in the web service. As you can see in the "fault", there's a CX_ST_REF_ACCESS error about node TREASURY_ACC_SYMBOL which was not expected by the web service. It's either in the request, or the response structure has been changed without regenerating the web service.