Topic
5 replies Latest Post - ‏2012-10-05T11:12:39Z by dp_rb
dp_rb
dp_rb
9 Posts
ACCEPTED ANSWER

Pinned topic Soma message to update port for a XSL Proxy

‏2012-10-05T10:18:39Z |
Hi,

Does anyone know what the SOMA message would be to update the port for an XSL Proxy? Or where I can look to find it?

Thanks
Updated on 2012-10-05T11:12:39Z at 2012-10-05T11:12:39Z by dp_rb
  • RCW
    RCW
    232 Posts
    ACCEPTED ANSWER

    Re: Soma message to update port for a XSL Proxy

    ‏2012-10-05T10:35:09Z  in response to dp_rb
    I think you will need to to a modify-config command and simply change the port.

    I have no example here right now, but this is how I would try it.
    • RCW
      RCW
      232 Posts
      ACCEPTED ANSWER

      Re: Soma message to update port for a XSL Proxy

      ‏2012-10-05T11:05:27Z  in response to RCW
      This might be it:

      <?xml version="1.0" encoding="UTF-8" ?>
      <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
      <env:Body>
      <dp:request domain="myDomain" xmlns:dp="http://www.datapower.com/schemas/management">
      <dp:modify-config>
      <XSLProxyService" name="myXSLP">
      <LocalPort>123</LocalPort>
      </modify-config>
      </dp:request>
      </env:Body>
      </env:Envelope>
      • dp_rb
        dp_rb
        9 Posts
        ACCEPTED ANSWER

        Re: Soma message to update port for a XSL Proxy

        ‏2012-10-05T11:12:39Z  in response to RCW
        That worked. Guess it could have been the do-action that was causing the error.

        Thanks for the quick replies with this.
  • dp_rb
    dp_rb
    9 Posts
    ACCEPTED ANSWER

    Re: Soma message to update port for a XSL Proxy

    ‏2012-10-05T11:03:01Z  in response to dp_rb
    This is what I'm using,
    ...
    <dp:do-action>
    <dp:modify-config>
    <XSLProxyService name="nameOfProxyService">
    <LocalPort>7777</LocalPort>
    </XSLProxyService>
    </dp:modify-config>
    </dp:do-action>
    ...

    but keep getting an internal server error, which I cannot resolve.

    All other SOMA commands that I have for updating host alias, HTTPS FSH, etc, work fine, except for the XSL Proxy Port.
    • RCW
      RCW
      232 Posts
      ACCEPTED ANSWER

      Re: Soma message to update port for a XSL Proxy

      ‏2012-10-05T11:06:01Z  in response to dp_rb
      you do not have to wrap the modify-config in a do-action.