In the cxf-wsdl-first example shipped with kit we need use a browser to send request to test the example functionality.
However, there is a known issue that chrome by default enable CORS (Cross-Origin Resource Sharing) , and as the example client.html is loaded from file:///, then the request to a http:// is across the domain which is not allowed.
As a workaround, customer can start chrome like
chrome --disable-web-security
to ensure request from file:// to http:// can pass through.

Or just use firefox as the browser to send out the test request.

  • No labels