Unfortunately, you removed the most relevant part from the stack
trace, namely the part that would explain how a request to
listServices results in a SOAP call to another service. Therefore we
won't be able to help you with this issue.

Andreas

On Sat, Apr 23, 2011 at 03:14, Shyameni Wijekoon <shyame...@gmail.com> wrote:
> Hi all,
>
> I am working with axis2-1.7.0, rampart-1.7.0 and tomcat-6.0.24. I get the
> following exception when going to /axis2/services/listServices and it
> displays "Internal Server Error". Please help with this issue.
>
> [INFO] OMException in getSOAPBuilder
> 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:460)
>         at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:283)
>         at
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:199)
>         at
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:155)
>         at
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:141)
>         at
> org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:690)
>         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.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
>         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
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
>         at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
>         ...
> --
> Thanks and Regards,
> Shyameni Wijekoon.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to