Question

2
Replies
429
Views
Close popover
Greg Broch (brocg)
PEGA
Solutions Consultant – Corporate Markets
Pegasystems Inc.
US
brocg Member since 2015 3 posts
PEGA
Posted: June 10, 2016
Last activity: June 20, 2016
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::

<complexType name="CreateNewWorkResponseType">
<sequence>
<element name="svcOutput" type="nslt1:svcOutputType"/>

</sequence>

</complexType>

<complexType name="svcOutputType">
<sequence>
<element maxOccurs="unbounded" name="pyAssignmentList">
<complexType>
<sequence>
<element name="pyAssignedTo" type="xsd:string"/>

<element name="pyAssignmentClass" type="xsd:string"/>

<element name="pyAssignmentHandle" type="xsd:string"/>

<element name="pyFlowType" type="xsd:string"/>

<element name="pyInstructions" type="xsd:string"/>

</sequence>

</complexType>

</element>

<element name="pyCurrentUserHasOwnership" type="xsd:string"/>

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

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

<element name="pyPageName" type="xsd:string"/>

</sequence>

</complexType>

</element>

</sequence>

</complexType>

</element>

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

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

<element name="pyActionName" type="xsd:string"/>

<element name="pyActionType" type="xsd:string"/>

</sequence>

</complexType>

</element>

<element name="pyAssignmentHandle" type="xsd:string"/>

<element name="pyFlowIdentifier" type="xsd:string"/>

</sequence>

</complexType>

</element>

<element name="pyStatus" type="xsd:string"/>

<element name="pyWorkObjectHandle" type="xsd:string"/>

<element name="pyWorkObjectStatus" type="xsd:string"/>

</sequence>

</complexType>




<element name="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,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.