Project: talendesb
Issue TESB-1577: WSDLException while running WS-Security (STS) enabled Rent A Car tutorial
The Rent A Car tutorial on STS enabled client-app (tesb-rac-app-sts) car:GUI running in the Secondary OSGI container is throwing the following exception. Caused by: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:import/wsdl:definitions/wsdl:types/xs:schema/xs:schema): faultCode=PARSER_ERROR: Problem parsing 'bundleentry://159.fwk1234403385/META-INF/spring/model/oasis-200401-wss-wssecurity-utility-1.0.xsd'.: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 3 of 3-byte UTF-8 sequence. Test Steps. 1. Build the STS feature. Run from directory talend-esb-/examples/tesb/rent-a-car/: mvn clean install -Psts 2. Start the STS server on directory samples/cxf/sts_issue_operation mvn -Djetty.port=9081 jetty:run 3. Run the container1 (execute ./container/bin/tesb in the talend-esb-4.0 directory). Create dir keystores. Copy file servicestore.jks from crmservice\service-endpoint-sts\src\main\resources\META-INF\spring\ to keystores directory. In ESB console, install features:addurl mvn:org.talend.esb.examples.rent-a-car/features-sts/4.0/xml Eventually (when sts example have already been installed): features:refreshurl features:install tesb-rac-services-sts 4. Run the Secondary container(execute ./alternate-container/bin/tesb in the talend-esb-4.0 directory). Create dir keystores. Copy file clientstore.jks from crmservice\client-sts\src\main\resources\META-INF\spring\ to keystores directory In Secondary ESB console, install features:addurl mvn:org.talend.esb.examples.rent-a-car/features-sts/4.0/xml Eventually (when previous examples have already been installed): features:refreshurl features:install tesb-rac-app-sts 5. Execute car:GUI in Secondary ESB console, search(find) car/reservation. Note: Log attached.
Story points: 2