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 "Karunanidhi, Meena" <Me...@permanenttsb.ie> on 2008/06/05 14:00:44 UTC

axis2-1.4, xmlbeans, mtom, weblogic

Hi all,

 

I developed a web service in java with axis2-1.4 (using xmlbeans, mtom)
and generated java code from eclipse plug-in. 

 

The service deployed successfully onto Weblogic 8.1, BUT when it is
invoked throws the following exception on server side:

(I did deploy the same service on axis2server BUT NO Error- It works
perfect.) Error is only on Weblogic -8.1

 

[ERROR] 

java.lang.NullPointerException

      at
org.apache.axis2.engine.AbstractDispatcher.invoke(AbstractDispatcher.jav
a:122)

      at org.apache.axis2.engine.Phase.invoke(Phase.java:317)

      at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)

      at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)

      at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReques
t(HTTPTransportUtils.java:275)

      at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

      at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:1077)

      at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

      at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:348)

      at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:7047)

      at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

      at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

      at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3902)

      at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2773)

      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

 

Error on the client side:

[java] org.apache.axis2.AxisFault: java.lang.NullPointerException

 [java]     at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java
:512)

 [java]     at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(Out
InAxisOperation.java:370)

 [java]     at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:416)

 [java]     at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
xisOperation.java:228)

 [java]     at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
)

 [java]     at
mymtomns.SendAppAttServiceStub.sendData(SendAppAttServiceStub.java:169)

 [java]     at mymtomns.SendAppAttClient.main(SendAppAttClient.java:60)

 

Any suggestions or feedback would be much appreciated.

Thanks

Meena


--

This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such  person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. 

If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. 

Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof.

permanent tsb is a trading name of Irish Life & Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc.

Irish Life & Permanent plc is a limited liability company registered in Dublin under No. 222332. The company's registered office is: Irish Life Centre, Lower Abbey Street, Dublin 1.


==============================================================================

Re: axis2-1.4, xmlbeans, mtom, weblogic

Posted by robert lazarski <ro...@gmail.com>.
On Thu, Jun 5, 2008 at 9:00 AM, Karunanidhi, Meena
<Me...@permanenttsb.ie> wrote:
> I developed a web service in java with axis2-1.4 (using xmlbeans, mtom)  and
> generated java code from eclipse plug-in.

xmlbeans in axis2 doesn't support mtom.

> This is a confidential communication and is intended only for the addressee
> indicated in the message (or duly authorised to be responsible for the
> delivery of the message to such  person). You are specifically prohibited
> from copying this message or delivering the same, or any part thereof, to
> any other person, whomsoever or howsoever, unless you receive written
> authorisation from us to do.
>
<snip>

Don't post confidential emails to a public list.

Robert

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