java - Dealing with ArrayOfXsdAnyType -


my wsdl file element looks this

<element name="gethemodialysishospitalresponse"> <complextype ><sequence><element name="gethemodialysishospitalreturn" type="impl:arrayof_xsd_anytype"/></sequence> </complextype> </element> 

when try data in soap ui i’m getting response

request

<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://serviceimpl.com.echannelling">    <soapenv:header/>    <soapenv:body>       <ser:gethemodialysishospital/>    </soapenv:body> </soapenv:envelope> 

response

<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance">    <soapenv:body>       <gethemodialysishospitalresponse xmlns="http://serviceimpl.com.echannelling">          <gethemodialysishospitalreturn>             <gethemodialysishospitalreturn xsi:type="ns1:hospital" xmlns:ns1="http://serviceimpl.com.echannelling">                <ns1:hosid xsi:type="xsd:string">h56</ns1:hosid>                <ns1:hosname xsi:type="xsd:string">the singapore clinic</ns1:hosname>             </gethemodialysishospitalreturn>          </gethemodialysishospitalreturn>       </gethemodialysishospitalresponse>    </soapenv:body> </soapenv:envelope> 

but i’m not able same return value in code using java how value "the singapore clinic" in code. generated method returns data type arrayofxsdanytype returning empty set in code


Comments

Popular posts from this blog

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

amazon web services - When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error -

c# - How to set the datatextfield value instead of the value on a drop down list? -