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 "PILLAI,RANJITH (HP-PaloAlto,ex1)" <ra...@hp.com> on 2003/12/03 22:45:32 UTC

Adding Operation Desc in Server-config throws Exceptions in Linux environment


Hi group,
Please help me to resolve this.

Problem: Adding Operation desc in Server-config generates bunch of
Exceptions (shown below).

Note: The same entries works in Windows operating system, but fails in
Linux.  I am using Axis 1.1 final version. 

Any help will be deeply appreciated..

Thanks,
Ranjith Pillai.

 

Server-Config.wsdd

---------------------------

<service name="myService" provider="java:MSG" style="document"
use="literal">  
<parameter name="className" value="myPackage.myServiceImpl"/>
<operation name="create" qname="operNS:Data" xmlns:operNS="http://
mycompany.com " 
 returnQName="retNS:createReturn" xmlns:retNS="http://mycompany.com"
returnType="rtns:Document"   xmlns:rtns="http://xml.apache.org/xml-soap" >

      <parameter qname="pns:in0" xmlns:pns="http:// mycompany.com "
type="tns:Document"
xmlns:tns="http://xml.apache.org/xml-soap"/> 

</operation>
</service>
 

Exceptions
----------------

 

java.lang.NullPointerException
        at java.lang.Class.isAssignableFrom(Native Method)
        at
org.apache.axis.description.ServiceDesc.syncOperationToClass(ServiceD
esc.java:668)
        at
org.apache.axis.description.ServiceDesc.getSyncedOperationsForName(Se
rviceDesc.java:979)
        at
org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospectio
nRecursive(ServiceDesc.java:853)
        at
org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospectio
n(ServiceDesc.java:820)
        at
org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvi
der.java:628)
        at
org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(S
OAPService.java:339)
        at
org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDServi
ce.java:507)
        at
org.apache.axis.deployment.wsdd.WSDDDeployment.getDeployedServices(WS
DDDeployment.java:559)
        at
org.apache.axis.configuration.FileProvider.getDeployedServices(FilePr
ovider.java:321)
        at
org.apache.axis.transport.http.AxisServlet.reportAvailableServices(Ax
isServlet.java:681)
        at
org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:262)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas
e.java:339)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1075)        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:418)        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5517)
        at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:685)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3156)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2506)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)