You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Appasamy Thirugnana <at...@sapient.com> on 2008/03/25 04:11:49 UTC
AxisFault: SOAP message MUST NOT contain a Document Type Declaration(DTD)
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
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: AxisFault: SOAP message MUST NOT contain a Document Type Declaration(DTD)
Posted by Appasamy Thirugnana <at...@sapient.com>.
Hi Manes,
can you please tell me How can i block this DTD
THanks
Appu
-----Original Message-----
From: Anne Thomas Manes [mailto:atmanes@gmail.com]
Sent: Wednesday, March 26, 2008 16:47
To: axis-user@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
<at...@sapient.com> wrote:
>
>
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: AxisFault: SOAP message MUST NOT contain a Document Type Declaration(DTD)
Posted by Anne Thomas Manes <at...@gmail.com>.
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
<at...@sapient.com> wrote:
>
>
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: AxisFault: SOAP message MUST NOT contain a Document Type Declaration(DTD)
Posted by Upul Godage <up...@gmail.com>.
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 <
athirugnana@sapient.com> wrote:
>
>
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>