Hi,
I am able to open WSDL file in browser successfully and this is unsecured url, still do i need to set up security settings? I did not select "Include security settings in the generated web service test" from web service testing wizard.
Hi,
Please verify below mentioned settings.
1. Identify which dot net framework it is using.
2. If the Webservice is .Net 2.0 based one. In QTP's File-> Settings->Web Service -> Run Webservice using Toolkit , selected the item ".Net framework 2.0 WS 3.0".
3. Try doing Check the checkbox for "Include scurity settings" in the generated web servvice test.
4. you can use Winhttp object to verify alternatively. (like- Set WinHttpReq = CreateObject("WinHttp.WinHttpRequest.5.1")
Query:
1. Which token have you selected in the security setting?
2. Is there any SSL layer.
Hi,
Ok. Thanks.
1. Are you using SetProxy Method?
2. Is this setting Ok? "File -> Settings ->Web Services Tab -> Selected Apache Axis 1.x"
3. Can you please try with this public service--> http://www.webservicex.net/ConvertTemperature.asmx
Thanks, I was able to generate the steps with checkpoints for provided URL from you. But i am unable to do it for my WSDL. Also i checked all settings are set for Apache Axis 1.x. I am wondering why it is not working for me?
Snapshot is attached for the reference.
Also please let me know what is the other alternate?
1. Just verify giving the path for WS-I validation location as
C:\<Test Folder>
2. Use the WS- I validation tool to test the web services and its interoperability basically. Interoperability Testing Tools 1.1, is a third-party application and is not provided with QTP.
I could think of the following alternate solution:
You can use XML DOM, WinHttp and templates for verifying the web services XML.
Hi!
I'm new automating Web Services. I have no problem when all in XML Request structure it's ok, but when I try to send a request with invalida Data, All the time QTP shows me this message:
The createOffer operation call failed.
The .NET Framework 2.0 WSE 3.0 toolkit returned the following error:
There is an error in XML document (37, 10).
Exception from: System.Xml
The string '' is not a valid AllXsd value.
Line (24): "Set createOffer = WebService("WSOfferImplService").createOffer(XMLWarehouse("createOffer"))".
But I need to send the request exactly with invalida data, what can I do?