Oracle中的soaptest
Oracle中的soaptest declare soap_request varchar2(30000); soap_respond varchar2(30000); http_req utl_http.req; http_r
Oracle中的soaptest
declare
soap_request varchar2(30000);
soap_respond varchar2(30000);
http_req utl_http.req;
http_resp utl_http.resp;
BEGIN
soap_request:= '
http_req:= utl_http.begin_request( 'http://127.0.0.1:8080/ipe/services/retrieveFaxService' , 'POST' , 'HTTP/1.1');
utl_http.set_header(http_req, 'Content-Type', 'text/xml; charset=utf-8');
utl_http.set_header(http_req, 'Content-Length', length(soap_request));
utl_http.set_header(http_req, 'SOAPAction', 'urn:receiveFAX');
utl_http.write_text(http_req, soap_request);
http_resp:= utl_http.get_response(http_req);
utl_http.read_text(http_resp, soap_respond);
utl_http.end_response(http_resp);
END;
/
更多Oracle相关信息见Oracle 专题页面 ?tid=12
,