axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luane <l-sw...@hotmail.com>
Subject Processing instructions are not allowed within SOAP messages
Date Mon, 15 Aug 2011 11:29:37 GMT

Hi there,

Im trying to login with username and password to a webService url but i get
this:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 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:
Processing instructions are not allowed within SOAP messages
        at
org.apache.axis.encoding.DeserializationContext.startDTD(DeserializationContext.java:1161)
        at org.apache.xerces.parsers.SAXParser.startDTD(SAXParser.java:911)
        at
org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1120)
        at
org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2201)
        at
org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2156)
        at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:887)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
        at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.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(MustUnderstandChecker.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
za.co.vine.webServiceHandler.com.sforce.soap.enterprise.SoapBindingStub.login(SoapBindingStub.java:3379)
        at
za.co.vine.webServiceHandler.WSDLInterfaceSoapSender.doLogin(WSDLInterfaceSoapSender.java:217)
        at
za.co.vine.webServiceHandler.WSDLInterfaceSoapSender.&lt;init&gt;(WSDLInterfaceSoapSender.java:63)
        at
za.co.vine.webServiceHandler.BaseMessageCollector.initialise(BaseMessageCollector.java:89)
        at
za.co.vine.webServiceHandler.BaseMessageCollector.&lt;init&gt;(BaseMessageCollector.java:64)
        at
za.co.vine.webServiceHandler.MessageCollector.&lt;init&gt;(MessageCollector.java:43)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at
za.co.vine.classMapper.VineComponent.setClassName(VineComponent.java:68)
        at
za.co.vine.classMapper.VineComponent.setClassName(VineComponent.java:57)
        at
za.co.vine.distributionEngine.SynchronousCollector.configure(SynchronousCollector.java:37)
        at
za.co.vine.distributionEngine.CollectorIF.reconfigure(CollectorIF.java:121)
        at
za.co.vine.distributionEngine.CollectorIF.initialise(CollectorIF.java:77)
        at
za.co.vine.distributionEngine.CollectionHandler.reconfigure(CollectionHandler.java:137)
        at
za.co.vine.distributionEngine.CollectionHandler.initialise(CollectionHandler.java:48)
        at
za.co.vine.distributionEngine.CollectionHandlerStartup.start(CollectionHandlerStartup.java:25)
        at
za.co.vine.distributionEngine.CollectionHandlerStartup.main(CollectionHandlerStartup.java:41)

Any idea?

Thanks,
Luane

-- 
View this message in context: http://old.nabble.com/Processing-instructions-are-not-allowed-within-SOAP-messages-tp32263762p32263762.html
Sent from the Axis - Dev mailing list archive at Nabble.com.


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


Mime
View raw message