Click here to Skip to main content
12,405,543 members (66,551 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Apache WebService
I am passing a envelop to web service which takes the ID and password as input along with some message and returns the specific output.

The input envelop I am passing is :
INPUT ENVELOP:
 
<?xml version='1.0' encoding='utf-8'?>
   <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
                   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <soap:Body>
               <GenerateUID xmlns="http://tempuri.org/">
                         <strUploadXML xmlns="">Sample Test Data</strUploadXML>
                         <UserId xmlns="">PSK</UserId>
                         <Password xmlns="">GTU</Password>
                </GenerateUID>
           </soap:Body>
     </soap:Envelope>


As a result of which I am getting a response as:

<?xml version='1.0' encoding='utf-8'?>
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
                     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
             <soap:Body>
                  <GenerateUIDResponse xmlns="http://tempuri.org/">
                            <GenerateUIDResult>Authentication failed!</GenerateUIDResult>
                  </GenerateUIDResponse>
             </soap:Body>
      </soap:Envelope>



Is this a valid response because I am not able to identify whether tere is some problem in calling the web service or the web service is returning the message because of wrong user ID and Password.
Posted 28-Feb-12 1:35am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 28 Feb 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100