You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Paul O'Connor <pa...@yahoo.com> on 2005/09/05 20:54:03 UTC
WSDD Builder Error
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)
Re: WSDD Builder Error
Posted by Paul O'Connor <pa...@yahoo.com>.
cool...indeed that was it...thanks!
--- David Jencks <da...@yahoo.com> wrote:
> You would get the same error from head.
>
> I am not enough of an xml schema expert to know for
> sure, but I think
> your wsdl has an error that is causing the NPE. I
> believe that the
> targetNamespace element needs to be in the schema
> element in order for
> it to actually apply to the schema. I think that
> only namespace prefix
> definitions are "inherited" from an enclosing xml
> document. Do you or
> anyone else know for sure about this?
>
> In any case, I wrote a little test case that passes
> when the schema
> looks like:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <schema
> targetNamespace="http://ormondquay.org/types"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> 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>
>
> and fails with:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <schema
> targetNamespace=""
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> 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>
>
> So, I suggest copying the targetNamespace attribute
> into the schema
> until we can figure out the correct behavior and
> implement it.
>
> Many thanks
> david jencks
>
>
> On Sep 5, 2005, at 12:44 PM, Paul O'Connor wrote:
>
> > M4...should I try it from the head?
> >
> > --- David Jencks <da...@yahoo.com> wrote:
> >
> >> Great! Which geronimo version are you using? M4?
> >> svn revision ??? The
> >> line number from the stack trace in your previous
> >> post didn't match my
> >> svn head version.
> >>
> >> thanks
> >> david jencks
> >>
> >> On Sep 5, 2005, at 12:15 PM, Paul O'Connor wrote:
> >>
> >>> Thanks for the instantaneous response! I
> actually
> >>> don't have a Geronimo-specific war yet...trying
> to
> >> get
> >>> to that point ;-)
> >>>
> >>> Here is the jaxrpc-mapping.xml file:
> >>>
> >>> <?xml version="1.0" encoding="UTF-8"?>
> >>> <java-wsdl-mapping version="1.1"
> >>> xmlns="http://java.sun.com/xml/ns/j2ee"
> >>>
> >>
> >
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >>>
> >>
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> >>>
> >>
> >
>
http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
> >>> <package-mapping>
> >>>
> >>
> >
>
<package-type>com.ormondquay.webservices</package-type>
> >>>
> >>
> >
>
<namespaceURI>http://ormondquay.org/types</namespaceURI>
> >>> </package-mapping>
> >>> <package-mapping>
> >>>
> >>
> >
>
<package-type>com.ormondquay.webservices</package-type>
> >>>
> >>
> >
>
<namespaceURI>http://ormondquay.org/types</namespaceURI>
> >>> </package-mapping>
> >>>
> >>> <service-interface-mapping>
> >>> <service-
> >>>
> >>
> >
>
interface>com.ormondquay.webservices.SamlXacmlRequestService</service-
> >>
> >>> interface>
> >>> <wsdl-service-name
> >>>
> >>
> >
>
xmlns:serviceNS="http://ormondquay.org/types">serviceNS:
> >>
> >>> SamlXacmlRequestService</wsdl-service-name>
> >>> <port-mapping>
> >>> <port-name>SamlXacmlRequestPort</port-name>
> >>>
> >>
> >
>
<java-port-name>SamlXacmlRequestPort</java-port-name>
> >>> </port-mapping>
> >>> </service-interface-mapping>
> >>>
> >>> <service-endpoint-interface-mapping>
> >>>
> >>> <service-endpoint-
> >>>
> >>
> >
>
interface>com.ormondquay.webservices.SamlXacmlRequest</service-
> >>
> >>> endpoint-interface>
> >>> <wsdl-port-type
> >>>
> >>
> >
>
xmlns:portTypeNS="http://ormondquay.org/types">portTypeNS:OQ-
> >>
> >>> SamlXacmlRequest</wsdl-port-type>
> >>> <wsdl-binding
> >>>
> >>
> >
>
xmlns:bindingNS="http://ormondquay.org/types">bindingNS:OQ-
> >>
> >>> SamlXacmlRequestBinding</wsdl-binding>
> >>>
> >>> <service-endpoint-method-mapping>
> >>>
> >>>
> >>
> >
>
<java-method-name>XACMLAuthzDecisionQuery</java-method-name>
> >>>
> >>>
> >>
> >
>
<wsdl-operation>XACMLAuthzDecisionQuery</wsdl-operation>
> >>> <method-param-parts-mapping>
> >>> <param-position>0</param-position>
> >>> <param-type>org.w3c.dom.Element</param-type>
> >>> <wsdl-message-mapping>
> >>> <wsdl-message
> >>>
> >>
> >
>
xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
> >>
> >>> MessageEndpoint_processElement</wsdl-message>
> >>>
> >>>
> >>
>
=== message truncated ===
Re: WSDD Builder Error
Posted by David Jencks <da...@yahoo.com>.
You would get the same error from head.
I am not enough of an xml schema expert to know for sure, but I think
your wsdl has an error that is causing the NPE. I believe that the
targetNamespace element needs to be in the schema element in order for
it to actually apply to the schema. I think that only namespace prefix
definitions are "inherited" from an enclosing xml document. Do you or
anyone else know for sure about this?
In any case, I wrote a little test case that passes when the schema
looks like:
<?xml version="1.0" encoding="UTF-8"?>
<schema
targetNamespace="http://ormondquay.org/types"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
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>
and fails with:
<?xml version="1.0" encoding="UTF-8"?>
<schema
targetNamespace=""
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
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>
So, I suggest copying the targetNamespace attribute into the schema
until we can figure out the correct behavior and implement it.
Many thanks
david jencks
On Sep 5, 2005, at 12:44 PM, Paul O'Connor wrote:
> M4...should I try it from the head?
>
> --- David Jencks <da...@yahoo.com> wrote:
>
>> Great! Which geronimo version are you using? M4?
>> svn revision ??? The
>> line number from the stack trace in your previous
>> post didn't match my
>> svn head version.
>>
>> thanks
>> david jencks
>>
>> On Sep 5, 2005, at 12:15 PM, Paul O'Connor wrote:
>>
>>> Thanks for the instantaneous response! I actually
>>> don't have a Geronimo-specific war yet...trying to
>> get
>>> to that point ;-)
>>>
>>> Here is the jaxrpc-mapping.xml file:
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <java-wsdl-mapping version="1.1"
>>> xmlns="http://java.sun.com/xml/ns/j2ee"
>>>
>>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>
>> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
>>>
>>
> http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
>>> <package-mapping>
>>>
>>
> <package-type>com.ormondquay.webservices</package-type>
>>>
>>
> <namespaceURI>http://ormondquay.org/types</namespaceURI>
>>> </package-mapping>
>>> <package-mapping>
>>>
>>
> <package-type>com.ormondquay.webservices</package-type>
>>>
>>
> <namespaceURI>http://ormondquay.org/types</namespaceURI>
>>> </package-mapping>
>>>
>>> <service-interface-mapping>
>>> <service-
>>>
>>
> interface>com.ormondquay.webservices.SamlXacmlRequestService</service-
>>
>>> interface>
>>> <wsdl-service-name
>>>
>>
> xmlns:serviceNS="http://ormondquay.org/types">serviceNS:
>>
>>> SamlXacmlRequestService</wsdl-service-name>
>>> <port-mapping>
>>> <port-name>SamlXacmlRequestPort</port-name>
>>>
>>
> <java-port-name>SamlXacmlRequestPort</java-port-name>
>>> </port-mapping>
>>> </service-interface-mapping>
>>>
>>> <service-endpoint-interface-mapping>
>>>
>>> <service-endpoint-
>>>
>>
> interface>com.ormondquay.webservices.SamlXacmlRequest</service-
>>
>>> endpoint-interface>
>>> <wsdl-port-type
>>>
>>
> xmlns:portTypeNS="http://ormondquay.org/types">portTypeNS:OQ-
>>
>>> SamlXacmlRequest</wsdl-port-type>
>>> <wsdl-binding
>>>
>>
> xmlns:bindingNS="http://ormondquay.org/types">bindingNS:OQ-
>>
>>> SamlXacmlRequestBinding</wsdl-binding>
>>>
>>> <service-endpoint-method-mapping>
>>>
>>>
>>
> <java-method-name>XACMLAuthzDecisionQuery</java-method-name>
>>>
>>>
>>
> <wsdl-operation>XACMLAuthzDecisionQuery</wsdl-operation>
>>> <method-param-parts-mapping>
>>> <param-position>0</param-position>
>>> <param-type>org.w3c.dom.Element</param-type>
>>> <wsdl-message-mapping>
>>> <wsdl-message
>>>
>>
> xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
>>
>>> MessageEndpoint_processElement</wsdl-message>
>>>
>>>
>>
> <wsdl-message-part-name>RequestWrapper</wsdl-message-part-name>
>>> <parameter-mode>IN</parameter-mode>
>>> </wsdl-message-mapping>
>>> </method-param-parts-mapping>
>>> <wsdl-return-value-mapping>
>>>
>>>
>>
> <method-return-value>org.w3c.dom.Element</method-return-value>
>>> <wsdl-message
>>>
>>
> xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
>>
>>>
>>
> MessageEndpoint_processElementResponse</wsdl-message>
>>>
>>>
>>
> <wsdl-message-part-name>ResponseWrapper</wsdl-message-part-name>
>>> </wsdl-return-value-mapping>
>>> </service-endpoint-method-mapping>
>>> <service-endpoint-method-mapping>
>>>
>>>
>>
> <java-method-name>XACMLPolicyQuery</java-method-name>
>>>
>> <wsdl-operation>XACMLPolicyQuery</wsdl-operation>
>>> <method-param-parts-mapping>
>>> <param-position>0</param-position>
>>> <param-type>org.w3c.dom.Element</param-type>
>>> <wsdl-message-mapping>
>>> <wsdl-message
>>>
>>
> xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
>>
>>>
>> MessageEndpoint_processPolicyElement</wsdl-message>
>>>
>>>
>>
> <wsdl-message-part-name>PolicyRequestWrapper</wsdl-message-part-name>
>>> <parameter-mode>IN</parameter-mode>
>>> </wsdl-message-mapping>
>>> </method-param-parts-mapping>
>>> <wsdl-return-value-mapping>
>>>
>>>
>>
> <method-return-value>org.w3c.dom.Element</method-return-value>
>>> <wsdl-message
>>>
>>
> xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
>>
>>>
>>
> MessageEndpoint_processPolicyElementResponse</wsdl-message>
>>>
>>>
>>
> <wsdl-message-part-name>PolicyResponseWrapper</wsdl-message-part-name>
>>> </wsdl-return-value-mapping>
>>> </service-endpoint-method-mapping>
>>> <service-endpoint-method-mapping>
>>>
>>>
>>
> <java-method-name>XACMLAddPolicyQuery</java-method-name>
>>>
>> <wsdl-operation>XACMLAddPolicyQuery</wsdl-operation>
>>> <method-param-parts-mapping>
>>> <param-position>0</param-position>
>>> <param-type>org.w3c.dom.Element</param-type>
>>> <wsdl-message-mapping>
>>> <wsdl-message
>>>
>>
> xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
>>
>>>
>>
> MessageEndpoint_processAddPolicyElement</wsdl-message>
>>>
>>>
>>
> <wsdl-message-part-name>AddPolicyRequestWrapper</wsdl-message-part-
>>
>>> name>
>>> <parameter-mode>IN</parameter-mode>
>>> </wsdl-message-mapping>
>>> </method-param-parts-mapping>
>>> <wsdl-return-value-mapping>
>>>
>>>
>>
> <method-return-value>org.w3c.dom.Element</method-return-value>
>>> <wsdl-message
>>>
>>
> xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
>>
>>>
>>
> MessageEndpoint_processAddPolicyElementResponse</wsdl-message>
>>>
>>>
>>
> <wsdl-message-part-name>AddPolicyResponseWrapper</wsdl-message-part-
>>
>>> name>
>>> </wsdl-return-value-mapping>
>>> </service-endpoint-method-mapping>
>>> </service-endpoint-interface-mapping>
>>>
>>>
>>> </java-wsdl-mapping>
>>>
>>
>>
>
Re: WSDD Builder Error
Posted by Paul O'Connor <pa...@yahoo.com>.
M4...should I try it from the head?
--- David Jencks <da...@yahoo.com> wrote:
> Great! Which geronimo version are you using? M4?
> svn revision ??? The
> line number from the stack trace in your previous
> post didn't match my
> svn head version.
>
> thanks
> david jencks
>
> On Sep 5, 2005, at 12:15 PM, Paul O'Connor wrote:
>
> > Thanks for the instantaneous response! I actually
> > don't have a Geronimo-specific war yet...trying to
> get
> > to that point ;-)
> >
> > Here is the jaxrpc-mapping.xml file:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <java-wsdl-mapping version="1.1"
> > xmlns="http://java.sun.com/xml/ns/j2ee"
> >
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> >
>
http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
> > <package-mapping>
> >
>
<package-type>com.ormondquay.webservices</package-type>
> >
>
<namespaceURI>http://ormondquay.org/types</namespaceURI>
> > </package-mapping>
> > <package-mapping>
> >
>
<package-type>com.ormondquay.webservices</package-type>
> >
>
<namespaceURI>http://ormondquay.org/types</namespaceURI>
> > </package-mapping>
> >
> > <service-interface-mapping>
> > <service-
> >
>
interface>com.ormondquay.webservices.SamlXacmlRequestService</service-
>
> > interface>
> > <wsdl-service-name
> >
>
xmlns:serviceNS="http://ormondquay.org/types">serviceNS:
>
> > SamlXacmlRequestService</wsdl-service-name>
> > <port-mapping>
> > <port-name>SamlXacmlRequestPort</port-name>
> >
>
<java-port-name>SamlXacmlRequestPort</java-port-name>
> > </port-mapping>
> > </service-interface-mapping>
> >
> > <service-endpoint-interface-mapping>
> >
> > <service-endpoint-
> >
>
interface>com.ormondquay.webservices.SamlXacmlRequest</service-
>
> > endpoint-interface>
> > <wsdl-port-type
> >
>
xmlns:portTypeNS="http://ormondquay.org/types">portTypeNS:OQ-
>
> > SamlXacmlRequest</wsdl-port-type>
> > <wsdl-binding
> >
>
xmlns:bindingNS="http://ormondquay.org/types">bindingNS:OQ-
>
> > SamlXacmlRequestBinding</wsdl-binding>
> >
> > <service-endpoint-method-mapping>
> >
> >
>
<java-method-name>XACMLAuthzDecisionQuery</java-method-name>
> >
> >
>
<wsdl-operation>XACMLAuthzDecisionQuery</wsdl-operation>
> > <method-param-parts-mapping>
> > <param-position>0</param-position>
> > <param-type>org.w3c.dom.Element</param-type>
> > <wsdl-message-mapping>
> > <wsdl-message
> >
>
xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
>
> > MessageEndpoint_processElement</wsdl-message>
> >
> >
>
<wsdl-message-part-name>RequestWrapper</wsdl-message-part-name>
> > <parameter-mode>IN</parameter-mode>
> > </wsdl-message-mapping>
> > </method-param-parts-mapping>
> > <wsdl-return-value-mapping>
> >
> >
>
<method-return-value>org.w3c.dom.Element</method-return-value>
> > <wsdl-message
> >
>
xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
>
> >
>
MessageEndpoint_processElementResponse</wsdl-message>
> >
> >
>
<wsdl-message-part-name>ResponseWrapper</wsdl-message-part-name>
> > </wsdl-return-value-mapping>
> > </service-endpoint-method-mapping>
> > <service-endpoint-method-mapping>
> >
> >
>
<java-method-name>XACMLPolicyQuery</java-method-name>
> >
> <wsdl-operation>XACMLPolicyQuery</wsdl-operation>
> > <method-param-parts-mapping>
> > <param-position>0</param-position>
> > <param-type>org.w3c.dom.Element</param-type>
> > <wsdl-message-mapping>
> > <wsdl-message
> >
>
xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
>
> >
> MessageEndpoint_processPolicyElement</wsdl-message>
> >
> >
>
<wsdl-message-part-name>PolicyRequestWrapper</wsdl-message-part-name>
> > <parameter-mode>IN</parameter-mode>
> > </wsdl-message-mapping>
> > </method-param-parts-mapping>
> > <wsdl-return-value-mapping>
> >
> >
>
<method-return-value>org.w3c.dom.Element</method-return-value>
> > <wsdl-message
> >
>
xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
>
> >
>
MessageEndpoint_processPolicyElementResponse</wsdl-message>
> >
> >
>
<wsdl-message-part-name>PolicyResponseWrapper</wsdl-message-part-name>
> > </wsdl-return-value-mapping>
> > </service-endpoint-method-mapping>
> > <service-endpoint-method-mapping>
> >
> >
>
<java-method-name>XACMLAddPolicyQuery</java-method-name>
> >
> <wsdl-operation>XACMLAddPolicyQuery</wsdl-operation>
> > <method-param-parts-mapping>
> > <param-position>0</param-position>
> > <param-type>org.w3c.dom.Element</param-type>
> > <wsdl-message-mapping>
> > <wsdl-message
> >
>
xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
>
> >
>
MessageEndpoint_processAddPolicyElement</wsdl-message>
> >
> >
>
<wsdl-message-part-name>AddPolicyRequestWrapper</wsdl-message-part-
>
> > name>
> > <parameter-mode>IN</parameter-mode>
> > </wsdl-message-mapping>
> > </method-param-parts-mapping>
> > <wsdl-return-value-mapping>
> >
> >
>
<method-return-value>org.w3c.dom.Element</method-return-value>
> > <wsdl-message
> >
>
xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
>
> >
>
MessageEndpoint_processAddPolicyElementResponse</wsdl-message>
> >
> >
>
<wsdl-message-part-name>AddPolicyResponseWrapper</wsdl-message-part-
>
> > name>
> > </wsdl-return-value-mapping>
> > </service-endpoint-method-mapping>
> > </service-endpoint-interface-mapping>
> >
> >
> > </java-wsdl-mapping>
> >
>
>
Re: WSDD Builder Error
Posted by David Jencks <da...@yahoo.com>.
Great! Which geronimo version are you using? M4? svn revision ??? The
line number from the stack trace in your previous post didn't match my
svn head version.
thanks
david jencks
On Sep 5, 2005, at 12:15 PM, Paul O'Connor wrote:
> Thanks for the instantaneous response! I actually
> don't have a Geronimo-specific war yet...trying to get
> to that point ;-)
>
> Here is the jaxrpc-mapping.xml file:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <java-wsdl-mapping version="1.1"
> xmlns="http://java.sun.com/xml/ns/j2ee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
> <package-mapping>
> <package-type>com.ormondquay.webservices</package-type>
> <namespaceURI>http://ormondquay.org/types</namespaceURI>
> </package-mapping>
> <package-mapping>
> <package-type>com.ormondquay.webservices</package-type>
> <namespaceURI>http://ormondquay.org/types</namespaceURI>
> </package-mapping>
>
> <service-interface-mapping>
> <service-
> interface>com.ormondquay.webservices.SamlXacmlRequestService</service-
> interface>
> <wsdl-service-name
> xmlns:serviceNS="http://ormondquay.org/types">serviceNS:
> SamlXacmlRequestService</wsdl-service-name>
> <port-mapping>
> <port-name>SamlXacmlRequestPort</port-name>
> <java-port-name>SamlXacmlRequestPort</java-port-name>
> </port-mapping>
> </service-interface-mapping>
>
> <service-endpoint-interface-mapping>
>
> <service-endpoint-
> interface>com.ormondquay.webservices.SamlXacmlRequest</service-
> endpoint-interface>
> <wsdl-port-type
> xmlns:portTypeNS="http://ormondquay.org/types">portTypeNS:OQ-
> SamlXacmlRequest</wsdl-port-type>
> <wsdl-binding
> xmlns:bindingNS="http://ormondquay.org/types">bindingNS:OQ-
> SamlXacmlRequestBinding</wsdl-binding>
>
> <service-endpoint-method-mapping>
>
> <java-method-name>XACMLAuthzDecisionQuery</java-method-name>
>
> <wsdl-operation>XACMLAuthzDecisionQuery</wsdl-operation>
> <method-param-parts-mapping>
> <param-position>0</param-position>
> <param-type>org.w3c.dom.Element</param-type>
> <wsdl-message-mapping>
> <wsdl-message
> xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
> MessageEndpoint_processElement</wsdl-message>
>
> <wsdl-message-part-name>RequestWrapper</wsdl-message-part-name>
> <parameter-mode>IN</parameter-mode>
> </wsdl-message-mapping>
> </method-param-parts-mapping>
> <wsdl-return-value-mapping>
>
> <method-return-value>org.w3c.dom.Element</method-return-value>
> <wsdl-message
> xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
> MessageEndpoint_processElementResponse</wsdl-message>
>
> <wsdl-message-part-name>ResponseWrapper</wsdl-message-part-name>
> </wsdl-return-value-mapping>
> </service-endpoint-method-mapping>
> <service-endpoint-method-mapping>
>
> <java-method-name>XACMLPolicyQuery</java-method-name>
> <wsdl-operation>XACMLPolicyQuery</wsdl-operation>
> <method-param-parts-mapping>
> <param-position>0</param-position>
> <param-type>org.w3c.dom.Element</param-type>
> <wsdl-message-mapping>
> <wsdl-message
> xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
> MessageEndpoint_processPolicyElement</wsdl-message>
>
> <wsdl-message-part-name>PolicyRequestWrapper</wsdl-message-part-name>
> <parameter-mode>IN</parameter-mode>
> </wsdl-message-mapping>
> </method-param-parts-mapping>
> <wsdl-return-value-mapping>
>
> <method-return-value>org.w3c.dom.Element</method-return-value>
> <wsdl-message
> xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
> MessageEndpoint_processPolicyElementResponse</wsdl-message>
>
> <wsdl-message-part-name>PolicyResponseWrapper</wsdl-message-part-name>
> </wsdl-return-value-mapping>
> </service-endpoint-method-mapping>
> <service-endpoint-method-mapping>
>
> <java-method-name>XACMLAddPolicyQuery</java-method-name>
> <wsdl-operation>XACMLAddPolicyQuery</wsdl-operation>
> <method-param-parts-mapping>
> <param-position>0</param-position>
> <param-type>org.w3c.dom.Element</param-type>
> <wsdl-message-mapping>
> <wsdl-message
> xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
> MessageEndpoint_processAddPolicyElement</wsdl-message>
>
> <wsdl-message-part-name>AddPolicyRequestWrapper</wsdl-message-part-
> name>
> <parameter-mode>IN</parameter-mode>
> </wsdl-message-mapping>
> </method-param-parts-mapping>
> <wsdl-return-value-mapping>
>
> <method-return-value>org.w3c.dom.Element</method-return-value>
> <wsdl-message
> xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:
> MessageEndpoint_processAddPolicyElementResponse</wsdl-message>
>
> <wsdl-message-part-name>AddPolicyResponseWrapper</wsdl-message-part-
> name>
> </wsdl-return-value-mapping>
> </service-endpoint-method-mapping>
> </service-endpoint-interface-mapping>
>
>
> </java-wsdl-mapping>
>
Re: WSDD Builder Error
Posted by Paul O'Connor <pa...@yahoo.com>.
Thanks for the instantaneous response! I actually
don't have a Geronimo-specific war yet...trying to get
to that point ;-)
Here is the jaxrpc-mapping.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<java-wsdl-mapping version="1.1"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
<package-mapping>
<package-type>com.ormondquay.webservices</package-type>
<namespaceURI>http://ormondquay.org/types</namespaceURI>
</package-mapping>
<package-mapping>
<package-type>com.ormondquay.webservices</package-type>
<namespaceURI>http://ormondquay.org/types</namespaceURI>
</package-mapping>
<service-interface-mapping>
<service-interface>com.ormondquay.webservices.SamlXacmlRequestService</service-interface>
<wsdl-service-name
xmlns:serviceNS="http://ormondquay.org/types">serviceNS:SamlXacmlRequestService</wsdl-service-name>
<port-mapping>
<port-name>SamlXacmlRequestPort</port-name>
<java-port-name>SamlXacmlRequestPort</java-port-name>
</port-mapping>
</service-interface-mapping>
<service-endpoint-interface-mapping>
<service-endpoint-interface>com.ormondquay.webservices.SamlXacmlRequest</service-endpoint-interface>
<wsdl-port-type
xmlns:portTypeNS="http://ormondquay.org/types">portTypeNS:OQ-SamlXacmlRequest</wsdl-port-type>
<wsdl-binding
xmlns:bindingNS="http://ormondquay.org/types">bindingNS:OQ-SamlXacmlRequestBinding</wsdl-binding>
<service-endpoint-method-mapping>
<java-method-name>XACMLAuthzDecisionQuery</java-method-name>
<wsdl-operation>XACMLAuthzDecisionQuery</wsdl-operation>
<method-param-parts-mapping>
<param-position>0</param-position>
<param-type>org.w3c.dom.Element</param-type>
<wsdl-message-mapping>
<wsdl-message
xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:MessageEndpoint_processElement</wsdl-message>
<wsdl-message-part-name>RequestWrapper</wsdl-message-part-name>
<parameter-mode>IN</parameter-mode>
</wsdl-message-mapping>
</method-param-parts-mapping>
<wsdl-return-value-mapping>
<method-return-value>org.w3c.dom.Element</method-return-value>
<wsdl-message
xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:MessageEndpoint_processElementResponse</wsdl-message>
<wsdl-message-part-name>ResponseWrapper</wsdl-message-part-name>
</wsdl-return-value-mapping>
</service-endpoint-method-mapping>
<service-endpoint-method-mapping>
<java-method-name>XACMLPolicyQuery</java-method-name>
<wsdl-operation>XACMLPolicyQuery</wsdl-operation>
<method-param-parts-mapping>
<param-position>0</param-position>
<param-type>org.w3c.dom.Element</param-type>
<wsdl-message-mapping>
<wsdl-message
xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:MessageEndpoint_processPolicyElement</wsdl-message>
<wsdl-message-part-name>PolicyRequestWrapper</wsdl-message-part-name>
<parameter-mode>IN</parameter-mode>
</wsdl-message-mapping>
</method-param-parts-mapping>
<wsdl-return-value-mapping>
<method-return-value>org.w3c.dom.Element</method-return-value>
<wsdl-message
xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:MessageEndpoint_processPolicyElementResponse</wsdl-message>
<wsdl-message-part-name>PolicyResponseWrapper</wsdl-message-part-name>
</wsdl-return-value-mapping>
</service-endpoint-method-mapping>
<service-endpoint-method-mapping>
<java-method-name>XACMLAddPolicyQuery</java-method-name>
<wsdl-operation>XACMLAddPolicyQuery</wsdl-operation>
<method-param-parts-mapping>
<param-position>0</param-position>
<param-type>org.w3c.dom.Element</param-type>
<wsdl-message-mapping>
<wsdl-message
xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:MessageEndpoint_processAddPolicyElement</wsdl-message>
<wsdl-message-part-name>AddPolicyRequestWrapper</wsdl-message-part-name>
<parameter-mode>IN</parameter-mode>
</wsdl-message-mapping>
</method-param-parts-mapping>
<wsdl-return-value-mapping>
<method-return-value>org.w3c.dom.Element</method-return-value>
<wsdl-message
xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS:MessageEndpoint_processAddPolicyElementResponse</wsdl-message>
<wsdl-message-part-name>AddPolicyResponseWrapper</wsdl-message-part-name>
</wsdl-return-value-mapping>
</service-endpoint-method-mapping>
</service-endpoint-interface-mapping>
</java-wsdl-mapping>
Re: WSDD Builder Error
Posted by David Jencks <da...@yahoo.com>.
Could you please supply your geronimo version and jaxrpc mapping file?
At the moment we are following the web services spec and requiring a
jaxrpc mapping file, which must be very complete unless your app
follows the excessively restrictive conditions for a lightweight jaxrpc
mapping file.
thanks
david jencks
On Sep 5, 2005, at 11:54 AM, Paul O'Connor wrote:
> 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)
>