cancel
Showing results for 
Search instead for 
Did you mean: 

Problems about context objects

Former Member
0 Kudos

Firstly I'd like to introduce my requirements briefly, I designed a outbound service interface which had 3 operations and also designed a corresponding inbound service interface which also had 3 operations, then I created 3 service mappings between the operations, after that, I created a new context object and assigned a field in the request message of outbound service interface in all of the operations, for example, the context object is named "co" and assigned to "a" in the request message of operation "o1", then I also assigned it to "b" in operation "o2", the same for "o3" operation. Of course, I activated all of them finally and clear the SLD cache.

But when I designed receiver determination in configuration time, I found that the context object disappeared in the condition editor.

I had search the topic in the forum, some posts are similar with mine, but I haven't found the effective solution for me, could anyone help me?

Accepted Solutions (0)

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Did you create the context object of the appropriate type and did you activate the same?

If yes, it should be visible. Make sure it has been activated and then try a cache refresh.

Regards,

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

The type of the context object I used is the simple type string so I think it's not necessary to activate anything else. Are there any other possibilities which can cause the problems?

Thanks,

Bean

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

AFAIK , you create the Context Objects and then you activate the same context object and then you assign it to the message interafce and then activate the message interafce as well.

make sure this is done, as I dont think any other config needs to be done.

Regards,

bhavesh

Former Member
0 Kudos

Hi,

I tried all of the steps orderly, but failed again. Why?

Former Member
0 Kudos

Hi,

I've found why that occurred, because it's not possible to use context objects in receiver determination. Thanks a lot.

Regards,

Bean