CMD commands: Conjuction [wsgen: wsdl and inlineScemas]

54 views Asked by At

-inlineSchemas This option produces inline schemas in the generated wsdl. This must be used in conjunction with the -wsdl option.

Above lines are written in Oracle docs "https://docs.oracle.com/javase/9/tools/wsgen.htm#JSWOR739",

My command: wsgen -verbose -keep -cp . net.example.services.Tryservice -wsdl-inlineSchemas

where "net.example.services.Tryservice" is the path to class file of my java project and wsdl along with inlineSchemas are commands to generate wsdl.

Am i doing correct conjuction of both commands wsdl and inlineSchemas??

Thank you :)

1

There are 1 answers

0
Dazel On

The correct format is

wsgen -verbose -keep -cp . net.example.services.Tryservice -inlineSchemas -wsdl