cool...indeed that was it...thanks! --- David Jencks 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: > > > targetNamespace="http://ormondquay.org/types" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns="http://www.w3.org/2001/XMLSchema"> > type="xsd:anyType"/> > type="xsd:anyType"/> > type="xsd:anyType"/> > type="xsd:anyType"/> > type="xsd:anyType"/> > type="xsd:anyType"/> > > > and fails with: > > > targetNamespace="" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns="http://www.w3.org/2001/XMLSchema"> > type="xsd:anyType"/> > type="xsd:anyType"/> > type="xsd:anyType"/> > type="xsd:anyType"/> > type="xsd:anyType"/> > type="xsd:anyType"/> > > > 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 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: > >>> > >>> > >>> >>> 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"> > >>> > >>> > >> > > > com.ormondquay.webservices > >>> > >> > > > http://ormondquay.org/types > >>> > >>> > >>> > >> > > > com.ormondquay.webservices > >>> > >> > > > http://ormondquay.org/types > >>> > >>> > >>> > >>> >>> > >> > > > interface>com.ormondquay.webservices.SamlXacmlRequestService >> > >>> interface> > >>> >>> > >> > > > xmlns:serviceNS="http://ormondquay.org/types">serviceNS: > >> > >>> SamlXacmlRequestService > >>> > >>> SamlXacmlRequestPort > >>> > >> > > > SamlXacmlRequestPort > >>> > >>> > >>> > >>> > >>> > >>> >>> > >> > > > interface>com.ormondquay.webservices.SamlXacmlRequest >> > >>> endpoint-interface> > >>> >>> > >> > > > xmlns:portTypeNS="http://ormondquay.org/types">portTypeNS:OQ- > >> > >>> SamlXacmlRequest > >>> >>> > >> > > > xmlns:bindingNS="http://ormondquay.org/types">bindingNS:OQ- > >> > >>> SamlXacmlRequestBinding > >>> > >>> > >>> > >>> > >> > > > XACMLAuthzDecisionQuery > >>> > >>> > >> > > > XACMLAuthzDecisionQuery > >>> > >>> 0 > >>> org.w3c.dom.Element > >>> > >>> >>> > >> > > > xmlns:wsdlMsgNS="http://ormondquay.org/types">wsdlMsgNS: > >> > >>> MessageEndpoint_processElement > >>> > >>> > >> > === message truncated ===