How to pass xml type parameter to stored procedure

One Star

How to pass xml type parameter to stored procedure

Hi,

I am trying to call a stored procudere in tMSSqlSP.
stored procedure is as : EXEC . '<?xml version="1.0" encoding="UTF-8"?><customer><PROVIDER customer="C3VD0PIOGI"/></customer>'

This stored procedure take one argument it's type is xml.
But in our talend has document type. when i am passing document type argument its giving error :
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The method Document2Document(Document) is undefined for the type TypeConvert
The method setDocument(int, Document) is undefined for the type CallableStatement
Please help me any one,
Thanks in Advance,
Four Stars

Re: How to pass xml type parameter to stored procedure