Forum Discussion

sarya's avatar
sarya
Frequent Contributor
15 years ago

Webservices testing query

Hi,



I am trying to test a webservices call using one XML checkpoint .I called this in my script but get an exception .I am not sure what is the reason for this exception .


function test()

{

var resultValue;

// Calling the method

resultValue = WebServices.WebService1.addGroupMembership(XML.XmlCheckpoint1);

}


test(){ resultValue;resultValue = .WebService1.addGroupMembership(.XmlCheckpoint1);}An exception occurred in the "Unit1" unit at line 7:

<soapenv:Fault xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soapenv:Server.userException</faultcode><faultstring>org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">vm2k8</ns1:hostname></detail></soapenv:Fault>



Thanks,

sumedha