cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

WD Java app + MII Web Services

Former Member
0 Likes
234

Hi Everyone,

Just wondering if someone could answer a pretty simple question, I'm consuming a MII web service in my WD Java application (as an adaptive web service) and I have created my XacuteRequest / XacuteResponse model objects. Everything looks ok, the web service returns values but I'm not sure how I go about supplying input parameters to my web service.

Now it seems my XacuteRequest has a cardinality of 0..1  so when I execute my model I don't pass any input parameters in and my MII transaction seems to just execute without any input parameters.

Anyone know what I should be doing to populate my XacuteRequest with my required input parameters so I can then execute the web service and get the values I want?

Regards,

Danny Yee

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Danny,

If you need to specify input/output parameters then you should specify them in BLS transaction in its Transaction Properties:

http://help.sap.com/saphelp_mii122/helpdata/en/4c/c8dfbe8e9b60c5e10000000a15822d/frameset.htm

After that you will be able to see these parameters in corresponding WSDL. There is a trick about parameters of XML type: you need to connect them with corresponding XSD in order to define their XML structure in WSDL. This can be done also in MII Workbench:

http://help.sap.com/saphelp_mii122/helpdata/en/4c/f5577b3f4060c5e10000000a15822d/frameset.htm

I'm not quiet sure if I understand your question correctly, so correct me if you need smth else.

Regards,

Petr

Former Member
0 Likes

Thanks Petr,

Sorry my question wasn't that clear but I've resolved it in the end, went back through my WDJ app and turned out I wasn't creating my request objects before executing my model and thus wasn't actually supplying input parameters in the underlying web service!

Regards,

Danny