I currently have 2 webservices running in hospitals that work seamlessly with STCLE / ENCODED STYLE however we will implement in a software for a factory and there they have problem to consume this type of service.
It turns out that switching to DOCUMENT / LITERAL simply does nothing, there is nothing in the send header or the return header. I have tried to use the soapUI but it only says that it has an error in the WSDL and remains blank.
After much searching I came to the conclusion that it did not accept a complexType with SOAP-REF: arrayType which is where I can use associative array.
Also after much research I found this topic: link
I have a WSDL structure with style DOCUMENT / LITERAL and the difference for my structured today is that I can not encapsulate the element in the way it is done in the example:
<element name="myMethod">
<complexType>
<sequence>
<element name="x" type="xsd:int"/>
<element name="y" type="xsd:float"/>
</sequence>
</complexType>
</element>
<element name="myMethodResponse">
<complexType/>
</element>
What I can do is to create complexType and reference in element something like this:
<element name='Pedido' type='tns:LayoutPedido' />
<complexType name='layoutPedido'>
<all:sequence>
<element name='id' type='xsd:string' />
</all:sequence>
</complextType>
What I can not tell you is disturbing the reading of it.
Sorry, I can not post the original WSDL.