Java calls the webservice API. The parameter is in XML format, and the return value is also in XML format. How can I use the java method to call it?

Interface document is in this format:
function prototype definition:

 public int ConsoleDimmingByBroadcast(int consoleIdentifier, int dimmingValue)

uniform call format:

public int ExecuteMethod(string methodName, string logid, string inputXml, ref     string outputXml)

methodName:ConsoleDimmingByBroadcast    
//
logid:

inputXml:
<root>
    <consoleIdentifier>1</consoleIdentifier>
    <dimmingValue>100</dimmingValue>
</root>

/*0:*/
outputXml: 
<root>
<msg></msg>
</root>

//input output
In

soap ui, it looks like this:

how can I use the java method to call it?
solve

Mar.24,2021
The

http method supports the transmission of xml. You need to specify content-type


Hello. I'd like to ask why I have the node return using the format returned by the soapUi call.

Menu