Professional Documents
Culture Documents
(Is) Consuming XI Web Service in Java WebDynpro Application
(Is) Consuming XI Web Service in Java WebDynpro Application
Create
Types:
Message
The below screenshot shows all the Objects under Configuration Scenario.
Enter the below path by giving the host and port details
http://<Hostname>:<Port>/XISOAPAdapter/MessageServlet?channel=:BS_CDWS:CC_soap_sender
Enter the Model Name, Model Package and select the radio button of Local File System or URL and say
Next.
For ResultView:
Outbound plug: ToStartView
Inbound plug: FromStartView
Actions for ResultView:
Now select the Model class for the Model binding and a method called
executeRequest_CDWS_MI_CDWS_MI will be generated.
Using Data link connect the StartView and Component Controller and also do Context Mapping.
Later Using Data link Connect ResultView and Component Controller and also do Context Mapping.
Using Data link Connect Component Controller and Model (FujitsuModel) and also do Context Mapping..
After doing above steps the total Diagram View looks like in below screenshot.
void
executeRequest_CDWS_MI_CDWS_MI(
)
{
//@@begin executeRequest_CDWS_MI_CDWS_MI()
wdContext.currentRequest_CDWS_MI_CDWS_MIElement().modelObject()._setUser("PISUPE
R");
wdContext.currentRequest_CDWS_MI_CDWS_MIElement().modelObject()._setPassword("xx
xxxxxx");
//$$begin Service Controller(-1540004708)
IWDMessageManager manager = wdComponentAPI.getMessageManager();
try
{
wdContext.currentRequest_CDWS_MI_CDWS_MIElement().modelObject().execute();
//
wdContext.nodeResponse().invalidate();
wdContext.nodeResult().invalidate();
}