sap adapter error in receiving idoc in webmethods

Hi

Can you please suggest on this error. While receiving Idoc into sap adapter we found below error

Sender:
Receiver:
Direction:Outbound
DocumentId:n/a
BizdocId:n/a
DocType:n/a
DocumentStd:IDOC
UserId:Administrator
HostName:wmis01.bectondickinson.com
CallingSrv:BDGXS.ReceiveServices:receiveSAPIDOCS
Service:pub.sap.idoc:decode
=======================================
BriefMsg:SAP Adapter Error in receiving IDoc
DetailMsg:
com.wm.lang.xml.WMDocumentException: [ISC.0042.9327] Expecting got =======================================
UserStatus:ERROR
Change
UserStatus:FALSE

====================================
org.w3c.dom.DOMException: com.wm.lang.xml.WMDocumentException: [ISC.0042.9327] Expecting got
at com.wm.lang.xml.Document.completeLoadDOM(Document.java:874)
at com.wm.lang.xml.Node.getFirstChild(Node.java:1330)
at com.wm.adapter.sap.mime.Node.getFirstChild(Node.java:83)
at com.wm.adapter.sap.mime.CoderBase.getChildrenByName(CoderBase.java:680)
at com.wm.adapter.sap.idoc.IDocCoder.decodeDocument(IDocCoder.java:118)
at com.wm.adapter.sap.mime.CoderBase.decode(CoderBase.java:87)
at com.wm.util.coder.Coder.decodeFromBytes(Coder.java:105)
at com.wm.adapter.sap.service.ALE.decode(ALE.java:153)
at sun.reflect.GeneratedMethodAccessor614.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Please check and let me know if you have any idea on this.

Regards,
Naresh

The answer is already in your question.
step::pub.sap.idoc:decode
in
CallingSrv:BDGXS.ReceiveServices:receiveSAPIDOCS

org.w3c.dom.DOMException: com.wm.lang.xml.WMDocumentException: [ISC.0042.9327] Expecting got
at com.wm.lang.xml.Document.completeLoadDOM(Document.java:874)
at com.wm.lang.xml.Node.getFirstChild(Node.java:1330)
at com.wm.adapter.sap.mime.Node.getFirstChild(Node.java:83)
at com.wm.adapter.sap.mime.CoderBase.getChildrenByName(CoderBase.java:680)
at com.wm.adapter.sap.idoc.IDocCoder.decodeDocument(IDocCoder.java:11
at com.wm.adapter.sap.mime.CoderBase.decode(CoderBase.java:87)
at com.wm.util.coder.Coder.decodeFromBytes(Coder.java:105)
at com.wm.adapter.sap.service.ALE.decode(ALE.java:153)
at sun.reflect.GeneratedMethodAccessor614.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:49

I suspect you’re trying to decode the idocstring using particular idoc format.
It’s expecting https://www.se80.co.uk/saptables/e/e1tx/e1txth8.htm
but found https://www.se80.co.uk/saptables/e/e1ed/e1edl25.htm.

Please check the content of the idoc received.