Click here to Skip to main content
11,581,515 members (64,271 online)
Rate this: bad
good
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
0 OriginalGriff 340
1 Sergey Alexandrovich Kryukov 160
2 virusstorm 114
3 Frankie-C 105
4 RyanDev 84
0 OriginalGriff 1,273
1 Sergey Alexandrovich Kryukov 895
2 Abhinav S 597
3 F-ES Sitecore 500
4 Suvendu Shekhar Giri 433


Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 28 Feb 2012
Copyright © CodeProject, 1999-2015
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