Hi Ricardo,
In xpath /ns1:codServicoFiancas will look for an element with that exact
tag name. However it is possible that the message is using a different
namespace prefix in which case, even if both prefixes resolve to the
same namesapce, the selection will fail. Instead try using
//*[local-name()='codServicoFiancas'] which will only compare the local
part.
Also did you intend to assign the string
"$ActualizarIMIIn.modelo1/ns0:codServicoFinancas" to codServicoFiancas?
Hope this helps.
Bill McCusker
Ricardo Pereira wrote:
Hello,
I spent a lot of time trying to solve a problem that there is a lot of
people with same. The problem is the "selectionFailure". It happens when i
deploy the process and use the Soapui to invoke the process. the answer is:
<faultstring xmlns:axis2ns1="
http://docs.oasis-open.org/wsbpel/2.0/process/executable
">axis2ns1:selectionFailure</faultstring>
in the BPEL process i have this assign:
<assign name="Assign2">
<copy>
<from>
<literal>
$ActualizarIMIIn.modelo1/ns0:codServicoFinancas</literal>
</from>
<to>$ActualizarModelo1In.modelo1Actualizar/ns1:codServicoFinancas</to>
</copy>
</assign>
What is the problem? I've heard that it could be namespaces conflicts but i
don't understand why. Please i beg for help in this issue.
I hope to get an answer