I use java to make the call because we have to deal with NTLM authentication, if you don't, there is almost too much information on the web about sending a "GET" using the UTL_HTTP package from oracle. You will be returned XML data describing the web service functionality. If you are cheap, direct your browser to the WSDL and just copy/paste the WSDL xml into the query.
The standard location of the WSDL is http(s)://host.com/pathToService/webservice.asmx?WSDL
To use this query, place your WSDL xml in the placeholder "< WSDL_XML >" below.
The result will be a table of methods.
SELECT SUBSTR(A.METHOD, REGEXP_INSTR(A.METHOD, ':') + 1)
FROM XMLTABLE(XMLNAMESPACES(DEFAULT 'http://schemas.xmlsoap.org/wsdl/')
,'$d/*:definitions/*:message' PASSING XMLTYPE(< WSDL_XML >)
AS "d" COLUMNS METHOD VARCHAR2(4000) PATH 'part/@element') A
WHERE A.METHOD NOT LIKE '%Response'
Love it.
ReplyDelete