cancel
Showing results for 
Search instead for 
Did you mean: 

inbound plug outbound plug communication error.

Former Member
0 Kudos

I am working on web dynpro Dc . In my project 2 webdynpro componets are communicaiton through interface controller. Suppose webdynpro component 1 is firing plug to webdynpro component 2. In webdynpro component 2 , onPlugBullkProcessIN() in interfaceview of 2 some value is set to context attribute. When firing plug form 1 to 2 , onPlugBullkProcessIN() method in interfacevIew of 2 is getting called and value is set to tht contextAttribute , but when i am trying to get tht value its returning null in viewcontroller of webdynpro component 2 .

also while compiling i am getting following warning

[wdgen] [Warning] com.apl.dyncomp.BulkProcessing --> NavigationTargetReference com.apl.dyncomp.BulkProcessUsage1_ProcessStepOUT_1: Target Inbound Plug ProcessStepInterfaceView.BullkProcessIN of Link has Type startup. Do not navigate to Inbound Plugs with type startup. The behaviour of this plug type will change.

How can i resolve this issue??????

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kavita,

The plug in interface view of 2nd Component, BullkProcessIN, is of type startup. Make it a standard plug.

While creating a inbound plug in interface view it gives type of plug to be made. The options are Standard, Startup and Resume. I think you may have chosen type Startup while creating inbound plug BullkProcessIN.

Regards,

Gopal

Former Member
0 Kudos

but earlier same application was working fine. i hvnt made any changes in type of plugs. once i had removed configuration and import it again for new development

Former Member
0 Kudos

Hi Kavita,

I had given answer to resolve the warning

com.apl.dyncomp.BulkProcessing --> NavigationTargetReference com.apl.dyncomp.BulkProcessUsage1_ProcessStepOUT_1: Target Inbound Plug ProcessStepInterfaceView.BullkProcessIN of Link has Type startup. Do not navigate to Inbound Plugs with type startup. The behaviour of this plug type will change.

I created a project with two components. I tried with both startup plug and standard plug. In both case context attribute was set successfully and was displaying. Don't know why you are facing the problem. Have you bind the viewcontroller's context attribute to component controller's context attribute in component2.

Regards,

Gopal

Former Member
0 Kudos

yes , binding is fine. Even i changed type for plug to standard , but still i am not able to get value tht has been set in inBound() method. Even print statments wtitten in side inbound() method of interface view are getting printed i.e. value is set to ocntext attribute but not able to retrievie in view. ,retruning null value.

Former Member
0 Kudos

Hi Kavita,

That is really strange why it is not working. I am unable to provide any other hints. Don't know if there are any issues while importing DCs.

Regards,

Gopal

Answers (0)