Question

2
Replies
424
Views
brocg Member since 2015 3 posts
PEGA
Posted: 4 years ago
Last activity: 4 years 4 months ago
Closed
Solved

Incorrect Parse XML rule generated from service wizard

Im running 7.2 coreAssemblyCached_72_868. When I expose a top-level case as a service that returns the svcOutput, the xml below is generated for the WSDL, however, in the actual XML response from the service, the element name is being returned as ProcessInfo, not svcOutput. Admittedly, all that needs to happen to fix the issue is change the element label in the XML Parse response rule to match ProcessInfo, but wanted to report the issue.

Excerpt from WSDL::

<complexTypename="CreateNewWorkResponseType">
<sequence>
<elementname="svcOutput"type="nslt1:svcOutputType"/>

</sequence>

</complexType>

<complexTypename="svcOutputType">
<sequence>
<elementmaxOccurs="unbounded"name="pyAssignmentList">
<complexType>
<sequence>
<elementname="pyAssignedTo"type="xsd:string"/>

<elementname="pyAssignmentClass"type="xsd:string"/>

<elementname="pyAssignmentHandle"type="xsd:string"/>

<elementname="pyFlowType"type="xsd:string"/>

<elementname="pyInstructions"type="xsd:string"/>

</sequence>

</complexType>

</element>

<elementname="pyCurrentUserHasOwnership"type="xsd:string"/>

<elementmaxOccurs="unbounded"name="pyErrors">
<complexType>
<sequence>
<elementmaxOccurs="unbounded"name="pyMessages">
<complexType>
<sequence>
<elementname="pyErrorCount"type="xsd:string"/>

<elementmaxOccurs="unbounded"name="pyErrorMessage"type="xsd:string"/>

<elementname="pyPageName"type="xsd:string"/>

</sequence>

</complexType>

</element>

</sequence>

</complexType>

</element>

<elementmaxOccurs="unbounded"name="pyFlowsToAdd"type="xsd:string"/>

<elementmaxOccurs="unbounded"name="pyProcessState">
<complexType>
<sequence>
<elementmaxOccurs="unbounded"name="pyAssignActions">
<complexType>
<sequence>
<elementname="pyActionLabel"type="xsd:string"/>

<elementname="pyActionName"type="xsd:string"/>

<elementname="pyActionType"type="xsd:string"/>

</sequence>

</complexType>

</element>

<elementname="pyAssignmentHandle"type="xsd:string"/>

<elementname="pyFlowIdentifier"type="xsd:string"/>

</sequence>

</complexType>

</element>

<elementname="pyStatus"type="xsd:string"/>

<elementname="pyWorkObjectHandle"type="xsd:string"/>

<elementname="pyWorkObjectStatus"type="xsd:string"/>

</sequence>

</complexType>




<elementname="CreateNewWorkResponse"type="nslt1:CreateNewWorkResponseType"/>



XML Stream response from the service


literal<ns1:CreateNewWorkResponse xmlns:ns1="urn:PegaRULES:SOAP:MyCOFWHRFrameFWWorkOnboarding:pyStartCase"> <ProcessInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <pyAssignmentList> <pyAssignedTo>MyCO New Hire Intake</pyAssignedTo> <pyAssignmentClass>Assign-WorkBasket</pyAssignmentClass> <pyAssignmentHandle>ASSIGN-WORKBASKET MYCO-FW-HRFRAMEFW-WORK ONB-9!INTAKE_FLOW_0</pyAssignmentHandle> <pyFlowType>Intake_Flow_0</pyFlowType> <pyInstructions></pyInstructions> </pyAssignmentList><pyAssignmentList> <pyAssignedTo>default@pega.com</pyAssignedTo> <pyAssignmentClass>Assign-Internal</pyAssignmentClass> <pyAssignmentHandle>ASSIGN-INTERNAL MYCO-FW-HRFRAMEFW-WORK ONB-9!PZINTERNALCASEFLOW</pyAssignmentHandle> <pyFlowType>pzInternalCaseFlow</pyFlowType> <pyInstructions></pyInstructions> </pyAssignmentList> <pyCurrentUserHasOwnership>false</pyCurrentUserHasOwnership> <pyErrors> </pyErrors> <pyProcessState> <pyAssignmentHandle></pyAssignmentHandle> <pyFlowIdentifier></pyFlowIdentifier> </pyProcessState> <pyStatus>success</pyStatus> <pyWorkObjectHandle>MYCO-FW-HRFRAMEFW-WORK ONB-9</pyWorkObjectHandle> <pyWorkObjectStatus>New</pyWorkObjectStatus> </ProcessInfo> </ns1:CreateNewWorkResponse>


Data Integration
Moderation Team has archived post
Share this page LinkedIn