Connect to https SOAP web service in asp classic - soap

I'm working on a client web site that uses asp classic and wanna to connect this web service https://acquirer.sb24.com:2789/ref-payment/ws/ReferencePayment?WSDL which uses https protocol.
this is my code :
SET oSOAPay = Server.CreateObject("MSSOAP.SoapClient30")
oSOAPay.ClientProperty("ServerHTTPRequest") = True
Call oSOAPay.mssoapinit(WebService, "ReferencePayment")
this code works with http web services. any solution to initial http soap web service?

Related

Ocelot setup to redirect user on a react application

We are doing some server set up.
We are using a Api gateway(Ocelot) installed on the server Y which will connect to Apis hosted on server X.
Server X also has a react application.
Server Y is accessible over Internet where as server X is accessible from server Y.
Now the Apis are working perfectly but the react application is not opening through the ocelot ( server Y).
So question is will ocelot open react application?
Are you deploying the ocelot api gateway in a DMZ and the react-app and web services, database behind the firewall and allow only specific access via browser, mobile.
is this a pwa site, then you should be careful about using ocelot for something that is not intended for. ocelot is an api gateway tool/technology and not unlike nginx that can perform this additional activity of routing the calls to web application and web services.
please check the documentation of ocelot api gateway, if it allows for web application routing as well.

Does altova mapforce exposes any REST APIS?

I am new to altova mapforce. I wanted to know that does Altova Mapforce exposes any kind of REST APIS so that we can supply it the input from a single page web application and get the data from the tool back in any format(JSON,XML)?
MapForce version 2022 rel 2 still can't expose REST services, only SOAP.
The SOAP service has to be compiled in an ASPX app and run on IIS.
It can consume REST and SOAP services.
You can create a REST service with the FlowForce/MapForce servers.
However ist does not support CORS.
It wouldn't work with a Single Page Web App.

How to call external REST service over SSL from Bluemix

We have developed a web application using angularjs and html5 and Node.js. This web application is hosted on Bluemix using the Node.js runtime. This web application calls an external RESTfull service (we are invoking the REST service using angularjs) which was developed by a third party. This REST API requires an HTTPS connection to call the service. The SSL certificate and certificate password are provided by the API development team. Our problem is how to configure the SSL certificate on Bluemix to call the external REST service over SSL from the web application. Can anyone please help us? Thanks in advance for your help.
To do this properly I would advice to create an API Management Service, where you add your external service as an API together with the SSL settings. You then call this API (proxy) without SSL from your node.js bluemix app.
The proxy will care for SSL, forward the request to the actual service implementation, and provide you also with debugging and analytics capabilities. With having API Management in place, you also benefit from a central place that manages your SSL certificates.

WSO2 ESB Expose a REST API keeping URI part

Say I have a REST API hosted on a webserver:
someone.com/api/
I want to expose this REST API through a proxy service using WSO2 ESB.
esb.com/api/
It should forward whatever is after esb.com/api/. So if I hit:
esb.com/api/param1/param2
It should hit the real service using:
someone.com/api/param1/param2
How do I pass the URI parts to the real webservice from a proxy service?
Don't try to use Proxy services for REST API. Proxy Services are for the Web Services. Use API s avialable in WSO2 ESB which are similar to proxy services and intended for REST API. This Oxygen Tank article and this sample document will be useful for you.

Implementing Axis Web service with certificates in Eclipse

I'm about to implement a web service client against a web service, protected by a certificate and a password.
I received the password and the certificate (.p12) from the web service provider (an external partner).
The web service client is auto generated in Eclipse using Ajax (not Ajax 2). I tested the service against soapUI (where i created a mocked service), and it works perfect.
Now I need to implement the web service client, up against the real service and my question is simply; how do I add the certificate and the password to the webservice in Eclipse?