WSDL generates properly for SOAP web services (JAXB) if we use JAXB Default data type like java.lang.String(xsd:string), but it gives problem when we use custom java classes as request object for web method
class GetPersonRequest
{
String person;
}
we have tried adding @XMLType annotation to the java class (request class GetpersonRequest) but still no luck , appreciate any help on this
@XMLRootElementto define the root tag and an@XMLElementor@XMLAttribute, etc. on the object property for it to give you something.WASWSDLGenera E WSWS7054E: The Web Services Description Language (WSDL) file could not be generated for the <ClassName> Web service implementation class because of the following error: java.lang.Exception: A WSDL Definition could not be generated for the implementation class: <ClassName>, in mean time we came across we have missed jaxb.index file, now we are adding that file and will test itWASWSDLGenera E WSWS7054E: The Web Services Description Language (WSDL) file could not be generated for the <RequestClassName> Web service implementation class because of the following error: java.lang.Exception: A WSDL Definition could not be generated for the implementation class: < RequestClassName >