I am working with a legacy webservice, and they supplied us their WSDL to work with.
Now my problem is, that every function specifies the same argument and return type. And this type is then specified as being string!
Example:
<definitions targetNamespace="java:the.custom.namespace" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="java:the.custom.namespace" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types>
<schema targetNamespace="java:the.custom.namespace" xmlns="http://www.w3.org/1999/XMLSchema" />
</types>
<message name="LegacySystemRequest">
<part name="arg0" type="xsd:string" />
</message>
<message name="LegacySystemResponse">
<part name="return" type="xsd:string" />
</message>
<portType name="LegacySystemPortType">
<operation name="HelloWorld">
<input message="tns:LegacySystemRequest" />
<output message="tns:LegacySystemResponse" />
</operation>
</types>
I am not familiar with creating webservices in Java, but is there an obvious thing they could be doing wrong since they are not exposing the structure of their DTOs? I know from examples that they are complex, so I do not want to write to hardcode them all into my code. Is there any technical hints I could give them?