This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

WSDLs can be added in two ways. Either by adding a direct WSDL or by adding a ZIP archive. Therefore, to change the default location of WSDLs two location have to be edited. These are under the location element and shown below and is in the registry.xml located at $GREG_HOME/repository/conf. Since a WSDL can refer external Schemas the location of Schemas are also defined with in the handler configurations. 

<handler class="org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler">
     <property name="schemaLocationConfiguration" type="xml">
         <location>/schemas/</location>
     </property>
     <property name="wsdlLocationConfiguration" type="xml">



            <location>/wsdls/</location>



      </property>
     <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher">
         <property name="mediaType">application/wsdl+xml</property>
     </filter>
 </handler>
<handler class="org.wso2.carbon.registry.extensions.handlers.ZipWSDLMediaTypeHandler">
     <property name="wsdlMediaType">application/wsdl+xml</property>
     <property name="schemaMediaType">application/xsd+xml</property>
     <!--property name="wsdlExtension">.wsdl</property>
     <property name="schemaExtension">.xsd</property>
     <property name="archiveExtension">.gar</property>
     <property name="tempFilePrefix">wsdl</property-->
     <property name="schemaLocationConfiguration" type="xml">
         <location>/schemas/</location>
     </property>
     <property name="wsdlLocationConfiguration" type="xml">



         <location>/wsdls/</location>



     </property>
     <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher">
         <property name="mediaType">application/vnd.wso2.governance-archive</property>
     </filter>
 </handler>
  • No labels