Oracle calls Http request to call WebService

OR REPLACE Function ZLXA_JKKAPPSOAPService the CREATE
(
XMLString an In Varchar2
)
  the Return of As Varchar2
  - Author: King King
  - Time: 2021-01-21
  - Functions: call WebService
  - synchronize patient information (SOAP) After the establishment of the electronic health card

  l_http_request  UTL_HTTP.req;
  l_http_response UTL_HTTP.resp;

  l_RequestXML Varchar2(32767);
  l_result Varchar2(32767) := Null;
  l_returnXML Varchar2(32767) :='';
  
  outXML xmltype;
Begin
  
  - set the buffer to be unrestricted
  DBMS_OUTPUT.Enable(Buffer_Size => Null);
  /*
  3 Electronic health card query interface
    interface name: Electronic health card query interface
    interface address: http://10.85.34.50:8081/soap/personalService?wsdl
    interface method: patientSearch
    interface protocol: SOAP
    data format: XML


    --Gateway  platform YLJGDM Medical institution code String
    ZJHM ID number String
    ZJLX ID type String

Guess you like

Origin blog.csdn.net/wangshengfeng1986211/article/details/112991539