code: protected void handleInboundMessageProperties(final MessageContext messageContext,
                                                    final SoapMessage message) {
          if (messageContext == null) { return; }
          
          final String[] propertyNames = messageContext.getPropertyNames();
          if (propertyNames != null) {
              for (final String propertyName : propertyNames) {
                  message.setHeader(propertyName, messageContext.getProperty(propertyName));
              }
          }
      }
docs: Adds all message properties from web service message to message builder
  as normal header entries.
  
  @param messageContext the web service request message context.
  @param message the request message builder.