I have a complex class that, for the time, only holds a single element.
While WSDL2Java runs successfully (without errors) no stub is created
for this complex type.  Further, a call to this operation returns a type
of the element being held by the complex type, rather than the complex
type itself.

 

While troubleshooting, I was able to 'fix' this by adding any second
element.  Running WSDL2Java then creates the class for the complex type.
Obviously since is not the fix I want, I'm wondering if there is a way
around this - specifically: I want a complex type to be created that
holds a single element.

The odd thing about this is I was able to generate a complex Request
Type with a single element just fine - the Response Type is the only one
having an issue.  By design?

Please advise.

Thank you,

Devin

 

Reply via email to