hello below is my asmx file code
[WebMethod]
public string[] Test(string refId, string CustId)
{
string Message =string.Empty;
try
{
Status[0] = refId;
Status[1] = "Success";
return Status;
//return Status;
}
catch (Exception ex)
{
return Status;
}
return Status;
}
i added wsdl in soap ui
request soap
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/"> <soap:Header/>
<soap:Body>
<tem:Test> <!--Optional:-->
<tem:refId>123456</tem:refId> <!--Optional:-->
<tem:CustId>2332313</tem:CustId>
</tem:Test>
</soap:Body>
</soap:Envelope>
i want response like below
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body> <TestResponse xmlns="http://tempuri.org/"/>
<refId>2014113434664499</refId>
<status>Success</status>
</soap:Body>
</soap:Envelope>
but i am not geeting above response