...
The targetService, targetEndpoint and targetInterfaceName attributes can be used to specify the routing method to use (routing by interface, service or endpoint) and is also useful to allow several proxy endpoints to be created for the same JBI endpoint. For example to create an HTTP only endpoint and an HTTP+SOAP endpoint, both http endpoints will have the same targetEndpoint and targetService, but they must have different endpoint names.
Basic authentication configuration
The consumer endpoint supports basic authentication.
Warning |
---|
Basic authentication credentials are passed in plain text across the network. Please use additional encryption for better security, or use a stronger mechanism other than basic authentication. |
Basic authentication can be provided using the following syntax:
...
<http:endpoint service="testBasicAuth:MyConsumerService"
endpoint="myConsumer"
role="consumer"
locationURI="https://localhost:8193/Service/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out">
<http:basicAuthentication>
<http:basicAuthCredentials username="testuser" password="testpass" />
</http:basicAuthentication>
</http:endpoint>
Info | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
Provider endpoint
A provider endpoint is a client-side jbi endpoint which can receive requests from the NMR and send them to a given url where the service is provided.
...
It is important to note that you need to include the classpath element in your xbean.xml if you are deploying the HTTP Provider in a service unit so that the wsdlResource can correctly find the classpath element. Also you need to ensure that the service name and endpoint match the service and port elements of the WSDL that you wish to use to correctly return WSDL for the endpoint, remembering that the service name will use the targetNamespace for the WSDL.
Basic authentication configuration
The provider endpoint supports basic authentication.
Warning |
---|
Basic authentication credentials are passed in plain text across the network. Please use additional encryption for better security, or use a stronger mechanism other than basic authentication. |
Basic authentication can be provided using the following syntax:
Code Block | ||||
---|---|---|---|---|
| ||||
<http:endpoint service="testBasicAuth:MyProviderService"
endpoint="myProvider"
role="provider"
locationURI="https://localhost:8193/Service/">
<http:basicAuthentication>
<http:basicAuthCredentials username="testuser" password="testpass" />
</http:basicAuthentication>
</http:endpoint>
|
Info | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
SSL configuration
Both consumer and provider endpoints support SSL.
...