Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Need a help of Java UDF

$
0
0

     Hi Experts,

 

As per the requirement, i am triggering a rest api using java udf from mapping level and need to capture the entire response to a variable and further need to pass it as input to next udf.

I tried with the some code and able to trigger the rest adapter channel and got the response but not sure on how to read the entire response.

I have the code which i tried with.

 

Could you please help me with nay code snippets on how to read the entire response.

 

My response will look like -

 

<jobxmlns="...">

    <id>value1</id>

    <status-link> value2</status-link>

    <start-time>value3</start-time>

    <status>value4</status>

</job>

 

My requirementis capture the whole rsponse and pass it as a variable to next udf.

 

 

Thanks

 

Narayanareddy B


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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