Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Gateway Developer Center
Viewing all articles
Browse latest Browse all 1657

Exception /IWCOR/CX_REST_EXCEPTION occurred

$
0
0

Hi,

I get this exception when trying to call the odata service in SAP. Call is made to SAP from Java. Please help me wit you valuable suggestions and solution. While debugging, I see it failed in the below code <atom:entry tt:ref=".cs_entry">

 

 

<?sap.transform simple?>
<tt:transform xmlns:tt=
"http://www.sap.com/transformation-templates" xmlns:cp-atom="http://www.sap.com/abapxml/types/class-pool//IWCOR/IF_ATOM_TYPES" xmlns:atom="http://www.w3.org/2005/Atom">

<tt:root name=
"cs_entry" type="cp-atom:entry_s"/>
<tt:root name=
"it_namespace_declaration" type="cp-atom:namespace_t"/>
<tt:parameter kind=
"in" name="io_callback" ref-type="/IWCOR/if_ATOM_st_callback"/>

<tt:template>
<atom:entry tt:ref=
".cs_entry">
<!-- namespace declarations -->
<tt:s-cond check=
"exist(ref('.it_namespace_declaration'))">
<tt:call-method s-name=
"write_namespace_declarations" var="io_callback" writer="io_writer">
<tt:with-parameter ref=
".it_namespace_declaration" s-name="it_namespace"/>
</tt:call-method>
</tt:s-cond>
<!-- entry construct -->
<tt:apply name=
"tpl_atom_entry_construct">
<tt:with-root name=
"cs_entry" ref="$ref"/>
<tt:with-parameter name=
"io_callback" var="io_callback"/>
</tt:apply>
</atom:entry>
</tt:template>

<tt:include name=
"/IWCOR/st_ATOM_commons" templates="tpl_atom_entry_construct"/>

</tt:transform>

 

 

 

 

 

 

 

 

Thanks,

Vikram


Viewing all articles
Browse latest Browse all 1657

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>