Question

I'm trying to get info from the tree of a web service message in OSB. But the name is non-standard (<xml-fragment>)

Here's the expression I'm using:

{$inputRoot_Res/PutResponse/ArrayOfInterfaceObjOutput/xml-fragment/idEntradaCaller/text()}

Well, seems that the data isn't being selected.

Do you know how to deal with this?

Était-ce utile?

La solution

Ok, seems that I found the answer. I have a namespace in my structure that wasn't defined, and that's why I wasn't gathering data.

As Tomalak said, it's a valid name as it seems. So, the command ends like this:

{$inputRoot_Res/urn:PutResponse/ArrayOfInterfaceObjOutput/xml-fragment/idEntradaCaller/text()}

Where "urn" is defined in the namespaces box.

Sorry for the trouble, and thank you Tomalak and Jens Erat for your answers. =)

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top