none
Values missing in SOAP Request RRS feed

  • Question

  • Dears,

    I do have a post method (PaymentProcess) in a WCF Service.

    When i trigger the above method through SOAP UI it works without any issue.

    the XML Request as below :

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:uat="http://ABC.com/UATINS" xmlns:afg="http://ABC.com/AFGHPAYMENTSLOGPAYMENTPROCESS">
      <soapenv:Header>
          <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
             <wsse:UsernameToken wsu:Id="UsernameToken-6" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
                <wsse:Username>ABC</wsse:Username>
                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ABC</wsse:Password>
              </wsse:UsernameToken>
          </wsse:Security>
       </soapenv:Header>
       <soapenv:Body>
          <uat:PaymentProcess>
             <!--Optional:-->
             <CompanyCode>10002</CompanyCode>                 
             <!--Optional:-->
             <AFGHPAYMENTSLOGAAAAAPROCESSType id="ABC-123111TEST36">                      
                <!--Optional:-->
                <afg:LOANNO>AA160036Y78Z</afg:LOANNO>            
                <!--Optional:-->
                <afg:CURRENCY>USD</afg:CURRENCY>
                <!--Optional:-->
                <afg:AMOUNTPAID>10</afg:AMOUNTPAID>
                <!--Optional:-->
                <afg:PAYMENTTYPE>ONLINE</afg:PAYMENTTYPE>
                <!--Optional:-->
                <afg:REFID></afg:REFID>
             </AFGHPAYMENTSLOGAAAAAPROCESSType>
          </uat:PaymentProcess>
       </soapenv:Body>
    </soapenv:Envelope>

    But when i trigger the same using ASP.NET web page it fails saying a value for a field ("AMOUNTPAID") is missing though i am passing the value for it through the code.

    please advise,

    thanks.

    Ammar 


    • Edited by AmmarBIZ Monday, June 6, 2016 9:43 AM
    Monday, June 6, 2016 9:40 AM

Answers