Click here to Skip to main content
15,896,726 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to fetch the node KeyOwner in the below Xml File using selectnodes method?

I want to fetch the node keyOwner in the below Xml file using selectnodes Method.

XML
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://wps.fgb.com/CustomerOnboard/" xmlns:cus1="http://util.fgb.com/CustomerOnboardDetails" xmlns:cry="http://util.fgb.com/Crypt">
    <soapenv:Header/>
    <soapenv:Body>
        <cus:getOnboardingDetails>
            <in>
                <id>400004</id>
                <customer>
                    <cus1:onBoardDetails>

                        <cus1:cryptParameter>
                            <cry:cryptMode>PGP</cry:cryptMode>
                            <cry:cryptAlgorithm>AES</cry:cryptAlgorithm>
                            <cry:hashingAlgorithm>SHA</cry:hashingAlgorithm>
                            <cry:key>
                                <cry:keyType>RSA</cry:keyType>
                                <cry:keyOwner>fgb</cry:keyOwner>
                                <cry:keyPath>KEYPATH</cry:keyPath>
                                <cry:KeySize>2048</cry:KeySize>
                                <cry:secret>?</cry:secret>
                                <cry:keyIndicator>KEYINDCTR</cry:keyIndicator>
                                <cry:keyExpiry>12/10/20145</cry:keyExpiry>
                            </cry:key>
                            <cry:key>
                                <cry:keyType>RSA</cry:keyType>
                                <cry:keyOwner>fgb</cry:keyOwner>
                                <cry:keyPath>KEYPATH</cry:keyPath>
                                <cry:KeySize>2048</cry:KeySize>
                                <cry:secret>?</cry:secret>
                                <cry:keyIndicator>KEYINDCTR</cry:keyIndicator>
                                <cry:keyExpiry>12/10/20145</cry:keyExpiry>
                            </cry:key>

                        </cus1:cryptParameter>

                    </cus1:onBoardDetails>
                    <cus1:customerNo>600061</cus1:customerNo>
                </customer>
            </in>
        </cus:getOnboardingDetails>
    </soapenv:Body>
</soapenv:Envelope>
Posted
Comments
Maciej Los 22-Oct-15 14:43pm    
What have you tried? Where are you stuck?

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900