on 04-05-2007 1:12 AM
Hi,
I need to use file upload UI element in my screen. But on clicking the upload button, i want to extract this file and map it to a XI webservice.
Can someone please help me on that.
Regards,
Shobhit
HI Shobhit,
In general all the web services are generic (XI, ABAP, EJB etc) just map the resource property of the file Upload UI to the proper node of the webservice.
Regards
Sid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shobhit,
Normally, you execute any webservice irrespective of the technology underlying. For this scenario, I hope following should be the approach to map it with XI Web service:
1 Bind a attribute of type binary to the data property of the file upload element.
2 Read the file into ByteArrayInputStream ByteArrayInputStream dataStream =new ByteArrayInputStream(<ur attribute of type binary>)
3 Set the nodes that you have created for executing webservice.
4 Execute the webservice.
Abhinav Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.