I'm new on Websphere. I'm trying to use the "Custom Mediation". So, I'm useing on the response one of this primitives.
My export expects to get a "boolean". But my webService return a string, so I have to convert this string to boolean. My problem is that I can access to SMO, what contains the string, but I can't modify or access to the boolean..
I dont know how I can modify or access the output object... could someone help me??
//This element is a String, and I dont have a problem to access it. It's a field of my "input"
String aux3 = smo.getString("/body/getTransportResponse/isPossible");
//That field is the "export", and I dont know how I could access it. Maybe the route is wrong....
//I though that I could use the variable "out", but, I dont know where it's this object.
boolean axu2 = smo.getBoolean("/body/getTransportResponse/outTransport");
This topic has been locked.
1 reply Latest Post - 2012-03-01T11:45:48Z by tcavaleiro
Pinned topic Problem with Custom Mediation
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-03-01T11:45:48Z at 2012-03-01T11:45:48Z by tcavaleiro
tcavaleiro 270003MSR23 PostsACCEPTED ANSWER
Re: Problem with Custom Mediation2012-03-01T11:45:48Z in response to Spanish2012Hi there,
The "out" you refer it isn't a variable, it's a terminal where the current smo can be fired to.
I didn't understand very well your question, are you trying to change a boolean variable corresponding to /body/getTransportResponse/outTransport ? If so, you can do the: