Contributions
Re: How can I use data from response to next request
Hello, I works correctly - thanks a lot for your help. Unfortunately I have one more questions: 1. How can I use this when I have more than one ID, for egazmple, when I have something like this: <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> <SaveCreditCardResponse xmlns="http://www.ibe.voyager.rsd.de-v1"> <SaveCreditCardResult> <ID>20</ID> </SaveCreditCardResult> <SaveBankResult> <ID>20</ID> </SaveBankResult> </SaveCreditCardResponse> </soap:Body> </soap:Envelope> I assume that local-name() does not work here. Best Regards Katarzyna2.1KViews0likes0CommentsRe: How can I use data from response to next request
Hi, This is whole response: <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> <SaveCreditCardResponse xmlns="http://www.ibe.voyager.rsd.de-v1"> <SaveCreditCardResult> <ID>20</ID> </SaveCreditCardResult> </SaveCreditCardResponse> </soap:Body> </soap:Envelope> I get only one ID, but when I reduce it to//ID - I still get Transferred Values: [null]. Best Regards Katarzyna2.1KViews0likes0CommentsHow can I use data from response to next request
I send SOAP request, and get response: <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> <SaveCreditCardResponse xmlns="http://x"> <SaveCreditCardResult> <ID>10</ID> </SaveCreditCardResult> </SaveCreditCardResponse> </soap:Body> </soap:Envelope> I would like to use this ID in next request - how can I do this?3.7KViews0likes10CommentsRe: Problem with plaing Web service test
I check operating system and IIS version - we have Windows Server 2008 R2 Enterprise and IIS 7.5. I also check this problematic response, and I get this (it is SOAP response): <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> <soap:Fault> <soap:Code> <soap:Value>soap:Receiver</soap:Value> </soap:Code> <soap:Reason> <soap:Text xml:lang="de">System.Web.Services.Protocols.SoapException: Could not find stored procedure 'sp_name'.</soap:Text> </soap:Reason> <soap:Node>Url to WbeService</soap:Node> <detail> <message>Could not find stored procedure 'sp_name'.</message> <baseExceptionClass>System.Data.SqlClient.SqlException</baseExceptionClass> <code>2812</code> </detail> </soap:Fault> </soap:Body> </soap:Envelope> And I would like to get the same in TC, because now I can tell developers where is bug. I hope it is possible.2.5KViews0likes0CommentsRe: Problem with plaing Web service test
Hello, Thanks a lot it was very helpful. Unfortunately I still have some problems with methods including bugs. TestComplete show me error during calling method, so I do not get any other info. Do you have any idea how can I prevent that case? I will be waiting for your help.2.5KViews0likes0Comments