on 02-07-2008 9:40 AM
IDOC - Soap
I wrote the following code looking at the code from the following :
http://help.sap.com/saphelp_nw70/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
to dynamically fill the action field of SOAP action attribute
DynamicConfiguration conf = (DynamicConfiguration) container.putTransformationParameters("http://sap.com/xi/XI/System/Soap","THeaderSOAPACTION").put(key);
The key holds the action to be inserted dynamically.
Now, I am getting the following error message when I try this
Source code has syntax error: C:/usr/sap/BC6/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapa7ab0f42d55e11dcbdaf00132165c741/source/com/sap/xi/tf/_MM_STOCKLEVEL_.java:95: cannot resolve symbol symbol : method putTransformationParameters (java.lang.String,java.lang.String) location: interface com.sap.aii.mappingtool.tf3.rt.Container DynamicConfiguration conf = (DynamicConfiguration) Container.putTransformationParameters("http://sap.com/xi/XI/System/Soap","THeaderSOAPACTION").put(key); ^ 1 error
Is there a "putTransformatioParameters" method exists like getTransformationParameters?
Please correct me
Nikhil.
Even if you want to write the parameters, you have to read the configuration first. So use the get.. method:
container.getTransformationParameters("http://sap.com/xi/XI/System/Soap","THeaderSOAPACTION").put(key);
If you write all in one line, the result of the method put() is void.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.