a) Missing [SEI] when generating artifacts with WSGEN
I faced this error while generating the artifacts for my Service implementation, which
needed to be exposed as a WebService.
I tried following command on command prompt to generate my classes :
wsgen -verbose -cp . com.test.ws.EchoService -wsdl
This throws me below error : WSGEN [options] <SEI>
and the reason being the utility not able to reach out or find the SEI Service Implementation class for which we might want to write a client.
What is happening here is the option " -cp " will set the classpath and try to retrieve or resolve the EchoService class location according your classpath so in my case it was build/classes hence this makes it looks as ::
build/classes/com/test/ws/EchoService but the actual path is :: C:\Users\EchoWebServiceExample\build\classes and then the package so it should be
wsgen -cp C:\Users\EchoWebServiceExample\build\classes com.test.ws.EchoService -wsdl
No comments:
Post a Comment