axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcin Malinowski" <mmalinowsk...@gmail.com>
Subject [Axis2] Axis2-CORBA IDL parsing problem
Date Mon, 25 Feb 2008 12:37:28 GMT
Hello,

I'm going to use Axis2 module in order to allow using CORBA via WSDL
interface.
Everything works fine if I have a simple idl interface.

For example:

module session
{
    interface Session_I
    {
        void ping();
        void endSession();
    };
};

However, if I try to include other module via #include statement, for
example:

#include "tmp.idl"

module session
{
    interface Session_I
    {
        void ping();
        void endSession();
    };
    ...
};

I got following error:

java.lang.NullPointerException
        at org.apache.axis2.corba.deployer.SchemaGenerator.generateSchema(
SchemaGenerator.java:134)
        at org.apache.axis2.corba.deployer.CorbaDeployer.processOperations(
CorbaDeployer.java:433)
        at org.apache.axis2.corba.deployer.CorbaDeployer.populateService(
CorbaDeployer.java:269)
        at org.apache.axis2.corba.deployer.CorbaDeployer.processService(
CorbaDeployer.java:97)
        at org.apache.axis2.corba.deployer.CorbaDeployer.deploy(
CorbaDeployer.java:67)
        at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(
DeploymentFileData.java:136)
        at org.apache.axis2.deployment.DeploymentEngine.doDeploy(
DeploymentEngine.java:584)
        at org.apache.axis2.deployment.repository.util.WSInfoList.update(
WSInfoList.java:141)
        at org.apache.axis2.deployment.RepositoryListener.update(
RepositoryListener.java:330)
        at org.apache.axis2.deployment.RepositoryListener.checkServices(
RepositoryListener.java:227)
        at org.apache.axis2.deployment.DeploymentEngine.loadServices(
DeploymentEngine.java:118)
        at org.apache.axis2.deployment.FileSystemConfigurator.loadServices(
FileSystemConfigurator.java:146)
        at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
(ConfigurationContextFactory.java:78)
        at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem
(ConfigurationContextFactory.java:180)
        at org.apache.axis2.transport.SimpleAxis2Server.<init>(
SimpleAxis2Server.java:50)
        at org.apache.axis2.transport.SimpleAxis2Server.main(
SimpleAxis2Server.java:101)

Is it a well known bug? Am I do something wrong? I'm using Nightly builds...
Any help will be appreciated.
Thanks.

Best regards,
Marcin

Mime
View raw message