Ruben, The patch definitely helped the server side. I also had to add the new xerces.jar to the client side as well. At least I'm talking to the server. I'm getting some ClassNotFoundException so I'll look into it. Thanks a lot for you help..
Darrell -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 9:22 AM To: [EMAIL PROTECTED] Subject: Antwort: Apache Sample for WebLogic EJB It doesn't look exactly as the same problem I had (at least in client side), but there is a bug in Weblogic 6.1 (sp1) working with SOAP 2.2. To avoid the NullPointerException in the server, place the .jar attached at the beginnig of the classpath in startWeblogic.cmd... Ruben (See attached file: patchCR058220.jar) Darrell Fuller <[EMAIL PROTECTED]> on 12/07/2001 04:17:36 PM Bitte antworten an [EMAIL PROTECTED] An: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Kopie: Thema: Apache Sample for WebLogic EJB I've been trying to get the EJB WebLogic sample to work and keep getting an exception on the response envelope. I'm using BEA WebLogic 6.1 SOAP 2.2 Xerces 1.4.4 I've placed the xerces.jar at the beginning of the class path in the startWebLogic.cmd. Any help would be appreciated.. Admin Deployment Options ID : urn:ejbhello Scope : Application User-Defined Provider Type : org.apache.soap.providers.StatefulEJBProvider Provider Class : Use Static Class : false Methods : create The Params I put in were option key="FullHomeInterfaceName" value="samples.HelloServiceHome" option key="ContextProviderURL" value="t3://localhost:7001" option key="FullContextFactoryName" value="weblogic.jndi.WLInitialContextFactory" option key="JNDIName" value="samples.HelloService" The Client returns Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=A 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a: 'faultcode' element.; targetException=java.lang.IllegalArgumentException: A 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a: 'faultcode' element. ] at org.apache.soap.rpc.Call.invoke(Call.java:246) at weblogic.test.ejbtest.main(ejbtest2.java:121) The Server returns <Dec 7, 2001 8:34:09 AM CST> <Error> <HTTP> <[WebAppServletContext(3314139,soap, /soap)] Servlet failed with ServletException javax.servlet.ServletException: Error building response envelope: java.lang.NullPointerException at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35 3) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :265) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :200) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo ntext.java:2456) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java :2039) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) >java.lang.NullPointerException at weblogic.servlet.internal.ChunkOutput.clearBuffer(ChunkOutput.java:231) java.lang.NullPointerException at weblogic.servlet.internal.ChunkOutput.clearBuffer(ChunkOutput.java:231) at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:251) at weblogic.servlet.internal.ChunkOutputWrapper.flush(ChunkOutputWrapper.java:1 52) at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamI mpl.java:119) at org.apache.soap.transport.TransportMessage.writeTo(TransportMessage.java:462 ) at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:34 7) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :265) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :200) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo ntext.java:2456) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java :2039) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)