Hello,
Apex 22.2 on Apex.oracle.com
I am in the phase of learning to create web services.
1. I would like to ask for instructions or an example of how to define a web service (action) in Apex that can be called using the SOAP protocol?
l_xml := APEX_WEB_SERVICE.make_request(
p_url => 'http://abc.com/webservices/aaa',
p_action => 'http://abc.com/webservices/aaa/bbb,
p_envelope => l_envelope
);
2. I tried to create a web service reference based on WSDL via Legacy web services. I have the WSDL definition in a file on my computer. What should I enter in the WSDL location? I tried file://localhost/C:/xyz/abc/Timeservice.wsdl but no luck. I always get the error "The URL provided did not return a valid WSDL document." I also get the same error when I want to define the location with http://www.w3schools.com/xml/tempconvert.asmx?wsdl or http://oracle-base.com/webservices/server.php?wsdl.
Thanks,
Mark