on 01-14-2009 6:04 PM
Hello,
as you know we can programmatically update ID objects by call ID APIs (web service). To do that you need to import the wsdl into a java project, generate web service client and call the client to update ID objects.
I've tried this in NWDS CE version. However I got error when generating web service client from the wsdl of the ID web service. Only the BusinessComponentService passed the ws client genertion, the rest web services do not work.
The error I got:
IWAB0399E Error in generating Java from WSDL: java.lang.NullPointerException
java.lang.NullPointerException
at org.apache.axis.wsdl.toJava.JavaInterfaceWriter.writeOperation(JavaInterfaceWriter.java:126)
Anybody has experience with ID API?
Thanks
Jayson
jsut close the post
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Jayson,
you can also request the web service directly.
For example, you could create a local xml file with the values you want to pass to the web service and configure a file 2 soap scenario within XI itself.
You can create interfaces for each available web service.
You could call this scenario "ID objects generator" or something and save the .tpz for the repository objects of this scenario, since you could reuse it in other projects.
Other than that, in Teched '08, Bill Li showed a lot of proxies developed over Java to consume the ID API web services, and they all seemed to work ok. However I do think he used NW Developers Studio 7.0 (2004s), not CE.
I'd raise an OSS msg with SAP in order to check the problem you're getting.
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Henrique,
very good suggestion to do it with ID integration scenario.
There is still one issue, I would like to put all changes into one changelist, with your suggestion, manual intervention would be needed to pass change list ID to all subsequential ID API call. My intention is to have some property files containing the new settings of the ID objects, run a java program loading those property file and update the ID objects.
Anyway, your suggestion is still very valuable.
Thanks
jayson
I think it's hard to archive with integration scenario. basically following would be needed.
1) Call change list service to get change list id
2) call multip ID API web service (File2soap) using the change list id obtained in step 1
3) Call change list service to activate the change list.
With ID integration, it's hard to archieve all those steps within one scenario, even with BPM. isn't it?
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.