Hello, I wanted to use
document style webservices so I moved to Axis 1.2 (Final). I built a simple
webservice (RPC style) to see how Axis 1.2 works.. It did go well with Tomcat
4.1. I deployed the same war file in weblogic8.1 SP4. It was deployed
successfully but when I try to call from the client it was giving the following
error.
org.apache.axis.utils.XMLUtils - Failed to set EntityResolver to null on
DocumentBuilderjava.lang.NullPointerExceptionat
weblogic.xml.jaxp.ChainingEntityResolver.popEntityResolver(ChainingEntityResolver.java:61)at
weblogic.xml.jaxp.RegistryDocumentBuilder.setEntityResolver(RegistryDocumentBuilder.java:168)
I attached the detailed stack trace in the
attached txt file. I did following thing to resolve this but could not get
through this..
1. I kept the jar files saaj.jar,
xercesImpl.jar, xml-apis.jar, jax-rpc.jar in the weblogic classpath before
webservices.jar
Based on stack trace, apache.utils.XMLUtils
is probably sending some XML which is not being able to get through the weblogic
document builder.
If you guys have any idea please throw some
light on this..
Thanks for your time
Kiran
-
Ph: 312 742 9630
Email: [EMAIL PROTECTED]
This e-mail, and any attachments thereto, is confidential and is intended only for the individual(s) named. If you are not the intended recipient, please let us know by e-mail reply and delete it from your system; do not copy/save this e-mail or disclose its contents to anyone. E-mail transmissions cannot be guaranteed to be secure or error-free as the transmission could be interrupted, corrupted, lost, destroyed, altered, arrive late or contain viruses. ObjectWave does not accept liability for any errors or omissions in the contents of this e-mail which arise as a result of e-mail transmission. The views expressed in this e-mail do not necessarily reflect those of ObjectWave or its affiliates.
?xml version=1.0 encoding=UTF-8?soapenv:Envelope
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;soapenv:Bodyindividual
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;in0
xsi:type=xsd:string50 w washington st/in0in1 href=#id0/in2
href=#id1//individualmultiRef id=id0 soapenc:root=0
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
xsi:type=xsd:int
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;1/multiRefmultiRef
id=id1 soapenc:root=0
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
xsi:type=xsd:boolean
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;true/multiRef/soapenv:Body/soapenv:Envelope
2005-05-30 18:43:44,328 [DEBUG] org.apache.axis.transport.http.HTTPSender -
HTTP/1.1 500 Internal Server Error
2005-05-30 18:43:44,343 [DEBUG] org.apache.axis.transport.http.HTTPSender -
Date Mon, 30 May 2005 23:43:43 GMT
2005-05-30 18:43:44,343 [DEBUG] org.apache.axis.transport.http.HTTPSender -
Content-Type text/xml; charset=utf-8
2005-05-30 18:43:44,343 [DEBUG] org.apache.axis.transport.http.HTTPSender -
Connection Close
* HERE IS THE ERROR *
===
2005-05-30 18:43:44,343 [DEBUG] org.apache.axis.utils.XMLUtils - Failed to set
EntityResolver to null on DocumentBuilder
java.lang.NullPointerException
at
weblogic.xml.jaxp.ChainingEntityResolver.popEntityResolver(ChainingEntityResolver.java:61)
at
weblogic.xml.jaxp.RegistryDocumentBuilder.setEntityResolver(RegistryDocumentBuilder.java:168)
at
org.apache.axis.utils.XMLUtils.releaseDocumentBuilder(XMLUtils.java:252)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:342)
at
org.apache.axis.message.SOAPDocumentImpl.init(SOAPDocumentImpl.java:70)
at org.apache.axis.SOAPPart.init(SOAPPart.java:1013)
at org.apache.axis.Message.setup(Message.java:366)
at org.apache.axis.Message.init(Message.java:232)
at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:767)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
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.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at