You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Find below an example of an xUML composite containing an simple SOAP service:

Component Diagram of the HelloWorldExample

The <<E2ESOAPService>> holds the following tagged values:

Tagged ValueDescriptionAllowed Values
Authentication
authenticationMode

Defines the authentication mode to be used with this SOAP service.

  • If HTTPBasicAuth is used, you define that the service composite authenticates the user. User name and password must then be given in the tagged value user.
    For more details see Basic Authentication with the E2E Bridge.
  • If HTTPRemoteAuth is used, a revers proxy needs to authenticate the user and pass it to the service. The service then expects a set REMOTE-USER HTTP header.
    Typically the Apache reverse proxy is used for that.

Independent of the authentication mode, the user is found in the principal object if the authentication succeeded.

noneno authentication
HTTPBasicAuthHTTP basic authentication
HTTPRemoteAuthHTTP remote authentication
userSpecifies user and password for the use of HTTP Basic authentication.Example: user/password
HTTP
port
Specifies the machine port number the service is binding to. This port number can be given at the service level only.
any number
Proxy
externalProxyHost

Specifies the host name as seen by the client.

  • If a server certificate is used, the certificate must be issued for this name.
  • If this tagged value is not set, the name of the node hosting the proxy is being used.

proxyProtocol
Specifies the used proxy protocol.
HTTPuse the HTTP protocol
HTTPSuse the HTTPS protocol (default)
proxyHost
Specifies the host for the proxy deployment. If localhost is used, the proxy will be created on the same host the service is deployed to. Use a dedicated host, if you want to run your proxy on a different host of the same Bridge domain.
See also externalProxyHost.
any name
localhostdefault
proxyPort
Specifies the port the proxy is listening to.
any number
80default for HTTP
443default for HTTPS
proxyPath

Specifies the part of the overall URL that is mapped to the actual host name and port.

If proxyPath is used, the modeler must ensure that this value is unique within the proxy.

<proxy URL>/<service host>/<composite name>default
SOAP
encoding

Defines the encoding of the SOAP operation.

See Encoding of SOAP Operations for more information on SOAP encoding and the Bridge.

rpc/soapSOAP Remote Procedure Call (RPC) encoding
doc/literalSOAP document-style encoding
timezone
Time zone string as specified in the time zone appendix. timezone is used to print DateTime expressions.

Examples: "Australia/Melbourne", "CET", "Etc/GMT+10".

If "local" is used, the date/time is printed relative to the local timezone of the Bridge, for example:
2012-10-01T12:36:47.0+02:00 (the timezone of the Bridge is UTC+02:00)

dateFormatString
Date formatting code as listed in Date and Time Formatting. If nothing is defined, the XSD standard is used.
Example: %F
wsdlNamespace
Specifies the target namespace of the generated WSDL file. This is relevant only, if wsdlPerService in the xUML composite is true (see Frontend Components).

  • No labels