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

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to