xml message creation with default name space


  • Hi,

    I need to create xml message. I was trying to manually create xml message to make sure it is in valid format. I am getting error with below xml format

    <myRequest xmlns:xsi="" xmlns="" >  (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 6:20 PM

All replies

  • Hi Spunny,

    Please provide your XML message in its entirety.

    Also, do you have a formal XML Schema (XSD) to validate the XML message?

    Thursday, December 6, 2018 8:11 PM