axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shyameni Wijekoon <shyame...@gmail.com>
Subject OMException in getSOAPBuilder
Date Sat, 23 Apr 2011 01:14:43 GMT
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.

Mime
View raw message