Getting 500 Internal server error while consuming endpoint

Options

Hi Team,

We are consuming the below endpoint which is recently converted in HTTPS.
https://messaging.easylink.com/soap/sync
Source IP: 148.173.200.38
While consuming the end point we are getting 500 Internal Server error.
We need your help to troubleshoot the exact cause of the issue and we can also connect over Webex to do the same together.
Looking for hear back from you soon.

Thanks,
Avinaba Srimany

Tagged:

Answers

  • Prabhakr_2018
    Options

    Hi

    Please share us the the API Response which you have got. What is the exact error that is causing the failure?

    Prabhakaran R
    OpenText

  • ASrimany
    Options

    Hi Prabhakaran,

    Attached is the API response and below is the error we are receiving.

    <ApplicationData>
    <TraceData>
    <DataItem>
    <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Warning">
    <TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier>
    <Description>Throwing an exception.</Description>
    <AppDomain>/LM/W3SVC/1/ROOT/FaxForwardSvc-1-133643029853782042</AppDomain>
    <Exception>
    <ExceptionType>System.ServiceModel.FaultException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
    <Message>Error in parsing</Message>
    <StackTrace>
    at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
    at Amex.Imaging.FaxForward.Business.JobSubmit.JobSubmitPortType.JobSubmit(JobSubmitRequest1 request)
    at Amex.Imaging.FaxForward.Business.FaxForwardBiz.SendFax(String strRequestXML)
    at Amex.Imaging.FaxForward.Service.FaxService.SendFax(String strRequestXML)
    at SyncInvokeSendFax(Object , Object[] , Object[] )
    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp; outputs)
    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
    at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)
    at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext)
    at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result)
    at System.Runtime.ActionItem.DefaultActionItem.TraceAndInvoke()
    at System.Runtime.ActionItem.CallbackHelper.InvokeWithoutContext(Object state)
    at System.Runtime.IOThreadScheduler.ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
    at System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)
    at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
    </StackTrace>
    <ExceptionString>System.ServiceModel.FaultException: Error in parsing</ExceptionString>
    </Exception>
    </TraceRecord>
    </DataItem>
    </TraceData>
    </ApplicationData>

    Please let me know if you need anything else.

    Thanks,

    Avinaba Srimany

  • Prabhakr_2018
    Options

    We could see the application have written a wrapper around SOAP JobSubmit .

    The error "Error in parsing" will come when there is a malformed XML Request.

    Please check whether XML Request is properly framed as per the below schema.

    https://apiforums.easylink.com/emapidocs/26/JobSubmit/JobSubmitRequest.html

    Prabhakaran R
    OpenText

  • ASrimany
    Options

    Hi Prabhakaran,

    We are still consuming the HTTP version of the same endpoint and made the modification just for network layer to consume the HTTPS endpoint. The request XML is exact same for both the request.
    We are looking for the exact reason of the issue ERROR IN PARSING.
    If required, we can also have a meeting to go through together with live request.

    Also,
    1. Could you please share the certificate with us for this endpoint.
    2. Could you please confirm if you are getting the request from our end.

    Thanks,
    Avinaba Srimany

  • Prabhakr_2018
    Options

    Hi Avinaba.

    Here Application have written a wrapper around our SOAP Request. Our XOA SOAP request never starts with

    <ApplicationData>

    Amex application was calling the SOAP Request at the below line.

    at Amex.Imaging.FaxForward.Business.JobSubmit.JobSubmitPortType.JobSubmit(JobSubmitRequest1 request)

    We need this JobSubmitRequest to analyze further.

    This is the SOAP Request which we are asking for, It Usually starts with <JobSubmitRequest> tag.

    For the below queries

    Also,
    1. Could you please share the certificate with us for this endpoint

    » Please raise a support request, our Support team will be helping in getting the certificate.

    2. Could you please confirm if you are getting the request from our end.

    » We need the at least the UserId to track the request,

    Please raise a ticket to the support team with above needed information.

    Prabhakaran R
    OpenText

  • ASrimany
    Options

    Hi,

    Could you please provide the contact for raising a support ticket ?

    Thanks,
    Avinaba Srimany

  • Prabhakr_2018
    Options

    Please raise ticket by emailing to f2msupport@opentext.com. Please Provide some description of your jobs, your payload, UserId,the time at which the error occurs in the email.

    Prabhakaran R
    OpenText