[jboss-user] [JBossWS] - Re: Nullpointer at JBossXSEntityResolver.getXMLInputSource
QPool.Char
do-not-reply at jboss.com
Fri Apr 25 16:21:29 EDT 2008
Ok, think i can tell what the problem is now.
In the wsdl, the schema is importet.
| <wsdl:types>
| â
| <schema elementFormDefault="qualified" targetNamespace="http://www.alfresco.org/ws/service/repository/1.0">
| <xsd:import namespace="http://www.alfresco.org/ws/headers/1.0" schemaLocation="../wsdl/headers.xsd"/>
| <xsd:import namespace="http://www.alfresco.org/ws/cml/1.0" schemaLocation="../wsdl/cml.xsd"/>
| â
| <element name="createStore">....
|
Remember, the elements of namespace cms are missing. But inside one importet schema, there is another import:
| <xsd:schema targetNamespace="http://www.alfresco.org/ws/cml/1.0" elementFormDefault="qualified" version="0.1">
| â
| <xsd:annotation>
| â
| <xsd:documentation>
|
| Alfresco Web Services for Content Management. CML - Content Manipulation Language - Draft.
|
| </xsd:documentation>
| </xsd:annotation>
| <xsd:import namespace="http://www.alfresco.org/ws/model/content/1.0" schemaLocation="types.xsd"/>
|
The last schema contains the cms:Store element, which cannot be resolved by wsimport/wsconsume. So is it right that you cannot refer to a schema embedded into another schema? What can i do here, preferable without changing the schema?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146934#4146934
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146934
More information about the jboss-user
mailing list