xml message creation RRS feed

  • Question

  • Hi,

    I need to create xml message. Before I do that, I was trying to manually create xml message to make sure it is in valid format before writting c# code. I am getting error with below xml format

    <myRequest xmlns:"http:/...." >  (no prefix. I just assigned value to xmlns). We are sending this message to third party vendor.





    element1 is showing curly underline which means it is an error.

    If I do <element1 xmlns:"">, then it is fine.

    I do not want to prefix name space any sub elements. I was it to be default namespace with url assigned.

    How can I do that.

    Thank You

    Thursday, December 6, 2018 4:40 PM

All replies