Question
Tata Consultancy Services Limited
GB
Last activity: 28 Aug 2016 9:03 EDT
XML Generation - Node Name for attributes
Dear All,
Please help me on the below.
My XSD has the below definition
<xs:attribute name="source-system" type="xs:string"/>
<xs:complexType name="lookup-type">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute ref="source-system" use="required"/>
<xs:attribute ref="code" use="required"/>
<xs:attribute ref="description" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
In the generated xml we could see like
<business-event ns1:sourceSystem="CUBE" ns1:description="Submission" ns1:code="submission">Submission</business-event>
But i am expecting like below
<business-event ns1:source-system="CUBE" ns1:description="Submission" ns1:code="submission">Submission</business-event>
Could you please tell is is bug in pega? I am using Pega7.1.7
The xml is geenrated by connect soap wizard.
Thanks,
Guhan
Dear All,
Please help me on the below.
My XSD has the below definition
<xs:attribute name="source-system" type="xs:string"/>
<xs:complexType name="lookup-type">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute ref="source-system" use="required"/>
<xs:attribute ref="code" use="required"/>
<xs:attribute ref="description" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
In the generated xml we could see like
<business-event ns1:sourceSystem="CUBE" ns1:description="Submission" ns1:code="submission">Submission</business-event>
But i am expecting like below
<business-event ns1:source-system="CUBE" ns1:description="Submission" ns1:code="submission">Submission</business-event>
Could you please tell is is bug in pega? I am using Pega7.1.7
The xml is geenrated by connect soap wizard.
Thanks,
Guhan
***Updated by Moderator: Marissa. Removed user added #helpme group tag. Apologies for confusion, shouldn't have been an end-user option***