0

how i can change or remove default namespace, included by dss service in soap body :

xmlns:p="http://ws.wso2.org/dataservice" and xmlns:xs="http://ws.wso2.org/dataservice"

<body>
   <p:insert_data xmlns:p="http://ws.wso2.org/dataservice">
      <!--Exactly 1 occurrence-->
      <xs:param0 xmlns:xs="http://ws.wso2.org/dataservice">?</xs:param0>
      <!--Exactly 1 occurrence-->
      <xs:param1 xmlns:xs="http://ws.wso2.org/dataservice">?</xs:param1>
      <!--Exactly 1 occurrence-->
      <xs:param2 xmlns:xs="http://ws.wso2.org/dataservice">?</xs:param2>
      <!--Exactly 1 occurrence-->
      <xs:param3 xmlns:xs="http://ws.wso2.org/dataservice">?</xs:param3>
</p:insert_data>

Regards.

Hassan
  • 11
  • 2
  • https://stackoverflow.com/questions/44721850/how-to-remove-an-xml-attribute-from-a-tag-generated-by-an-wso2-esb-application – Biju Nair Jul 02 '20 at 10:15

1 Answers1

0

You can define your own namespaces.

See https://docs.wso2.com/display/DSS350/Defining+Namespaces

Bee
  • 12,251
  • 11
  • 46
  • 73
  • i used DSS for upsert operation, and left default naespace blanck. when i execute it, these namespaces have been specified by default. and i dont know haow i can remove it. – Hassan May 01 '18 at 14:19