I try calling a function from java web service, but have no idea about setting and how to write content of "body data".
WSDL locate: localhost:8080/OracleDB/WS?WSDL
function ReturnSet request no input and return List
In jmeter, I set IP=localhost, Port=8080, Path=/OracleDB/WS?WSDL, Method=POST and Body Data to HTTP request
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ReturnSet>
</ReturnSet>
</soap:Body>
</soap:Envelope>
It return can't found ReturnSet.
Update:
Thanks Dmitri T.
In SoapUI, it send XML like below, at header Content-Type set as "text/xml; charset=utf-8". After those change, it work.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:uses="http://useSQL/">
<soapenv:Header/>
<soapenv:Body>
<uses:ReturnSet/>
</soapenv:Body>
</soapenv:Envelope>