2626
2727//Using an HTTP GET URL that returns JSON content:
2828
29- OUTPUT (HTTPCALL ('http://.:8009 /WsResources/ServiceQuery.json?Type=EclWatch' ,'GET' , 'application/json' , ServiceQueryResponse, XPATH('/ServiceQueryResponse' ), LOG ('http get json' )), NAMED ('http_get_json' ));
29+ OUTPUT (HTTPCALL ('http://.:8010 /WsResources/ServiceQuery.json?Type=EclWatch' ,'GET' , 'application/json' , ServiceQueryResponse, XPATH('/ServiceQueryResponse' ), LOG ('http get json' )), NAMED ('http_get_json' ));
3030
3131//Using a HTTP GET URL that returns XML content:
3232
33- OUTPUT (HTTPCALL ('http://.:8009 /WsResources/ServiceQuery.xml?Type=EclWatch' ,'GET' , 'text/xml' , ServiceQueryResponse, XPATH('/ServiceQueryResponse' ), LOG ('http get xml' )), NAMED ('http_get_xml' ));
33+ OUTPUT (HTTPCALL ('http://.:8010 /WsResources/ServiceQuery.xml?Type=EclWatch' ,'GET' , 'text/xml' , ServiceQueryResponse, XPATH('/ServiceQueryResponse' ), LOG ('http get xml' )), NAMED ('http_get_xml' ));
3434
3535//Using a JSON post
3636
37- OUTPUT (HTTPCALL ('http://.:8009 /WsResources' ,'ServiceQueryRequest' , ServiceQueryRequest, ServiceQueryResponse, JSON, XPATH('ServiceQueryResponse' ), LOG ('http post json' )), NAMED ('http_post_json' ));
37+ OUTPUT (HTTPCALL ('http://.:8010 /WsResources' ,'ServiceQueryRequest' , ServiceQueryRequest, ServiceQueryResponse, JSON, XPATH('ServiceQueryResponse' ), LOG ('http post json' )), NAMED ('http_post_json' ));
3838
3939
4040
@@ -47,15 +47,15 @@ OUTPUT(HTTPCALL('http://.:8009/WsResources','ServiceQueryRequest', ServiceQueryR
4747//
4848
4949
50- OUTPUT (HTTPCALL ('http://.:8009 /WsResources/ServiceQuery' ,'' , ServiceQueryRequest, ServiceQueryResponse, FORMENCODED('esp' ), XPATH('ServiceQueryResponse' ), LOG ('form encoded post json' )), NAMED ('form_post' ));
50+ OUTPUT (HTTPCALL ('http://.:8010 /WsResources/ServiceQuery' ,'' , ServiceQueryRequest, ServiceQueryResponse, FORMENCODED('esp' ), XPATH('ServiceQueryResponse' ), LOG ('form encoded post json' )), NAMED ('form_post' ));
5151
5252
5353//---------------- SOAP --------------------------------
5454
5555//Using SOAP LITERAL:
5656
57- OUTPUT (SOAPCALL ('http://.:8009 /WsResources' ,'ServiceQueryRequest' , ServiceQueryRequest, ServiceQueryResponse, LITERAL , XPATH('ServiceQueryResponse' ), LOG ('soap literal' )), NAMED ('soap_literal' ));
57+ OUTPUT (SOAPCALL ('http://.:8010 /WsResources' ,'ServiceQueryRequest' , ServiceQueryRequest, ServiceQueryResponse, LITERAL , XPATH('ServiceQueryResponse' ), LOG ('soap literal' )), NAMED ('soap_literal' ));
5858
5959//Using ESP specific SOAP
6060
61- OUTPUT (SOAPCALL ('http://.:8009 /WsResources' ,'ServiceQuery' , ServiceQueryRequest, ServiceQueryResponse, XPATH('ServiceQueryResponse' ), LOG ('soap esp' )), NAMED ('soap_esp' ));
61+ OUTPUT (SOAPCALL ('http://.:8010 /WsResources' ,'ServiceQuery' , ServiceQueryRequest, ServiceQueryResponse, XPATH('ServiceQueryResponse' ), LOG ('soap esp' )), NAMED ('soap_esp' ));
0 commit comments