โ09-29-2020 12:35 PM
Hi Everyone,
In SOAP UI/ Workday Studioโs SOAP response, we usually get Web Service(WS) error xpath which tell us the node/XML xpath cause webservice error. This xpath allow developer to understand which section of WS request cause the error.
Example of SOAP response having error:
wd:Validation_Error
wd:MessageInvalid ID value. โBUSINESS ASSEโ is not a valid ID value for type = โLocation_Usage_IDโ</wd:Message>
wd:Detail_MessageInvalid ID value. โBUSINESS ASSEโ is not a valid ID value for type = โLocation_Usage_IDโ</wd:Detail_Message>
wd:Xpath/wd:Put_Location_Request[1]/wd:Location_Data[1]/wd:Location_Usage_Reference[1]</wd:Xpath>
</wd:Validation_Error>
Similarly, I am looking for specific node which cause any webservice error when Snaplogicโs Workday Write snap execute. Unfortunately, current Workday write does not give such node details in SOAP request that causes WS error.
Getting such JSON node or Xpath location will help my business scenarios which needs to identify specific address section that causes WS error for Put_Student_Application. Under this web service, Workday allows us to add different types addresses related to student including friend and family (like, mailing, permanent, parent address etc.).
Below is error message of Workday Write:
From above error message, we are able to get error description and suggested resolution but it does not give any information regarding which address section (either personal mailing, permanent, parent address etc) cause said WS error.
Kindly advice if anybody came across such scenario and how we can handle such cases.
Regards,
Sandeep Meitei
โ10-14-2020 02:23 AM
Hi All,
I have create a support case with Snaplogic to include xpath details under Workday read response message for errored ones. Snaplogic team informed that they will try to include said features in future update release.
Regards,
M Sandeep Meitei
โ09-30-2022 04:45 AM
Hey Sandeep,
The Workday Write response still does not have the Detail Entry like SOAP execute. Did you get any more reverts from workday? How did you manage to get this to work for you?
โ09-30-2022 05:13 AM
Hi Gautam,
We end up using โSOAP Executeโ snap where will see xpath response message - reason.