Hide Forgot
project_key: SOA Fix SOA-3285 introduced another bug - the quickstart is not runnable with CXF. Problem upon running the QS: {code:title=Exception|borderStyle=solid} 10:24:22,667 ERROR [org.jboss.soa.bpel.runtime.ws.WebServiceClient] WS invocation failed org.apache.cxf.wsdl11.WSDLRuntimeException: Part Security defined as element {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security which is not in the schema. {code} CXF requires the schema to locate the Types. In my opinion best solution is to define wsse:Security element type directly in the WSDLs (./bpelContent/HelloWorld.wsdl, ./bpelContent/HelloWorldProxy.wsdl, ./bpelContent/HelloWorldWS.wsdl) to avoid SOA-3285+this issue.
Link: Added: This issue relates to SOA-3285
It seems that there is a common solution to all of this. Using include instead of import seems to work for both Native and CXF stacks: {code:title=WSDL|borderStyle=solid} ... <types> ... <xsd:schema targetNamespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://www.w3.org/2001/XMLSchema"> <xsd:include schemaLocation="oasis-200401-wss-wssecurity-secext-1.0.xsd" /> </xsd:schema> </types> ... {code}
Candidate for 5.2
Thanks for the solution Filip.
Release Notes Docs Status: Added: Not Required Writer: Added: dlesage
Verified in ER5.