AnsweredAssumed Answered

MS Dynamics AX Connectivity issue

Question asked by narendra.g357087 on Mar 19, 2018
Latest reply on Mar 28, 2018 by narendra.g357087

We have an issue connecting AX 2012 using standard connector. Here are the steps performed..

 

1. Enabled Inbound port with 3 operations as per Boomi documentation (Setting up webservices for the Microsoft Dynamics AX connector

2. Install ATOM on the AX server.

3. Created a new connection and connection operation (via Import) which automatically generated the Request and Response XML profiles. During import we can see the 3 operations of the service (svc) and can choose the one we require.

  1. Attempt# 1: We created a simple process to see whether data is being rendered and end up in no documents returned message.
  2. Attempt# 2: Created a map with the XML profiles (created above) as source and destination and tried to execute and end up in the below error.

com.boomi.webservices.WebServiceException: Error invoking soap operation
at com.boomi.webservices.DocumentExecutor.execute(DocumentExecutor.java:196)
at com.boomi.connector.ws.WSExecuteOperation.executeUpdate(WSExecuteOperation.java:112)
at com.boomi.connector.ws.WSExecuteOperation.executeUpdate(WSExecuteOperation.java:56)
at com.boomi.connector.util.BaseUpdateOperation.execute(BaseUpdateOperation.java:35)
at com.boomi.connector.generic.GenericConnectorAction.invoke(GenericConnectorAction.java:170)
at com.boomi.connector.base.BaseConnectorAction.invokeBase(BaseConnectorAction.java:363)
at com.boomi.connector.base.BaseConnectorAction.invokeWithReadStore(BaseConnectorAction.java:302)
at com.boomi.connector.base.BaseConnectorAction.invoke(BaseConnectorAction.java:274)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.boomi.util.ClassUtil$InvokerWithClassLoader.invoke(ClassUtil.java:369)
at com.sun.proxy.$Proxy32.invoke(Unknown Source)
at com.boomi.process.shape.ConnectorShapeHandler.execute(ConnectorShapeHandler.java:152)
at com.boomi.process.shape.ConnectorShape.execute(ConnectorShape.java:143)
at com.boomi.process.graph.ProcessShape.executeShape(ProcessShape.java:558)
at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:488)
at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:572)
at com.boomi.process.graph.ProcessGraph.execute(ProcessGraph.java:307)
at com.boomi.process.ProcessExecution.call(ProcessExecution.java:811)
at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:935)
at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:61)
at com.boomi.util.concurrent.CancellableFutureTask.run(CancellableFutureTask.java:160)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.xml.ws.WebServiceException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
at com.sun.xml.ws.message.saaj.SAAJMessage.access(SAAJMessage.java:165)
at com.sun.xml.ws.message.saaj.SAAJMessage.parse(SAAJMessage.java:128)
at com.sun.xml.ws.message.saaj.SAAJMessage.getAttachments(SAAJMessage.java:185)
at com.sun.xml.ws.encoding.SOAPBindingCodec.getEncoder(SOAPBindingCodec.java:431)
at com.sun.xml.ws.encoding.SOAPBindingCodec.getStaticContentType(SOAPBindingCodec.java:253)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:115)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:94)
at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:116)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
at com.sun.xml.ws.client.Stub.process(Stub.java:222)
at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:180)
at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206)
at com.boomi.webservices.DocumentExecutor.execute(DocumentExecutor.java:189)
... 26 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:148)
at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:102)
at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:156)
at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1287)
at com.sun.xml.ws.message.saaj.SAAJMessage.access(SAAJMessage.java:150)
... 41 more
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform(EfficientStreamingTransformer.java:423)
at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:136)
... 45 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(Unknown Source)
... 49 more

 

Definitely sounds like the service issue, any help is highly appreciated.

Outcomes