Hi, The SayHi and SayHiResponse are just wrappers around string request/response. They are necessary, because only a string cannot be sent as a valid XML. The wrapper types are generated by default on the base of method name (sayHi), so you don't need to define them explicitly in java code. You can customize the wrapper using javax.xml.ws.RequestWrapper and javax.xml.ws.ResponseWrapper annotations. Please refer JAX-WS spec for further details: https://jcp.org/aboutJava/communityprocess/mrel/jsr224/index3.html
Regards, Andrei. > -----Original Message----- > From: Eric J. Van der Velden [mailto:[email protected]] > Sent: Mittwoch, 25. Oktober 2017 15:47 > To: [email protected] > Subject: In the java_first_jaxws sample of cxf there are no SayHi and > SayHiResponse types. > > In the java_first_jaxws sample of cxf there are for example no SayHi and > SayHiResponse types. > > Why not? Aren't they needed for (de)serialization? > > In the wsdl_first sample, types like GetCustomersByName and > GetCustomersByNameResponse are there, and in the debugger I saw that they > are used. > > When I use java2ws, SayHi and SayHiResponse are there. > > Thanks!
