Hi,
I’m trying to call a stored procedure with wM 6.1.
This stored procedure has many field, and one of them is a JDBC type : BINARY(12).
My stored procedure call does work, but i don’t manage to insert a good value for the BINARY.
In SQL Advantage (a Sybase Client for windows), I can see the values in the data base for the BINARY(12). It’s like : 0x5f000001000000012b7b700f for example.
In wM, I tried to force wM to use String type for the input of the stored procedure (VARCHAR). It does work, but, the result in Sybase is 0x35463030303030… It the ASCII representation for my string (as you can see here : [url=“http://www.lookuptables.com/”]http://www.lookuptables.com/[/url])
If I try to use a byte array for the input of the stored procedure (BINARY), I don’t know what to map. If I tried to create a Java service to convert a string to bytes (string.getBytes()), the stores procedure return me that the input is null.
Does anyone of you have the same problem, or how do you call (or insert) BINARY ?
Thanx !
#Adapters-and-E-Standards#webMethods#Integration-Server-and-ESB