Webdav Service Call Created via Wsdl Generator Throwing Exception: "faultString: org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages" (Doc ID 1199243.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle WebCenter Content - Version 11.1.1.3.0 and later
Information in this document applies to any platform.

Symptoms

The Apache Axis sample code within WSDL Generator component is throwing the following exception:

faultString: org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Proces sing instructions are not allowed within SOAP messages at org.apache.axis.encoding.DeserializationContext.startDTD(Deserializat ionContext.java:1161) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.doctypeD ecl(AbstractSAXParser.java:334) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.doctypeDe cl(XMLDTDValidator.java:746) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.scanDo ctypeDecl(XMLDocumentScannerImpl.java:712) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$Prolog Driver.next(XMLDocumentScannerImpl.java:968) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X MLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next (XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp l.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X ML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X ML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser. java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab stractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p arse(SAXParserImpl.java:522) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) at org.apache.axis.encoding.DeserializationContext.parse(Deserialization Context.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnders tandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at docinfo.DocInfoSoap_BindingStub.docInfoByID(DocInfoSoap_BindingStub.j ava:235) at TestClient.callDocInfoByID(TestClient.java:206) at TestClient.main(TestClient.java:42) {http://xml.apache.org/axis/}hostname:sunder ; nested exception is: org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages

Changes

For 11g, the WebDAV string has changed.  It should be similar to:

http://<servername>:16200/_dav/cs/idcplg

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms