Looking to create a Request for Comment (RFC) using a SAP function. A SAP data source was generated from this function. Upon visiting the following address: , a page with XML definitions is displayed.
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="urn:sap-com:document:sap:rfc:functions" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="urn:sap-com:document:sap:rfc:functions">
...
Created a JavaScript function to send a POST request as shown below:
var webServiceURL = 'http://xxx.xxx.com:8000/sap/bc/soap/wsdl11?sap-client=200&services=ZTEST';
function createSoapEnvelope(contents) {
...
HelloWorld();
However, upon running the code, the user remains on the description page instead of seeing a list of users. Seeking a solution. Thank you!
Edit 1
Upon visiting , the following message is displayed:
<soap:Envelope>
<soap:Body>
<soap:Fault>
<faultcode>
...
Visiting results in a blank page. In the transaction code soamanager
, the webservice is listed with the configuration details including Service, Endpoints, State, and Creation Type as mentioned.