org.apache.axiom.om.OMException: SOAP message MUST NOT contain a Document Type Declaration(DTD)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via talendforge.org by Unknown author, 1 year ago
via rightnow.com by Unknown author, 1 year ago
via Stack Overflow by Mahesh Narayanan
, 1 year ago
via blogspot.it by Unknown author, 1 year ago
SOAP message MUST NOT contain a Document Type Declaration(DTD)
via blogspot.com by Unknown author, 1 year ago
SOAP message MUST NOT contain a Document Type Declaration(DTD)
via blogspot.com by Unknown author, 2 years ago
SOAP message MUST NOT contain a Document Type Declaration(DTD)
org.apache.axiom.om.OMException: SOAP message MUST NOT contain a Document Type Declaration(DTD)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createDTD(StAXSOAPModelBuilder.java:455)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:282)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:198)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.(StAXSOAPModelBuilder.java:154)
at org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:686)
at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:197)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:145)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:108)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at com.salesforce.soap.partner.SforceServiceStub.login(SforceServiceStub.java:10415)
at org.talend.salesforce.SforceManagementImpl.login(SforceManagementImpl.java:187)
at vr_phase_1.a_0_1.a.tSalesforceConnection_1Process(a.java:252)
at vr_phase_1.a_0_1.a.runJobInTOS(a.java:480)
at vr_phase_1.a_0_1.a.main(a.java:348)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.