Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Just follow bellow step</p> <p><strong>Step1:</strong> Add Service References by right click on add References.</p> <p><strong>Step2:</strong> Now put your web service link on Service References and press go button, And also add Namespace of service Reference <img src="https://i.stack.imgur.com/FzS9D.png" alt="enter image description here"></p> <p><strong>Step3:</strong> Now add using <code>Newtonsoft.Json.Linq;</code> name space in your .cs file </p> <p><strong>Step4:</strong> Now add bellow code in your cs file </p> <pre><code> WhatsupServices.WhatsUpServiceSoapClient ws = new WhatsupServices.WhatsUpServiceSoapClient(); ws.ContactUsJSONCompleted += ws_ContactUsJSONCompleted; ws.ContactUsJSONAsync(txtContactUsName.Text, txtContactUsPhone.Text, txtContactUsEmail.Text, txtContactUsComment.Text); </code></pre> <p><strong>step6:</strong> now genrate your resopnce method </p> <pre><code> void ws_ContactUsJSONCompleted(object sender, dynamic e) { if (e.Error != null) { MessageBox.Show(LogIn.NetworkBusyMsg, LogIn.MsgHdr, MessageBoxButton.OK); busyIndicator.IsRunning = false; } else { busyIndicator.IsRunning = false; string Result = e.Result; JObject obj = JObject.Parse(Result); string ResultCode = (string)obj["ResultCode"]; string ResponceMessage = (string)obj["ResponseMessage"]; if (ResultCode == "1") { MessageBox.Show("Thank you for your message. We'll get back to you soon.", LogIn.MsgHdr, MessageBoxButton.OK); NavigationService.GoBack(); } else { } } } </code></pre> <p>Hope it will help you.</p> <p>If any query than comment here.I wll help you </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload