Hi All,
I'm in a project goaing with strict contract first development. I our case
we;
1: model a service contract
2: export it to xml schemas and
3: generate a wsdl file containing messages and port type.
We see the service and especially the binding in the wsdl file as runtime
information that we want to be able to change during runtime, or maybe
during deploy time (we might have to go for doing this during build time,
but it is not the optimum way).
What I want to achieve is to bring my wsdl file (without binding and service
declarations) to my project, and then configure a jax-ws provider (see
below) in Spring. When a consumer is calling the service for the wsdl, I
want cxf to create the binding and the service instance in the displayed
wsdl file having the correct Sap version, policy declarations etc.
Below is a provider code snippet ...
@WebServiceProvider
@ServiceMode(value = Mode.PAYLOAD)
public class SourceJAXWSServiceEndpointProvider implements Provider<Source>
{
@Override
public Source invoke(Source requestPayloadSource) {
// here goes my code
}
}
Is this possible, and how?
Thanks for quick replies!
Kind regards
Oskar
--
View this message in context:
http://cxf.547215.n5.nabble.com/Add-binding-and-service-to-given-wsdl-tp3286149p3286149.html
Sent from the cxf-user mailing list archive at Nabble.com.