Author: buildbot Date: Tue Mar 27 20:48:06 2012 New Revision: 810291 Log: Production update by buildbot for cxf
Modified: websites/production/cxf/content/cache/main.pageCache websites/production/cxf/content/faq.html Modified: websites/production/cxf/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/cxf/content/faq.html ============================================================================== --- websites/production/cxf/content/faq.html (original) +++ websites/production/cxf/content/faq.html Tue Mar 27 20:48:06 2012 @@ -139,7 +139,7 @@ Apache CXF -- FAQ <div id="ConfluenceContent"><h1><a shape="rect" name="FAQ-FrequentlyAskedQuestions"></a>Frequently Asked Questions</h1> <div> -<ul><li><a shape="rect" href="#FAQ-General">General</a></li><ul><li><a shape="rect" href="#FAQ-CanCXFrunwithJDK1.7%3F">Can CXF run with JDK 1.7?</a></li><li><a shape="rect" href="#FAQ-CanCXFrunwithJDK1.6%3F">Can CXF run with JDK 1.6?</a></li><li><a shape="rect" href="#FAQ-CanCXFrunwithJDK1.5%3F">Can CXF run with JDK 1.5?</a></li><li><a shape="rect" href="#FAQ-CanCXFrunwithJDK1.4%3F">Can CXF run with JDK 1.4?</a></li><li><a shape="rect" href="#FAQ-CanCXFrunwithouttheSunreferenceSAAJimplementation%3F">Can CXF run without the Sun reference SAAJ implementation?</a></li><li><a shape="rect" href="#FAQ-AretherecommercialofferingsofCXFthatprovideservices%2Csupport%2Candadditionalfeatures%3F">Are there commercial offerings of CXF that provide services, support, and additional features?</a></li><li><a shape="rect" href="#FAQ-IsthereanApacheCXFcertificationprogram%3F">Is there an Apache CXF certification program?</a></li></ul><li><a shape="rect" href="#FAQ-JAXWSRelated">JAX-WS Related< /a></li><ul><li><a shape="rect" href="#FAQ-Thepartsinmygeneratedwsdlhavenamesoftheform%22arg0%22%2C%22arg1%22%2C...Whydon%27ttheparts%28andJavageneratedfromthem%29usetheniceparameternamesItypedintotheinterfacedefinition%3F">The parts in my generated wsdl have names of the form "arg0", "arg1", ... Why don't the parts (and Java generated from them) use the nice parameter names I typed into the interface definition?</a></li><li><a shape="rect" href="#FAQ-HowcanIaddsoapheaderstotherequest%2Fresponse%3F">How can I add soap headers to the request/response?</a></li><li><a shape="rect" href="#FAQ-HowcanIturnonschemavalidationforjaxwsendpoint%3F">How can I turn on schema validation for jaxws endpoint?</a></li><li><a shape="rect" href="#FAQ-AreJAXWSclientproxiesthreadsafe%3F">Are JAX-WS client proxies thread safe?</a></li></ul><li><a shape="rect" href="#FAQ-SpringRelated">Spring Related</a></li><ul><li><a shape="rect" href="#FAQ-WhenusingSpringAOPtoenablethingsliketransactionsandsecur ity%2CthegeneratedWSDLisverymessedupwithwrongnamespaces%2Cpartnames%2Cetc...">When using Spring AOP to enable things like transactions and security, the generated WSDL is very messed up with wrong namespaces, part names, etc...</a></li></ul></ul></div> +<ul><li><a shape="rect" href="#FAQ-General">General</a></li><ul><li><a shape="rect" href="#FAQ-CanCXFrunwithJDK1.7%3F">Can CXF run with JDK 1.7?</a></li><li><a shape="rect" href="#FAQ-CanCXFrunwithJDK1.6%3F">Can CXF run with JDK 1.6?</a></li><li><a shape="rect" href="#FAQ-CanCXFrunwithJDK1.5%3F">Can CXF run with JDK 1.5?</a></li><li><a shape="rect" href="#FAQ-CanCXFrunwithouttheSunreferenceSAAJimplementation%3F">Can CXF run without the Sun reference SAAJ implementation?</a></li><li><a shape="rect" href="#FAQ-AretherecommercialofferingsofCXFthatprovideservices%2Csupport%2Candadditionalfeatures%3F">Are there commercial offerings of CXF that provide services, support, and additional features?</a></li><li><a shape="rect" href="#FAQ-IsthereanApacheCXFcertificationprogram%3F">Is there an Apache CXF certification program?</a></li></ul><li><a shape="rect" href="#FAQ-JAXWSRelated">JAX-WS Related</a></li><ul><li><a shape="rect" href="#FAQ-Thepartsinmygeneratedwsdlhavenamesoftheform%22 arg0%22%2C%22arg1%22%2C...Whydon%27ttheparts%28andJavageneratedfromthem%29usetheniceparameternamesItypedintotheinterfacedefinition%3F">The parts in my generated wsdl have names of the form "arg0", "arg1", ... Why don't the parts (and Java generated from them) use the nice parameter names I typed into the interface definition?</a></li><li><a shape="rect" href="#FAQ-HowcanIaddsoapheaderstotherequest%2Fresponse%3F">How can I add soap headers to the request/response?</a></li><li><a shape="rect" href="#FAQ-HowcanIturnonschemavalidationforjaxwsendpoint%3F">How can I turn on schema validation for jaxws endpoint?</a></li><li><a shape="rect" href="#FAQ-AreJAXWSclientproxiesthreadsafe%3F">Are JAX-WS client proxies thread safe?</a></li><li><a shape="rect" href="#FAQ-Thegeneratedwsdl%28GETrequestonthe%3Fwsdladdress%29doesn%27tcontainthemessages%2Ctypes%2CportType%2Cetc...WhatdidIdowrong%3F">The generated wsdl (GET request on the ?wsdl address) doesn't contain the messages, types, portTy pe, etc... What did I do wrong?</a></li></ul><li><a shape="rect" href="#FAQ-SpringRelated">Spring Related</a></li><ul><li><a shape="rect" href="#FAQ-WhenusingSpringAOPtoenablethingsliketransactionsandsecurity%2CthegeneratedWSDLisverymessedupwithwrongnamespaces%2Cpartnames%2Cetc...">When using Spring AOP to enable things like transactions and security, the generated WSDL is very messed up with wrong namespaces, part names, etc...</a></li></ul></ul></div> <h2><a shape="rect" name="FAQ-General"></a>General</h2> @@ -155,9 +155,6 @@ Apache CXF -- FAQ <p>Yes. Keep in mind though that Java 2 SE 5.0 with JDK 1.5 has reached end of life (<a shape="rect" class="external-link" href="http://www.oracle.com/technetwork/java/eol-135779.html" rel="nofollow">EOL</a>).</p> -<h3><a shape="rect" name="FAQ-CanCXFrunwithJDK1.4%3F"></a>Can CXF run with JDK 1.4?</h3> - -<p>No. Many of the technologies that CXF is based on require JDK 1.5. JAX-WS, JAXB, etc. all require JDK 1.5 features such as generics and annotations. Note that J2SE 1.4 with JDK 1.4 has reached end of life (<a shape="rect" class="external-link" href="http://www.oracle.com/technetwork/java/eol-135779.html" rel="nofollow">EOL</a>).</p> <h3><a shape="rect" name="FAQ-CanCXFrunwithouttheSunreferenceSAAJimplementation%3F"></a>Can CXF run without the Sun reference SAAJ implementation?</h3> @@ -268,6 +265,11 @@ headers.add(dummyHeader); <p>For most "simple" use cases, you can use CXF proxies on multiple threads. The above outlines the workarounds for the others. </p> +<h3><a shape="rect" name="FAQ-Thegeneratedwsdl%28GETrequestonthe%3Fwsdladdress%29doesn%27tcontainthemessages%2Ctypes%2CportType%2Cetc...WhatdidIdowrong%3F"></a>The generated wsdl (GET request on the ?wsdl address) doesn't contain the messages, types, portType, etc... What did I do wrong?</h3> + +<p>Usually this means the wsdl at that address contains the service and binding, but uses a <wsdl:import> element to import another wsdl (usually at ?wsdl=MyService1.wsdl type address) that defines the types, messages, and portType. The cause of this is different targetNamespaces for the Service Interface (mapped to the port type) and the service implementation (mapped to the Service/Binding). By default, the targetNamespace is derived from the package of each of those, so if they are in different packages, you will see this issue. Also, if you define a targetNamespace attribute on the @WebService annotation on one of them, but not the other, you will likely see this as well. The easiest fix is to update the @WebService annotation on BOTH to have the exact same targetNamespace defined. </p> + + <h2><a shape="rect" name="FAQ-SpringRelated"></a>Spring Related</h2>