Not able to open the WSDL by using Soap UI - web-services

Not able to create a new project in Soap UI.
Getting the error msg: "there was something wrong with the wsdl you are trying to import soapui"
But able to open the WSDL in web browser.The WSDL is alive.When i opened the WSDL in web browser,getting the XML data.
URL format is: http://servername.com:1111/test.asmx?wsdl
Please help me out of this.

You could try to use the latest maintenance version (4.6.4-maintenance). It contains some fixes for fetching WSDLs that might fix your problem. It is available at http://www.soapui.org/Downloads/soapui-nightly-builds.html.

Related

Creating a New Web Service Consumer Domino

I am trying to import a WSDL in to my Domino Designer 9.0.1 client. I have downloaded the WSDL file and specify it in the Local File part of the wizard.
I click OK and get the error
"The requested operation failed. Server redirected too many times (20)"
I have imported other WSDL's without a problem and the only difference with the one I now need, is that I need to login to see the WSDL.
Does this stop the wizard?
If so, is the only option writing the java agent from scratch to access the data?
Obviously I cannot provide the actual wsdl I am trying to attach to as it is a paid service, so not sure what other information I can provide to help find a solution.
Thanks
Graeme

Can I generate a wsdl file without binding and service information?

I came across an issue where a customer is able to open a SAP wsdl using net-beans as well as in .Net but not in soap UI.
When i checked the wsdl i found that service as well as binding tags are not defined or no such tags included. wsdl ends with port-type information.
In soap UI i got an error like no content in the file and when i try to open it in eclipse i am able to open it using web explorer window, but service as well binding information fields are empty. I could see ws-policy elements in customers wsdl.
How he might have produced a wsdl without binding and service information ?
What would be the reason he is telling it is working in .Net?
I am not sure about .Net tools.
Is there any web service client tool which can open the operations without endpoint /service information and send request/response ?..
please help
thank you for your time.
I only know a bit about the first question, can't help you with the other ones...
You can request two "flavors" of WSDL from a NW/ABAP system. This is related to the fact that the implementation (programming) of the service is usually performed on a different system and by different people than the configuration of the service.
After the service (or rather a service definition) has been implemented, you can get what's called a "design-time WSDL document". This document does not include the endpoint information - it cannot, because that would require technical information about the target system landscape and its configuration that is simply not available yet.
From the service definition, an administrator can create a configuration. This includes the binding information as well as stuff like base URL, security settings, transport layer settings and so on. With this configuration, you can generate a second WSDL document that contains the actual endpoint configuration.

Unable to load wsdl link in soap ui

Any buddy know how to resolve this issue.
Soap ui is not able to load WSDL link.
Please check the attached image. and let me the solution please.
It's probably a proxy/firewall problem. See if you can get that WSDL to load in a web browser. If so, check to see if your web browser is configured to use a proxy. I bet it is. In that case, you will need to use the same proxy setup in SoapUI.
I was able to get that WSDL to load without issue.
In SoapUI, go to:
File
New SoapUI project
Enter a project name
Paste the URL in the 'Initial WSDL/WADL' field
Click 'Ok'.
NOTE: I was able to do this using SoapUI Pro.
I solve this issue, it probably happened by firewall/proxy configuration issue.
Go to SoapUi Vmoptions in bin folder on Program files
Edit in notepad and add these below command to Vm options
-Dsoapui.https.protocols=SSLv3,TLSv1.2
And save it, then restart entire soap UI application.
First try to open that wsdl in a browser if you are able to open it there then you should be able to open it in soapUI. You should also check if there is any proxy being used on the browser or you have an incorrect proxy setup in soapUI.
I am able to open this url on my broswer and import it in soapUI.
I have downloaded the WSDL file which you should be able to use in soapUI to create a project without any issues. Check the link below, it will be available for 2 days.
https://docs.google.com/file/d/0B7mJBdNSSV-YWTdIXzYwcTJDaWs/edit?usp=sharing

SOAP Web Service basics

am new on WS.
some simple questions in my mind, please try to solve it.
i did a demo WS for Calculator on calculator(), where it has one UI where i enter values for it, internally pass it to WS. Ok i got answer/output. but if i want to create only webservice which take/give xml data or just give xml data. how can i create it.
i found some WS URL's about some fame company. is it used by using by opening Connection. how they define this URL? am using MyEclipse10 when i went to create new WS, needed to use Java Bean class for create it. ok, if i create myWS url then how it ll get call? because it is JavaBean?
and if just want to create WS then i need not required to create New WS client?
i dont know it is simple or may be foolish question, when i walk on WS i stop here. i feel like , without basic knowledge started to build it.
please, clear it.
Thanx.
MyEclipse (as well as Eclipse, IBM D Developer, etc) let you create a Java Web service server in one of two ways:
Bottom up Java Bean: you supply a bean, it turns it into a WSDL (and generates the corresponding stub code)
Top down WSDL: you supply a WSDL, and it generates the corresponding stub code
When a company creates a web page, they set up a web server and publish some HTML pages on it.
When a company publishes a WSDL, they also set up a web server ... and publish an XML WSDL on it.
The URL you go to in order to read a WSDL is just an ordinary HTTP web server, that happens to be serving an XML WSDL at that location.
The WSDL specifies where the service can be found, and what operations and data types the service uses. A WSDL you create, or a WSDL that's published by some other company.
'Hope that helps

Creating a crystal report in a web service that uses XMLRPC

I have looked into everything but I think this is a unique problem. I have a web service in my website. This web service uses XMLRPC.NET but that hardly matters. i use this web service to get the string sent by the client and convert it into XML.This all is working fine. But the real problem is: I have a .aspx that uses the above written xml to generate a crystal report and save it as a PDF. The problem is I cannot call the .aspx page from my web service as response. redirect does not work. I tried writing the complete crystal report generation and PDF save logic in the web service method but it does not work because the CrystalReportViewer1.reportsource gives an error as it does not recognize the CrystalReportViewer1 in the current context. is there any way that I can do this by redirecting or by using the crystal report logic in the web service or any other way. Seems a little complicated but any help will be greatly appreciated. Please need help.
Thank You