You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by ni...@wipro.com on 2004/06/27 17:08:04 UTC

Regarding axis1_1 compatibility with weblogic

Hi All,
 
I have developed a simple axis client application which invokes mappoint webservice. This client works fine when run stand alone. It even works fine with tomcat. however when I deploy it on weblogic and invoke it through a jsp it throws the following exception. Does anyone has a clue about it. WebLogic claims to be having JAXP1.1 compatibility.
 
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: org.xml.sax.SAXParseException: The root element is required in a w
ell-formed document.
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXParseException:
The root element is required in a well-formed document.
        at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java
:1292)
        at weblogic.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLErr
or(XMLDocumentScanner.java:595)
        at weblogic.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher
.endOfInput(XMLDocumentScanner.java:815)
        at weblogic.apache.xerces.framework.XMLDocumentScanner.endOfInput(XMLDoc
umentScanner.java:436)
        at weblogic.apache.xerces.validators.common.XMLValidator.sendEndOfInputN
otifications(XMLValidator.java:730)
        at weblogic.apache.xerces.readers.DefaultEntityHandler.changeReaders(Def
aultEntityHandler.java:1045)
        at weblogic.apache.xerces.readers.XMLEntityReader.changeReaders(XMLEntit
yReader.java:168)
        at weblogic.apache.xerces.readers.UTF8Reader.changeReaders(UTF8Reader.ja
va:182)
        at weblogic.apache.xerces.readers.UTF8Reader.lookingAtChar(UTF8Reader.ja
va:197)
        at weblogic.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher
.dispatch(XMLDocumentScanner.java:711)
        at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
mentScanner.java:399)
        at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1138)
        at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
        at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:133)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:357)
        at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
tionContextImpl.java:242)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at net.mappoint.s.mappoint_30.FindServiceSoapStub.findAddress(FindServic
eSoapStub.java:1110)
 
Cheers,
Nishit
 

	-----Original Message----- 
	From: W.J.Huang [mailto:huang@TI.Uni-Trier.DE] 
	Sent: Sun 6/27/2004 8:24 PM 
	To: axis-user@ws.apache.org 
	Cc: 
	Subject: Question to invoke and deploy CORBA services with Axis
	
	
	
	
	Dear all,
	 
	Now i try to integrate Axis with CORBA (openORB). So i want to know, how to write the WSDD configuration file to deploy CORBA service? And how to write a client application with Axis to invoke these deployed CORBA service? In Axis there is a class called org.apache.axis.providers.java.CORBAProvider, but i don't know how to make it work for CORBA. Really thanks for your any answers!
	 
	

	Regards,
	 
	Wanjun Huang