Hi RP,
You can achieve your requirement,If you follow the below steps.
Step 1:
A). Please try to change your output parameter from xml to NVARCHAR2(MAX) in your stored procedure.
[b]ex: @xml_data nvarchar(max) output[/b]
B). Cast the xml data into NVARCHAR(MAX) from your query.
Ex: SET @xml_data = (SELECT CAST(xml_data) as NVARCHAR(MAX) from <your_table>)
Step2:
As you mentioned in webMethods Adapter services,
In Parameters Tab,Please select the paramJDBCType as LONGNVARCHAR for output type.
In result Set Tab, Please choose JDBC Type as LONGNVARCHAR
You can your service after that and will get you an expected result.
Please let me know your response.
#webMethods#Integration-Server-and-ESB