none
PeopleSoft adapter - Not getting error in the response instead in eventlog RRS feed

  • Question

  • Hi,

    We are trying to integrate with PeopleSoft using the BizTalk PeopleSoft Enterprise adapter and I can able to connect to the system and make requests.

    For example I can connect and create a timesheet and getting a response with the time sheet id and other details. But if any error happens at PeopleSoft like validation error then its not coming in Response instead appearing in Event log. PFB for ref,

    Error:

    Event log source name: Microsoft Biztalk Adapters for Enterprise Applications

    Error transmitting message: <SOAP-ENV:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP-ENV:Server</faultcode><faultstring>Request ID: Unknown

    Exception Type: User defined exception

    Exception Info:

        Exception occurred:

                Cause: PeopleSoft://CI/exception=ComponentIntfcException (Unique ID &lt;none&gt;)

            Exception data:

                struct CIExceptionData =

                    Signed32 Type = 1

                    Signed32 Code = -1

                    WideString ErrorText = "You have already created a Time Report for this Period (10502,125)"

                    WideString ExplainText = ""

                    WideString Source = ""

                    WideString API = "TE_TIME_ENTRY_WO::Save"</faultstring><detail><CI:ComponentIntfcException xmlns:CI="http://schemas.microsoft.com/CI"><CI:Type>1</CI:Type><CI:Code>-1</CI:Code><CI:ErrorText>You have already created a Time Report for this Period (10502,125)</CI:ErrorText><CI:ExplainText xsi_2001:nil="1" xmlns:xsi_2001="http://www.w3.org/2001/XMLSchema-instance" /><CI:Source xsi_2001:nil="1" xmlns:xsi_2001="http://www.w3.org/2001/XMLSchema-instance" /><CI:API>TE_TIME_ENTRY_WO::Save</CI:API></CI:ComponentIntfcException></detail></SOAP-ENV:Fault>

    (The above same error coming thrice everytime in different format. The above is the detailed one amongst them)

    Hence we cannot forward those errors to the front end and its a show stopper for us. Pls help me whether anything needs to be done at BizTalk side/any changes in the data required OR any thing needs to be changed at PeopleSoft side.

    Thanks in advance,


    Regards,
    Elango
    Chennai.
    Mark As Answer or Vote As Helpful if My Reply Does.

    Monday, December 1, 2014 11:52 AM

Answers

  • You are getting customized error as a SOAP Fault from PeopleSoft application. 
    Regarding 3 responses, your send port might have retry count = 3 set in your send port. Hence you are getting 3 faults on each request you are making. 

    Now coming to the actual issue, when something goes wrong and you got fault message response, you need to deal with it. Means your orchestration send port will have "Response" and "Fault" response and you will deal with these messages respectively. You need to assign MessageTypes for Response and Fault accordingly.

    If you have done all above and still getting an error, check this hotfix 978156 which is applicable in case of 2k6R2 and 2009 biztalk versions and happens while dealing with cross object conversion (datetime)

    If this answers your question please mark it as Answer and if this post is helpful, please vote as helpful. Thanks !

    • Marked as answer by Angie Xu Monday, December 8, 2014 1:23 AM
    Friday, December 5, 2014 2:41 AM

All replies

  • Sorry for the late reply ,it happens because error data contract or signature is different from the successful response message coming from  PeopleSoft . So You may need a changes in the PeopleSoft  so as to send the error message within the signature of successful response message so that BizTalk can easily parse the message.

    Or you can have a custom receive pipeline component which can read the fault message and parse it to your Orchestration.

    Wednesday, December 3, 2014 3:51 AM
  • You are getting customized error as a SOAP Fault from PeopleSoft application. 
    Regarding 3 responses, your send port might have retry count = 3 set in your send port. Hence you are getting 3 faults on each request you are making. 

    Now coming to the actual issue, when something goes wrong and you got fault message response, you need to deal with it. Means your orchestration send port will have "Response" and "Fault" response and you will deal with these messages respectively. You need to assign MessageTypes for Response and Fault accordingly.

    If you have done all above and still getting an error, check this hotfix 978156 which is applicable in case of 2k6R2 and 2009 biztalk versions and happens while dealing with cross object conversion (datetime)

    If this answers your question please mark it as Answer and if this post is helpful, please vote as helpful. Thanks !

    • Marked as answer by Angie Xu Monday, December 8, 2014 1:23 AM
    Friday, December 5, 2014 2:41 AM