M
mflanegan
Guest
HI there The r-code and war file are up to date. This is what we are getting in the file. conditional:if condition="${(rest.resourcename == 'class1_method1') and (rest.operationname == 'class1..method1') and (rest.verb == 'PUT')}" mapping:rule source="${json.object['request'].string['input_parameter1']}" target="${idl.param['input_parameter1']}"/ mapping:rule source="${json.object['request'].string['input_parameter2']}" target="${idl.param['input_parameter2']}"/ /conditional:if /conditional:conditionalRuleSet It all appears to be fine. How do we confirm that the mobile builder is sending those parameters correctly? There are two parameters in the request. 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 10:05 AM 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, Just a quick reply. Is the r-code up to date? Is the deployed WAR file up to date? It would be interesting to see how the invoke method looks like at the REST Adapter level. The PAAR file in the WEB-INF/adapters subdirectory is a zip file. You can make a copy and rename it to zip to extract its content. The mapping.xml file could give you and idea on what parameters the REST Adapter is expecting for method1 and then compare it to what the Business Entity (and corresponding r-code) has. (in 11.4 you can query this information by using the URL.) I hope this helps. Stop receiving emails on this subject. Flag this post as spam/abuse.
Continue reading...
Continue reading...