soap core 6 service endpoint configuration - soap

I wrote a soap web service with .NET core 6 and published it on server A and I have a gateway whose address is server B. The gateway is Ocelot technology. Now I want to call this soap web service with c#. I expect that my "endpoint address" is the gateway address (server B), but server A address is created in the endpoint address
I want to set endpoint address="Server B which is the gateway
enter image description here

Related

Calling a REST service from JBPM over a proxy

Calling a rest service (hosted on internet) from JBPM REST service task, JBPM server is behind proxy and cannot do the name resolution with local lan DNS. I have tried adding httpProxy settings and a specific name server spi but name resolution still fails.
Any thoughts?

Dynamic Proxy CXF Web Service

I have two identical CXF 3.1 web services Service_A and Service_B that have the same WSDL files. Service_A is deployed on Server_X and Service_B is deployed on Service_Y. Is there a way to implement a CXF web service Service_C deployed on Server_Z that will play the role of a dynamic proxy web service. Service_C is supposed to have the same WSDL file as Service_A and Service_B but it will redirect the SOAP requests to Service_A or Service_B and send back the SOAP response to the client.
Thank you in advance!
You can do that. You service C receives the request and calls the corresponding endpoint in either service A or service B in alternating fashion (Round Robin) and returns to the client whatever response the call to the service A or B returned.
Other than that I'd suggest using Apache or Nginx instead of Service C on Server Z to basically do this load-balancing act for you. A load balancer will do a far better job forwarding your client requests to service A or B than from your service C.

Intercept all outgoing connections made by a process to redirect it to a localhost proxy

I am working in an environment where there are multiple services hosted. A service(consider web services) exposes some APIs and also acts as client to call other services too.
Now what I want to achieve is that if Service A (acting as client) wants to talk to Service B(acting as server here) using http , then I want to intercept outgoing HTTP request and redirect it to localhost proxy.
There are multiple services running on a host and a service also talks to multiple other services, so I don't want to change the configuration of every outgoing endpoint configuration to point to proxy.
Sample configurations:
Following are the services endpoint which service A connects while doing some processing like:
a1.example.com:2430
a2.example.com:8280
a3.example.com:4380
a4.example.com:4280
a5.example.com:3158
a6.example.com:8238
I have looked into configuring squid proxy as transparent proxy. But how should I enforce every outgoing connection (with different destination ports ) to redirect to localhost proxy.

How to modify the SOAP header information for client IP address, while calling SOAP service

I have a SOAP server and multiple REST client application.
REST client application, internally Call the SOAP service using WSDL.
when we call the SOAP server it identifies the client on the basis of IP address in the SOAP Header.
I want to implement a mechanism, so that the SOAP sever cannot identify the client IP address and it appears that all the requests are coming from that same IP.
Can we modify this header at client end ? if yes please provide me some solution.....
thanks in advance

Connect to https SOAP web service in asp classic

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?