LogicAppsUX
LogicAppsUX copied to clipboard
XML parse with schema errors out with Error details: Operation getXmlParseParameters is not implemented by the schema client.
Describe the Bug with repro steps
- Create workflow with the attached json
- Create an xsd schema as follows:
<xs:schema id="MySchema" targetNamespace="rawxml"
xmlns="rawxml"
xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:element name="SalesBatch">
<xs:complexType>
<xs:sequence>
<xs:element name="Property1" type="xs:string"/>
<xs:element name="Property2" type="xs:int"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
- Open designer window on the workflow
- Observe the error in the screenshot
What type of Logic App Is this happening in?
Standard (VSCode)
Which operating system are you using?
Windows
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"XML_parse_with_schema": {
"type": "XmlParse",
"inputs": {
"content": "<SalesBatch xmlns=\"rawxml\">\n <Property1>SampleValue</Property1>\n <Property2>123</Property2>\n</SalesBatch>\n",
"schema": {
"source": "LogicApp",
"name": "MySchema.xsd"
},
"xmlReaderSettings": {
"dtdProcessing": "Prohibit",
"xmlNormalization": true,
"ignoreWhitespace": true,
"ignoreProcessingInstructions": true
},
"jsonWriterSettings": {
"ignoreAttributes": true,
"useFullyQualifiedNames": false
},
"rootNodeQualifiedName": "rawxml:SalesBatch"
},
"runAfter": {}
}
},
"triggers": {
"When_a_HTTP_request_is_received": {
"type": "Request",
"kind": "Http",
"inputs": {
"method": "GET"
}
}
},
"contentVersion": "1.0.0.0",
"outputs": {}
},
"kind": "Stateful"
}
Screenshots or Videos
Browser
- Edge
Additional context
This is an out-of-the-box project generated in VsCode