M
mflanegan
Guest
Hi For now we have removed the outputs, to try get it running. Once it is running I will put them back in. Meyrick Flanegan Developer - Managed Services Email: mflanegan@elcb.co.za ELCB Information Services (Pty) Ltd Customer Service Email elcb@elcb.co.za · www.elcb.co.za E A S T L O N D O N Tel: +27(43) 704 0700 Fax: +27(43) 704 0701 J O H A N N E S B U R G Tel: +27(11) 879 6179 Fax: +27(11) 454 0384 P O R T E L I Z A B E T H Tel: +27(41) 373 0529 Fax: +27(86) 650 0135 Disclaimer From: egarcia [mailto:bounce-egarcia@community.progress.com] Sent: 05 September 2014 03:25 PM To: TU.Mobile@community.progress.com Subject: RE: [Technical Users - Mobile] Invoke method with output parameters RE: Invoke method with output parameters Reply by egarcia Hello, Thank you for checking the mapping.xml file. There are two sections in the mapping.xml file: mapInput and mapOutput. The text that you posted which seems to be for mapInput seems fine. It shows two input parameters. The mapOutput section should have a something like the following (two output parameters, one string and one integer): conditional:conditionalRuleSet conditional:if condition="${(rest.resourcename == 'Class1_method1') and (rest.operationname == 'Class1..method1') and (rest.verb == 'PUT')}" mapping:rule source="${idl.param['output_parameter1']}" target="${json.object['response'].string['output_parameter1']}"/ mapping:rule source="${idl.param['output_parameter2']}" target="${json.object['response'].integervalue['output_parameter2']}"/ /conditional:if /conditional:conditionalRuleSet Do you have this in your mappinp.xml file? Thanks. Stop receiving emails on this subject. Flag this post as spam/abuse.
Continue reading...
Continue reading...