cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jimma (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1112) Add catalog support for wsdlLocation and schemaLocation in customization binding file
Date Mon, 15 Oct 2007 07:09:50 GMT
Add catalog support for wsdlLocation and schemaLocation in customization binding file 
--------------------------------------------------------------------------------------

                 Key: CXF-1112
                 URL: https://issues.apache.org/jira/browse/CXF-1112
             Project: CXF
          Issue Type: Improvement
          Components: Tooling
    Affects Versions: 2.0.2
            Reporter: jimma
             Fix For: 2.0.3


If the schemaLocation and wsdlLocation in  binding file  contains catalog as the following
 ,  wsdl2java can not resolve it :

--catalog file ---

<!DOCTYPE catalog
PUBLIC "-//OASIS/DTD Entity Resolution XML Catalog V1.0//EN"
"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
    <rewriteURI rewritePrefix="extra.xsd" uriStartString="http://www.company.com/extra.xsd"/>
</catalog>

--jaxb binding file ------

<jaxb:bindings version="2.0"
      xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      schemaLocation="http://www.company.com/extra.xsd"
      node="/xsd:schema">
    <jaxb:schemaBindings>
      <jaxb:package name="org.mytest">
      </jaxb:package>
    </jaxb:schemaBindings>
</jaxb:bindings>


--catalog file ----

<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
    prefer="system">
    <system systemId="http://example.org/wsdl"
          uri="../addNumbers.wsdl"/>
</catalog>
 
---jaxws binding file -----

<bindings
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    wsdlLocation="http://example.org/wsdl"
    xmlns="http://java.sun.com/xml/ns/jaxws">
    <bindings node="wsdl:definitions/wsdl:service">      
	 <class name="CustomizedService"/>     
    </bindings>
</bindings>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message