I am trying to setup a service endpoint.
here is requirement from the service I am pointing to:
Authentication
Requests made to the API are protected with HTTP Basic authentication. In order to properly authenticate with the API you must use your API key as the username while leaving the password blank. Requests not properly authenticated will return a 401 error code. You can find your account's API keys in your Dashboard Settings.All API requests must be made over HTTPS, or they will fail.
I store the API Key into Security >> Authentication >> Credentials as Username/Password type.
here is how I setup my service endpoint
here is the error message i got when attempt to Apply.
this WS is actually REST, updated the Binding, but still produce the same error.
can anyone help on how to handle this?
thanks in advance.
Tags:
I think you need to set the Security Model to Transport:Basic, it then will accept an https address.
Fabrizio
now I am getting this following message, is this something that could be resolved with "Service Behaviors"?
Event Info: Service connector received an exception attempting to pass on a received message. Manual addressing is enabled on this factory, so all messages sent must be pre-addressed.
Type: Service Connector
problem fixed.
something weird about the way this site is expecting the credentials.
the work around is that with a C# class, I manually do context.data.http.headers.add("Authorization", base64string);
the base64string, I use the username value and put a colon ":" at the end. then convert it to base64.
I have not figure out how to manipulate the Neuron Credential to achieve this.
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by