soapui - [SOAP]HV000116: The object to be validated must not be null -
i trying valid response soap service using soap ui tool.
i have formed below request whilst checking type in corresponding wsdl.
<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:b010.service.domain.xxx.co.jp" xmlns:xsd="http://b010.app.xxx.co.jp/xsd" xmlns:xsd1="http://constructionprojectifreceiving.bean.xxx.co.jp/xsd" xmlns:xsd2="http://bean.com.xxx.co.jp/xsd"> <soapenv:header/> <soapenv:body> <urn:constructionquotationdetailsservice> <!--optional:--> <urn:param> <!--zero or more repetitions:--> <xsd:attachbean> <!--optional:--> <xsd1:filenmlogic>str</xsd1:filenmlogic> <!--optional:--> <xsd1:filenmphysics>str</xsd1:filenmphysics> </xsd:attachbean> <!--optional:--> <xsd:commonbean> <!--optional:--> <xsd2:action>str</xsd2:action> <!--optional:--> <xsd2:authcode>authcode</xsd2:authcode> <!--optional:--> <xsd2:invoker>authcode</xsd2:invoker> <!--optional:--> <xsd2:receiver>authcode</xsd2:receiver> </xsd:commonbean> <!--optional:--> <xsd:completebean> <!--optional:--> <xsd1:completecomment>comment</xsd1:completecomment> <!--optional:--> <xsd1:enddt>?</xsd1:enddt> <!--zero or more repetitions:--> <xsd1:foundationcontent>content</xsd1:foundationcontent> <!--optional:--> <xsd1:foundationcontentother>content</xsd1:foundationcontentother> <!--optional:--> <xsd1:manpower>4</xsd1:manpower> <!--optional:--> <xsd1:resultcomment>content</xsd1:resultcomment> <!--optional:--> <xsd1:serialversionuid>content</xsd1:serialversionuid> <!--optional:--> <xsd1:startdt>content</xsd1:startdt> </xsd:completebean> <!--zero or more repetitions:--> <xsd:detailbean> <!--optional:--> <xsd1:amount>amount</xsd1:amount> <!--optional:--> <xsd1:detailno>1</xsd1:detailno> <!--optional:--> <xsd1:partsnm>parts</xsd1:partsnm> <!--optional:--> <xsd1:qty>2</xsd1:qty> <!--optional:--> <xsd1:remarks>nothing</xsd1:remarks> <!--optional:--> <xsd1:serialversionuid>uid1</xsd1:serialversionuid> <!--optional:--> <xsd1:unit>1</xsd1:unit> <!--optional:--> <xsd1:unitprice>20</xsd1:unitprice> </xsd:detailbean> <!--optional:--> <xsd:headerbean> <!--zero or more repetitions:--> <xsd1:foundationcontent>fc</xsd1:foundationcontent> <!--optional:--> <xsd1:foundationcontentother>fco</xsd1:foundationcontentother> <!--optional:--> <xsd1:foundationkb>fkb</xsd1:foundationkb> <!--optional:--> <xsd1:foundationno>2</xsd1:foundationno> <!--optional:--> <xsd1:linkdt>gfg</xsd1:linkdt> <!--optional:--> <xsd1:linkkb>kb</xsd1:linkkb> <!--optional:--> <xsd1:linktype>test</xsd1:linktype> <!--optional:--> <xsd1:offercomment>test</xsd1:offercomment> <!--optional:--> <xsd1:offerdt>test</xsd1:offerdt> <!--optional:--> <xsd1:totalamount>45</xsd1:totalamount> <!--optional:--> <xsd1:tradercd>test</xsd1:tradercd> <!--optional:--> <xsd1:tradernm>test</xsd1:tradernm> </xsd:headerbean> <!--optional:--> <xsd:planbean> <!--optional:--> <xsd1:plancomment>test</xsd1:plancomment> <!--optional:--> <xsd1:plandt>test</xsd1:plandt> </xsd:planbean> <!--zero or more repetitions:--> <xsd:workerbean> <!--optional:--> <xsd1:workercd>ty</xsd1:workercd> <!--optional:--> <xsd1:workernm>name</xsd1:workernm> </xsd:workerbean> </urn:param> </urn:constructionquotationdetailsservice> </soapenv:body> </soapenv:envelope> i getting below response:
<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:body> <soapenv:fault> <faultcode>soapenv:server</faultcode> <faultstring>hv000116: object validated must not null.</faultstring> <detail/> </soapenv:fault> </soapenv:body> </soapenv:envelope> below soap ui logs:
wed jul 26 12:27:55 ist 2017:debug:stale connection check wed jul 26 12:27:55 ist 2017:debug:attempt 1 execute request wed jul 26 12:27:55 ist 2017:debug:sending request: post /xxx/services/constructionquotationdetailsservice.constructionquotationdetailsservicehttpsoap11endpoint/ http/1.1 wed jul 26 12:27:55 ist 2017:debug:receiving response: http/1.1 500 internal server error wed jul 26 12:27:55 ist 2017:debug:connection can kept alive indefinitely wed jul 26 12:27:55 ist 2017:info:got response [constructionquotationdetailsservicesoap11binding.constructionquotationdetailsservice:request 1] in 435ms (321 bytes) wed jul 26 12:28:28 ist 2017:debug:connection closed
there no error log generated. beginner in using soap ui, insight in understanding fault text great help.
Comments
Post a Comment