Pass long string to a Web Service

alex10

New Member
Hello all,

Progress 10.2a
Hp ux 11.31

I need to send a long string (more than 32k) to a web service when i try to concatenate variables i get:
bfx: Field too large for a data item. Try to increase -s. (42)
Error attempting to push run time parameters onto the stack. (984)

Please help me with a workaround.

here is part of the code that i use:

Code:
[FONT=Courier New]create server hWebService.
/*hWebService:CONNECT("-WSDL 'http://lll/WSListener/Submit.asmx?WSDL'").*/
cURL = "-WSDL 'http://abc.xlx.com/WSList/Submit.asmx?WSDL'".
hWebService:CONNECT(cURL).
run SubmitSoap set hSubmitSoap on hWebService.[/FONT]
 
......
 
[FONT=Courier New]RUN SubmitDatatoWS IN hSubmitSoap(INPUT inSourceSystem, INPUT inDestinationSystem, INPUT inInterface, INPUT inFileName, 
INPUT inData[1] + inData[2] + inData[3] + inData[4] + inData[5] + inData[6] + inData[7] + inData[8] + inData[9] + inData[10], 
OUTPUT SubmitDatatoWSResult).
hWebService:DISCONNECT().[/FONT]
 
Top