문제

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?

도움이 되었습니까?

해결책

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. =)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top