The file compiles fine if I use any of the Java defined types. It seems to me like weblogic webservice doesn't support user defined types or might require some other attribute in the jwsc command to successfully compile the file. I am trying to use a type from an XSD.
Could someone help me in figuring out what the problem is?
Its not that SOAP doesn't help in sending user defined types over the network. The types which I like to define are known to the consumers of the webservice. I have thought out a way, i.e., to use the includeSchemas attribute in the jws ant task and specify the XSD which defines the custom type. I will have to implement this and see if it works. Also, since my project is already implementing SOAP services, I will not prefer to use RESTful service now.