cancel
Showing results for 
Search instead for 
Did you mean: 

following syntax error message

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thanks Stefan

justin_santhanam
Active Contributor
0 Kudos

Nikhil,

Do u able to get think Dynamic SOAP Action working?

raj.