Click here to Skip to main content
15,881,139 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
I want to add a node in the XML without any value. <XMLAuthenticateRequest>/XMLAuthenticateRequest>

Then i need to make a digital signature of the whole XML and the result should be appended in the node ,XMLAuthenticateRequest'

But when i try, the xml node XMLAuthenticateRequest appears broken,also when i tried to append the signature in to the XMLAuthenticateRequest, i am getting a blank value in front.

Let me know how it can be resolved.

Thanks and Regards
RK
Posted
Comments
George Jonsson 25-Oct-15 6:47am    
For anyone to help you, you need to show the relevant code.
Also present the XML data that "appears to be broken"
Wombaticus 25-Oct-15 6:58am    
If you've just copy/pasted this
<XMLAuthenticateRequest>/XMLAuthenticateRequest>
from you code, then there's the error right there: you've missed the opening < on the closing tag. Anyway, you could write
<XMLAuthenticateRequest />
instead.
Renjith Kalarikkal 25-Oct-15 7:22am    
I missed that one when i copy from the source code
Maciej Los 25-Oct-15 7:44am    
What have you tried till now?

1 solution

Yes, there is an error in your xml node.
Replace
XML
<XMLAuthenticateRequest>/XMLAuthenticateRequest>

with
XML
<XMLAuthenticateRequest></XMLAuthenticateRequest>

or
XML
<XMLAuthenticateRequest />

In html, < and > are always paired.
 
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