You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Asankha C. Perera (JIRA)" <ji...@apache.org> on 2006/10/12 10:24:37 UTC

[jira] Assigned: (AXIS2-1349) RPCMessageReceiver misbehaviour

     [ http://issues.apache.org/jira/browse/AXIS2-1349?page=all ]

Asankha C. Perera reassigned AXIS2-1349:
----------------------------------------

    Assignee: Deepal Jayasinghe

As per ruwans request

> RPCMessageReceiver misbehaviour
> -------------------------------
>
>                 Key: AXIS2-1349
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1349
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: rpc
>    Affects Versions: 1.1
>            Reporter: Ruwan Linton
>         Assigned To: Deepal Jayasinghe
>
> I have writen a void setName operation and engaged the RPCMessageReceiver in the services.xml
> When I tried to invoke this method using fireAndForget it worked but when I tried to do sendRecieve Axis2 engine gave me an AxisFault
> org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method setName
> 	at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
> 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:569)
> 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:500)
> 	at org.apache.axis2.messageReciever.test.client.Axis2TestathonClient.main(Axis2TestathonClient.java:38)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> This is because a npe is occured in the RPCMessageReceiver because it is trying to get some parameters from the outaxisMessage without checking weather it is null or not.
> I think Axis engine should not fail at this point.
> <<Code from the RPCMessageReceiver
>      
> L: 130           // Handling the response
> L: 131           AxisMessage outaxisMessage = op.getMessage(WSDLConstants.MESSAGE_LABEL_OUT_VALUE);
> L: 132           if (inAxisMessage != null) {
> L: 134               messageNameSpace = outaxisMessage.getElementQName().getNamespaceURI();
> L: 135           }
> >>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Problems in weblogic 8.1 and axis 2

Posted by "Reddy, Sanket (US - Hyderabad)" <sa...@deloitte.com>.
Hi Guys 

I created a simple Hello world application using spring-ws. I could
deploy that in tomcat but when it comes to
Weblogic 8.1 -->I added this weblogic.xml file in WEB-INF/ 

<!DOCTYPE weblogic-web-app PUBLIC "-//BEA
Systems, Inc.//DTD Web Application 7.0//EN"
"http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd">
<weblogic-web-app>
	<container-descriptor>
		<prefer-web-inf-classes>true</prefer-web-inf-classes>
	</container-descriptor>
</weblogic-web-app>


But I could deploy the web service but when I try to access this using
this url I get a internal error and when I see the log I see this
error...
http://10.8.2.177:7001/axis2/services/HelloWorld?wsdl


It shows in this
page(http://10.8.2.177:7001/axis2/services/listServices) that helloWorld
is deployed. 

Can u please help me out guys or point to a link which could help me. I
am struglling from past 4 days.

Error
 
<Oct 18, 2006 7:26:02 PM IST> <Error> <HTTP> <BEA-101017>
<[ServletContext(id=30
472302,name=axis2,context-path=/axis2)] Root cause of ServletException.
org.apache.axis2.AxisFault: null; nested exception is:
        java.lang.ClassCastException
        at
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558
)
        at
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:5
33)
        at
org.apache.axis2.transport.http.ListingAgent.processListService(Listi
ngAgent.java:144)
        at
org.apache.axis2.transport.http.ListingAgent.handle(ListingAgent.java
:89)
        at
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:10
9)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1077)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:465)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:348)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:7047)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3902)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2773)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Caused by: java.lang.ClassCastException
        at javax.xml.transform.TransformerFactory.newInstance(Unknown
Source)
        at
org.apache.ws.commons.schema.XmlSchema.serialize_internal(XmlSchema.j
ava:214)
        at
org.apache.ws.commons.schema.XmlSchema.write(XmlSchema.java:200)
        at
org.apache.axis2.description.AxisService2OM.generateOM(AxisService2OM
.java:147)
        at
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:553
)
        ... 16 more
>


Regards
Kris 


This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]

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