geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul O'Connor <paulhocon...@yahoo.com>
Subject WSDD Builder Error
Date Mon, 05 Sep 2005 18:54:03 GMT
I have a WS war file that deploys fine on JBoss/Axis
that I would like to get over to Geronimo.

WSDL:

<definitions name="SamlXacmlRequestService"
targetNamespace="http://ormondquay.org/types"
xmlns:tns="http://ormondquay.org/types"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
  <types>
    <schema
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://www.w3.org/2001/XMLSchema">
		<element name="RequestWrapper" type="xsd:anyType"/>
		<element name="ResponseWrapper" type="xsd:anyType"/>
		<element name="PolicyRequestWrapper"
type="xsd:anyType"/>
		<element name="PolicyResponseWrapper"
type="xsd:anyType"/>
		<element name="AddPolicyRequestWrapper"
type="xsd:anyType"/>
		<element name="AddPolicyResponseWrapper"
type="xsd:anyType"/>
    </schema>
  </types>
  <message name="MessageEndpoint_processElement">
	<part name="request" element="tns:RequestWrapper"/>
  </message>
  <message
name="MessageEndpoint_processElementResponse">
    <part name="result"
element="tns:ResponseWrapper"/></message>
  <message
name="MessageEndpoint_processPolicyElement">
	<part name="request"
element="tns:PolicyRequestWrapper"/>
  </message>
  <message
name="MessageEndpoint_processPolicyElementResponse">
    <part name="result"
element="tns:PolicyResponseWrapper"/>
  </message>
  <message
name="MessageEndpoint_processAddPolicyElement">
	<part name="request"
element="tns:AddPolicyRequestWrapper"/>
  </message>
  <message
name="MessageEndpoint_processAddPolicyElementResponse">
    <part name="result"
element="tns:AddPolicyResponseWrapper"/>
  </message>
  
  <portType name="OQ-SamlXacmlRequest">
    <operation name="XACMLAuthzDecisionQuery"
parameterOrder="request">
      <input
message="tns:MessageEndpoint_processElement"/>
      <output
message="tns:MessageEndpoint_processElementResponse"/>
    </operation>
    <operation name="XACMLPolicyQuery"
parameterOrder="request">
      <input
message="tns:MessageEndpoint_processPolicyElement"/>
      <output
message="tns:MessageEndpoint_processPolicyElementResponse"/>
    </operation>
    <operation name="XACMLAddPolicyQuery"
parameterOrder="request">
      <input
message="tns:MessageEndpoint_processAddPolicyElement"/>
      <output
message="tns:MessageEndpoint_processAddPolicyElementResponse"/>
    </operation>
  </portType>
  
  <binding name="OQ-SamlXacmlRequestBinding"
type="tns:OQ-SamlXacmlRequest">
    <soap:binding
transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
    <operation name="XACMLAuthzDecisionQuery">
      <soap:operation
soapAction="OQ-SamlXacmlRequestService"/>
      <input>
        <soap:body use="literal"
namespace="http://ormondquay.org/types"/>
      </input>
      <output>
        <soap:body use="literal"
namespace="http://ormondquay.org/types"/>
      </output>
    </operation>
    <operation name="XACMLPolicyQuery">
      <soap:operation
soapAction="OQ-SamlXacmlRequestService"/>
      <input>
        <soap:body use="literal"
namespace="http://ormondquay.org/types"/>
      </input>
      <output>
        <soap:body use="literal"
namespace="http://ormondquay.org/types"/>
      </output>
    </operation>
    <operation name="XACMLAddPolicyQuery">
      <soap:operation
soapAction="OQ-SamlXacmlRequestService"/>
      <input>
        <soap:body use="literal"
namespace="http://ormondquay.org/types"/>
      </input>
      <output>
        <soap:body use="literal"
namespace="http://ormondquay.org/types"/>
      </output>
    </operation>
  </binding>

  <service name="SamlXacmlRequestService">
    <port name="SamlXacmlRequestPort"
binding="tns:OQ-SamlXacmlRequestBinding">
      <soap:address
location="REPLACE_WITH_ACTUAL_URL"/>
    </port>
  </service>
</definitions>

Deployment Error:

Retrieving document at
'WEB-INF/wsdl/SamlXacmlRequestService.wsdl'.
14:42:44,359 ERROR [Deployer] Deployment failed due to
java.lang.NullPointerException
        at
org.apache.geronimo.axis.builder.SchemaInfoBuilder.addElement(SchemaI
nfoBuilder.java:405)
        at
org.apache.geronimo.axis.builder.SchemaInfoBuilder.buildSchemaTypeKey
ToSchemaTypeMap(SchemaInfoBuilder.java:394)
        at
org.apache.geronimo.axis.builder.SchemaInfoBuilder.<init>(SchemaInfoB
uilder.java:156)
        at
org.apache.geronimo.axis.builder.SchemaInfoBuilder.<init>(SchemaInfoB
uilder.java:124)
        at
org.apache.geronimo.axis.builder.WSDescriptorParser.parseWebServiceDe
scriptor(WSDescriptorParser.java:313)
        at
org.apache.geronimo.axis.builder.WSDescriptorParser.parseWebServiceDe
scriptor(WSDescriptorParser.java:386)
        at
org.apache.geronimo.axis.builder.AxisBuilder.parseWebServiceDescripto
r(AxisBuilder.java:106)
        at
org.apache.geronimo.axis.builder.AxisBuilder$$FastClassByCGLIB$$16a52
a9a.invoke(<generated>)
        at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:118)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:719)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:36)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:94)
        at
org.apache.geronimo.j2ee.deployment.WebServiceBuilder$$EnhancerByCGLI
B$$1c1dbd92.parseWebServiceDescriptor(<generated>)
        at
org.apache.geronimo.jetty.deployment.JettyModuleBuilder.createModule(
JettyModuleBuilder.java:221)
        at
org.apache.geronimo.jetty.deployment.JettyModuleBuilder.createModule(
JettyModuleBuilder.java:171)
        at
org.apache.geronimo.jetty.deployment.JettyModuleBuilder$$FastClassByC
GLIB$$b30bba8a.invoke(<generated>)
        at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:118)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:719)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:36)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:94)
        at
org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$a
acac9b9.createModule(<generated>)
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPla
n(EARConfigBuilder.java:122)
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLI
B$$38e56ec6.invoke(<generated>)
        at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:118)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:719)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:36)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:94)
        at
org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$
$71865baf.getDeploymentPlan(<generated>)
        at
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:132)
        at
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:79)
        at
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.i
nvoke(<generated>)
        at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:118)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:754)
        at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
175)
        at
org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:124)
        at
org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.in
voke(<generated>)
        at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:118)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:754)
        at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
175)
        at
org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServer
Delegate.java:117)
        at
mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java
:219)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
        at java.lang.reflect.Method.invoke(Unknown
Source)
        at
mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34)

        at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjec
tInvoker.java:99)
        at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionS
ubjectInvoker.java:31)
        at
mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjec
tInvoker.java:90)
        at
java.security.AccessController.doPrivileged(Native
Method)
        at
javax.security.auth.Subject.doAsPrivileged(Unknown
Source)
        at
mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163)
        at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnecti
onSubjectInvoker.java:86)
        at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubje
ctInvoker.java:80)
        at $Proxy0.invoke(Unknown Source)
        at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImp
l.java:221)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
        at java.lang.reflect.Method.invoke(Unknown
Source)
        at
sun.rmi.server.UnicastServerRef.dispatch(Unknown
Source)
        at sun.rmi.transport.Transport$1.run(Unknown
Source)
        at
java.security.AccessController.doPrivileged(Native
Method)
        at
sun.rmi.transport.Transport.serviceCall(Unknown
Source)
        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown
Source)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Sour
ce)
        at java.lang.Thread.run(Unknown Source)

Mime
View raw message