Forum Discussion

eliaquim_tasken's avatar
eliaquim_tasken
New Member
2 years ago

How to represent a object with xsd:anyType

Hi,

 

I imported a WSDL that contains a method with xsd:anyType.

 

How can I represent a object with only one property?

 

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:agen="http://AgentService.UD.concerto.com">
<soapenv:Header/>
<soapenv:Body>
<agen:getInfoResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<getInfoReturn xsi:type="xsd:anyType">?</getInfoReturn>
</agen:getInfoResponse>
</soapenv:Body>
</soapenv:Envelope>