on 08-07-2011 12:31 PM
Greetings,
Recently I've ran into a requirement to provide some web service to third party vendor, which requires specific XML request and response structure. I am developing the web service based on SAP Portal (7.0) and it is exposed to outside world with a web dispatcher.
When I edit the WS Virtual Interface (VI) I am able to call input parameters according to vendor requirements without any problem, but there is no option (at least in the editor) to rename export parameters. For instance, I have an "Attendee" Java class with several parameters that will be inside the response, and "firstName" field should be called "first-name" in the response structure.
Is there any way to do so?
Thanks in advance,
Ivan
Hi Ivan,
I haven't worked with Java VI's but I can offer a suggestion based on how I've seen it work on the Abap stack...
If you refere to this guide:
[http://www.google.co.za/url?sa=t&source=web&cd=10&ved=0CGEQFjAJ&url=http%3A%2F%2Fsapforum.biz%2Findex.php%3Faction%3Ddlattach%3Btopic%3D1785.0%3Battach%3D2548&ei=l7Q_TtaTNMXirAfQsOzwDw&usg=AFQjCNFvHGrQdDgBts8kGHUhiklMIssDvA]
You'll notice that in order to change the export parameters you need to make a copy of the exporting node & then re-name the copied structure parameters. You'll then need to reference the copied structure in your exporting node. This may not work for Java VI's of course, but it might be s starting point for you to start looking.
The third party vendor is dictating what you as the provider should do?? The world is changing as we know it
Regards, Trevor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
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.