Send HTTP Request from IdM
Hi,
I have to communicate with a product . The product has HTTP / XML API . The API has some functions. The examples in the product docs ,
If you send a HTTP request to URL of the product with function name and some input parameters , It returns XML response , this response corresponds to some DTD.
Now from IdM I have to send some HTTP requests and do some things according to obtained responses.Some times I have to parse the XML responses returned to show the user some results.
How can I do this in Java , I have not worked with this kind of requirements.
Thanks,
pandu
[618 byte] By [
pandu345a] at [2007-11-26 19:43:06]

# 1
Hi,
I haven't understood your requirement very clearly but if you are lookign to obtain the http response object from IDM, you can do it in a form by using the variable :display.state.
To get the response object you will basically have to use the following function:
<invoke name='getResponse'>
<ref>:display.state</ref>
</invoke>
Hope this helps,
Nikhil
# 2
> Hi,
> I haven't understood your requirement very
> clearly but if you are lookign to obtain the http
> response object from IDM, you can do it in a form by
> using the variable :display.state.
>
> To get the response object you will basically have to
> use the following function:
>
> <invoke name='getResponse'>
><ref>:display.state</ref>
></invoke>
> pe this helps,
> Nikhil
Hey Nikhil ,
Here is the requirement , send a HTTP (POST)request to some server and grab the response from server (response is in XML).May need to parse response.
Any questions let me know.
Thanks,
Pandu