Include certificate for webservice - web-services

Is it possible to call webservice in Delphi with certificate loaded from SQL base?
I need to make a webservice which logins with certificate which is saved as image in SQL base, and would need to be loaded from it and then called with webservice desipe not being installed in Store on a device currently using it using class generated by WDSL.

Related

Calling Webservice in dll and then calling dll from asp.net webform generate error

This image is calling webservice object
This is app.config settings
Here is webform where i call this method to save data
This error Appears
Check app.config. Set port address after localhost.

How to call web service or rest api from jaspersoft Studio Proffessional?

I want call web service or rest API from jaspersoft Studio Proffessional proffesional, I tired to create JSON file/XML file adapter and putted http://api.population.io:80/1.0/countries in File or url section but it's not working.
Is there any other way to call web services or rest API from jasperstudio proffessional or I can add some web service adapter to jaspersoft studio proffesional?
In my jasper studio there is not adapter which connect to web service or rest api and use them as data source.
Note: my jasperstudio version is : 6.2
Thanks.
Use a local JSON file to check if it works. If not, the problem is in your JSON (or better in the expression you are using to get records out of it, or even the way you are mapping your fields).

Crypto API CSR process

I want to request a certificate from my own CA. I know how to create a CSR (https://msdn.microsoft.com/en-us/library/windows/desktop/aa382364(v=vs.85).aspx) and send it, but, assuming that the server responds with a certificate, how do I "join" the two certificates to one?
I could use IE to do it for me but my users will not even know how to open IE in Windows 10 and, besides, our root certificate must be installed as well, I have to create a local application.
I checked the certificate enrollment API but I do not know how to setup my PHP app to be compatible with it.

Generating a WCF client for MODIS Web Service

I want to create a WCF client for MODIS Web Service available on this website: http://daac.ornl.gov/MODIS/MODIS-menu/modis_webservice.html There is a link to WSDL file, which can I use to generate proxy class. The problem is, that this file is somehow malformed, I cannot create clients with .NET tools like Add Service Reference, wsdl.exe or svcutil.exe. When I try to generate proxy class through website, I get following response:
I've tried to download the WSDL file and create proxy class from local copy, but then I've got this error:
These errors are the same for Add Service Reference and for console output of wsdl.exe and svcutil.exe utils. Is there any other way to create a WCF client to this service or is it impossible in .NET?
EDIT-----
I've managed that the problem occurs, becouse the WSDL is in RPC/Endoded standard and .NET tools cannot handle it properly. I've tried to convert it to Document/literal standard but it's still not working. Can somebody look at my WSDL file and check what I have wrong? It's available under this link: https://wklej.to/67rR7
removing wsdl:documentation blocks inside the element
tags helps to generating codes via svcutil.exe or wsdl.exe.
Baseline for this solution
Hopes this helps.

Use CXF client api with Java web application

How to consume Web service suing Apache CXF client API.
I have generated the client Code using eclispe but I didn't found any document specifying how to use that generated code in my web application.
How to configure CXF? I am using tomcat to run my java web appliation.
How to use the generated code?
Do I need to add anyhting in my my web.xml?
I have downloaded CXF binaries from apache CXF website but don't know which libraries are needed. I am affraid i may end up adding all the jars.
I am using Tomcat 7, Java 1.6 and plane jsp/Servlet for my application
I am new to web services.
Thanks in advance
One sample code that may help.
URL wsdlurl=SOAPWebServiceTransport.class.getClassLoader().
getResource("my.wsdl");
// MyService will be one of the service class that you have generated (with different name ofcourse)and which must be extending Service class
//getOnlineServicePort will be a method (with different name ofcourse) in your service class which will give you the interface referrer using which you'll call the webservice method
OnlinePort service= new MyService(wsdlurl).getOnlineServicePort();
Client proxy = ClientProxy.getClient(service);
//configure security user name password as required
//Add interceptors if needed
//Now you can directly call the webservice methods using the service object
service.method(parameter)
you can also refer to some example one is here