I am getting a data of length 6 Lac characters from a storedProcedure. when I tried to call the storedProcedure from webMethods flow service, as part of variable to which the output of SP assigned, it is holding a max of 4000 characters where as my storedProcedure may return a data of 5 lac to 7 lac characters based on the input we pass. Kindly help me how can I get the data properly.
I have a variable @XML_OUTPUT which is of type XML in my storedProcedure as part of SQL server. I tried to read it in webMethods by keeping input type as BCLOB/CLOB and output type as String after which I got Inconsistent datatypes error. Henceforth, in storedProcedure, I converted @XML_OUTPUT to NVARCHAR(MAX) type. Now in wM adapter service I specified ParamJDBCTtype as nvarchar for @XML_OUTPUT and outputType as java.lang.String.
When I run this adapter service it is not having all the data which is send by storedProcedure.
when I run the storedProcedure by passing n ( no. of records to pull ) below is the observation.
For 5 records in DB, content length is → 12978 characters, the length of string in webMethods is only 4000
For 15 records in DB, content length is → 36768 characters, the length of string in webMethods is only 4000
For 55 records in DB, content length is → 166992 characters, the length of string in webMethods is only 4000
Please let me know if you need any details from me.
Could you try to check your ‘web.config’ and see if there is anything you can do to modify max string length under <system.web> tag and later try to check the output in webMethods, in case the output in Designer/file is still incorrect.