Hi all.

I'm working with XPAth in a process to obtain the result of the rest of two numbers, and with that, call a web service. The problem that I have is that the parameter of the web service is *int* but the XPath expression give me a double. This is the code:

/<bpel:copy><bpel:from>
<![CDATA[*round(round(number($LimpiezaPLResponse.parameters/xsd:usuario/xsd:saldo)) - round(number(10)))*]]>
</bpel:from>
<bpel:to part="parameters" variable="LimpiezaPLRequest3">
<bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
<![CDATA[ns:saldo]]>
</bpel:query>
</bpel:to>

</bpel:copy>/

I try with round, but didn't work either. For example, it returns 60.0.




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

Reply via email to