Discussion:
AxisFault: SOAP message MUST NOT contain a Document Type Declaration(DTD)
Appasamy Thirugnana
2008-03-25 03:11:49 UTC
Permalink
Pl help me out to find when this error will occur adn whats the
solution, In axis2/Java i am getting this error


2008-03-25 12:20:26,887:ERROR[SysLog ]:2008.03.25.12.20.26:887 E [2060
] org.apache.axis2.AxisFault: SOAP message MUST NOT contain a Document
Type Declaration(DTD)
org.apache.axis2.AxisFault: SOAP message MUST NOT contain a Document
Type Declaration(DTD)
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti
ls.java:89)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(Out
InAxisOperation.java:326)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:389)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
xisOperation.java:211)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
)



Thanks
Appu
Anne Thomas Manes
2008-03-26 11:16:56 UTC
Permalink
It's pretty simple -- don't include a DTD in your SOAP message.

Anne

On Mon, Mar 24, 2008 at 11:11 PM, Appasamy Thirugnana
Post by Appasamy Thirugnana
Pl help me out to find when this error will occur adn whats the
solution, In axis2/Java i am getting this error
2008-03-25 12:20:26,887:ERROR[SysLog ]:2008.03.25.12.20.26:887 E [2060
] org.apache.axis2.AxisFault: SOAP message MUST NOT contain a Document
Type Declaration(DTD)
org.apache.axis2.AxisFault: SOAP message MUST NOT contain a Document
Type Declaration(DTD)
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti
ls.java:89)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(Out
InAxisOperation.java:326)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:389)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
xisOperation.java:211)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
)
Thanks
Appu
---------------------------------------------------------------------
Appasamy Thirugnana
2008-03-26 11:20:11 UTC
Permalink
Hi Manes,

can you please tell me How can i block this DTD


THanks
Appu


-----Original Message-----
From: Anne Thomas Manes [mailto:***@gmail.com]
Sent: Wednesday, March 26, 2008 16:47
To: axis-***@ws.apache.org
Subject: Re: AxisFault: SOAP message MUST NOT contain a Document Type
Declaration(DTD)

It's pretty simple -- don't include a DTD in your SOAP message.

Anne

On Mon, Mar 24, 2008 at 11:11 PM, Appasamy Thirugnana
Post by Appasamy Thirugnana
Pl help me out to find when this error will occur adn whats the
solution, In axis2/Java i am getting this error
2008-03-25 12:20:26,887:ERROR[SysLog ]:2008.03.25.12.20.26:887 E [2060
] org.apache.axis2.AxisFault: SOAP message MUST NOT contain a
Document
Post by Appasamy Thirugnana
Type Declaration(DTD)
org.apache.axis2.AxisFault: SOAP message MUST NOT contain a Document
Type Declaration(DTD)
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti
Post by Appasamy Thirugnana
ls.java:89)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(Out
Post by Appasamy Thirugnana
InAxisOperation.java:326)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
Post by Appasamy Thirugnana
ation.java:389)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
Post by Appasamy Thirugnana
xisOperation.java:211)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
Post by Appasamy Thirugnana
)
Thanks
Appu
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-***@ws.apache.org
For additional commands, e-mail: axis-user-***@ws.apache.org
Upul Godage
2008-03-26 11:46:04 UTC
Permalink
Hi,

Most proabably the Web service endpoint adress you are using does not
contain a Web service and a web server is sending an HTML page. Check
whether the endpoint address is correct.

Upul


On Tue, Mar 25, 2008 at 8:41 AM, Appasamy Thirugnana <
Post by Appasamy Thirugnana
Pl help me out to find when this error will occur adn whats the
solution, In axis2/Java i am getting this error
2008-03-25 12:20:26,887:ERROR[SysLog ]:2008.03.25.12.20.26:887 E [2060
] org.apache.axis2.AxisFault: SOAP message MUST NOT contain a Document
Type Declaration(DTD)
org.apache.axis2.AxisFault: SOAP message MUST NOT contain a Document
Type Declaration(DTD)
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti
ls.java:89)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(Out
InAxisOperation.java:326)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:389)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
xisOperation.java:211)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
)
Thanks
Appu
---------------------------------------------------------------------
Loading...