In asp.net, i am trying to connect sap service [RFC] and fetch data. But i got this error: The request failed with HTTP status 404: Not Found.
Related
I'm trying to setup the mTLS authentication process for an endpoint created in the SICF transaction on ABAP-based software. I'm not using SAP HANA.
I've already imported the certificates into the STRUST transaction (SSL server Standard),
Inside the service on SICF, I've put the following settings in Logon Data tab:
But when I receive the HTTP request, the connection is returning the 401 status code.
Is that the right way to achieve this goal? If not, is there any documentation, where I can find a step by step on how to configure this type of authetication?
Hi I have a Secured SOAP web service . I am able to hit from Soap UI successfully using the credentials .
When i am trying to configure the web service in any point studio i am getting a warning saying unable to get the metadata . But if run the application i am getting error while trying to connect to webservice.
Message : Error trying to acquire a new connection:null
I think the way i am setting up the credentials for the service is not correct . In Soap UI i am setting it as shown in screen shot . How to set it in Studio ? I tried the security tab in studio ,but no luck.
I'll assume that you are using the Web Service Consumer connector to consume an external SOAP web service. The screenshot shows that SOAP UI is using HTTP Basic Authentication. To reproduce that you need to configure the Web Service Consumer to point to an HTTP requester configuration that configures the HTTP authentication, as it mentioned in the official documentation:https://docs.mulesoft.com/web-service-consumer-connector/1.5/web-service-consumer-configure#setting-a-custom-http-transport-configuration
Example:
<http:request-config name="basic-auth">
<http:request-connection host="www.someplace.com" port="8182" protocol="HTTP">
<http:authentication>
<http:basic-authentication username="alejandro.garcia" password="nariz"/>
</http:authentication>
</http:request-connection>
</http:request-config>
<wsc:config name="with-custom-transport">
<wsc:connection wsdlLocation="http://www.host.com?WSDL" service="Service" port="Port">
<wsc:custom-transport-configuration>
<wsc:http-transport-configuration requesterConfig="basic-auth"/>
</wsc:custom-transport-configuration>
</wsc:connection>
</wsc:config>
In last few days everyone is facing Internal server error on company status update via LinkedIn API (docs).
Sample response with request Id:
{"requestId":"P8T2EIBBT7","errorCode":0,"message":"Internal service error","status":500,"timestamp":1517889931789}}
{"requestId":"XNNMPVUFA4","errorCode":0,"message":"Internal service error","status":500,"timestamp":1517877007035}}
What could the cause be?
One of the .net solution which is built on framework 4, we are using this solution to generate some security token based on DefaultNetworkCredentials, i have registered this dll in register(regasm /codebase) and consuming this from classic asp application and its working fine in my local machine.
But when do same step in windows server 2003 and trying to access from IIS(classic asp is hosted in IIS) it is failing to take DefaultNetworkCredentials
and i am getting below error,
"The remote server returned an error: (407) Proxy Authentication Required".
code in .net solution to get DefaultNetworkCredentials,
var proxyObject = new WebProxy("Proxy", 80)
{
Credentials = CredentialCache.DefaultNetworkCredentials
};
Can anyone helpme on this, is this something settings in server or IIS?
I have setup a site on Azure which is causing bad gateway error even though it's working perfectly fine on local machine. Here's the error I am facing:
Also failed request logs contains the following error:
SignalR logs are following:
SignalR Logs
I was adding the following line Startup.cs Configuration method:
GlobalHost.DependencyResolver.UseSqlServer(sqlConnectionString)
But SQL Azure doesn't support it and that's what was causing the issue.