Dear Members,
Im facing some issues while trying to attach any file using mantis 1.1.4 through web service. But the same works fine in mantis 1.1.2.
Following is the error im facing:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelop ... rException
faultSubcode:
faultString: org.xml.sax.SAXParseException: The XML declaration may only appear at the very beginning of the document.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: ... eException: The XML declaration may only appear at the very beginning of the document.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196)
at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:570)
at org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumentScanner.java:624)
at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:810)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:695)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:806)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invokeTransport(AxisClient.java:150)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:289)
at org.apache.axis.client.Call.invokeEngine(Call.java:2896)
at org.apache.axis.client.Call.invoke(Call.java:2882)
at org.apache.axis.client.Call.invoke(Call.java:2559)
at org.apache.axis.client.Call.invoke(Call.java:2482)
at org.apache.axis.client.Call.invoke(Call.java:1867)
at org.mantisbt.connect.axis.MantisConnectBindingStub.mc_issue_add(MantisConnectBindingStub.java:1777)
at javasamples.bts.IssueSubmitter.main(IssueSubmitter.java:68)
Regards,
Prabhu.
problem in file attachment using mantis 1.1.4 through web se
Moderators: Developer, Contributor
-
prabhurangan
- Posts: 20
- Joined: 23 Aug 2008, 09:19