I have a problem in using WSDL2Java
the elements of type foo are resolved in type string
and in the soap message a string object wil be sent
but i want to send an object of type foo
I would like to obtain a generated class foo.java that extends String
How can do that?
<types>
<schema
targetNamespace="http://astroproject.org/BusinessProcesses/Flight"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="foo" type="xsd:string"/>
</schema>
</types>
.....
<message name="requestMsg">
<part name="foo" element="tns:foo"/>
</message>