B2B Integration

Sterling B2B Integration

Come for answers, stay for best practices. All we're missing is you.

 View Only

Xpath for XML with Namespaces on BPML

  • 1.  Xpath for XML with Namespaces on BPML

    Posted 15 hours ago

    Hi,

    Any help is appreciated. I have a requirement for SOAP WS request. I am trying to pull the entire xml document to the process data to check for the node count on the rule manager on the Business Process. I see when i use from= DocToDOM(PrimaryDocument)  to = "." on the assign statement I am not pulling anything. I don't have any idea how to pull the XML with name spaces. Below is the example data on the Primary document,

    <soapenv:Envelope xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>
    <soapenv:Header>
    <account xsi:type='xsd:string'></account>
    <token xsi:type='xsd:string'></token>
    <nonce xsi:type='xsd:string'></nonce>
    <timestamp xsi:type='xsd:long'></timestamp>
    </soapenv:Header>
    <soapenv:Body>
    <get>
    <baseRef xsi:type="platformCore:RecordRef" A="123456" type="string" ></baseRef>
    <baseRef xsi:type="platformCore:RecordRef" B="767897" type="string" ></baseRef>
    </get>
    </soapenv:Body>
    </soapenv:Envelope>

    I need to pull the node "get" to rule manager 

    Thanks,



    ------------------------------
    Subathra Bairavan
    ------------------------------