一、GET Request
调用方式:
http://IP:50100/HttpAdapter/HttpMessageServlet?interfaceNamespace=sendmessage&interface=os_sendmessage_slm&senderService=Srv_TRANINING&qos=BE&j_username=&j_password=&MPN=<sen:MT_AMSReq xmlns:sen='sendmessage' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'><S>Payload</S></sen:MT_AMSReq>&CONTENT=Parameters
UDF获取URL参数:
//Get the dynamic configuration from the container
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
//Create the URLParamOne key in namespace http://sap.com/xi/XI/System. This key will hold the dynamically created request parameter
DynamicConfigurationKey keyParam1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System", "URLParamOne");
return conf.get(keyParam1);
MAPPING: