Thanks :)

On Thu, Apr 14, 2016 at 2:01 PM, Eric Wittmann <eric.wittmann@redhat.com> wrote:
http://www.apiman.io/blog/configuration/production/offline/2016/04/05/locked-down-network.html

:)


On 4/14/2016 8:48 AM, Gareth Healy wrote:
Hi Eric,

Thanks for the reply, will have a look at that.

As a side note, noticed that when i click on the "Manage Plugins" page,
i get the following error:

    12:36:09,819 INFO  [stdout] (default task-60) WARN: plugin registry
    failed to load -
    http://cdn.rawgit.com/apiman/apiman-plugin-registry/1.2.1.Final/registry.json
    12:36:09,821 ERROR [io.undertow.request] (default task-60) UT005023:
    Exception handling request to /apiman/plugins/availablePlugins:
    org.jboss.resteasy.spi.UnhandledException: Response is committed,
    can't handle exception
             at
    org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:148)
    [resteasy-jaxrs-3.0.10.Final.jar:]
             at
    org.jboss.resteasy.core.SynchronousDispatcher.writeResponse(SynchronousDispatcher.java:432)
    [resteasy-jaxrs-3.0.10.Final.jar:]
             at
    org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:376)
    [resteasy-jaxrs-3.0.10.Final.jar:]
             at
    org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)
    [resteasy-jaxrs-3.0.10.Final.jar:]
             at
    org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)
    [resteasy-jaxrs-3.0.10.Final.jar:]

Which will because i am in a restricted internet zone. Is this a known
issue? as i'd presume this will cause issues for customers with
no-internet requirements.

On Thu, Apr 14, 2016 at 1:06 PM, Eric Wittmann <eric.wittmann@redhat.com
<mailto:eric.wittmann@redhat.com>> wrote:

    Hi Gareth.

    Sorry you didn't get a response in IRC.  I'm pretty good about
    answering stuff like that when I'm around - but we're probably in
    rather different timezones.

    In any case, apiman doesn't automatically modify the URLs found in
    the response body.  However there is a policy that can do that -
    it's called the URL Rewriting Policy.  It requires a bit of
    configuration (a regular expression to match the specific URLs you
    want it to rewrite, as well as the replacement value).

    Give it a try, and let us know if you need a bit of help with the
    configuration.

    -Eric

    On 4/14/2016 6:43 AM, Gareth Healy wrote:

        Hi guys,

        Hope you dont mind me asking you directly, tried via the IRC
        room but
        the internet is currently not the best with the customer i am
        with at
        the moment. Asked the following on irc:

        gahealy <member:gahealy>: hey guys, am using upstream APIMan, on OSE
        3.1. Am proxying a WS and have the following Q from a customer:
        [11:04am] gahealy <member:gahealy>: One thing I noticed the SOAP
        endpoint url has not been repointed to the proxy is that a gap
        in the
        Apiman service?
        [11:04am] gahealy <member:gahealy>:
        [11:04am] gahealy <member:gahealy>: <wsdl:port
        name="SOAPService_Binding" binding="tns:SOAPService_Binding">
        [11:04am] gahealy <member:gahealy>:
        <soap:address
        location="http://dev-host1.devtest-istesb.bp.com:25201/mappingProvider/"/>
        [11:04am] gahealy <member:gahealy>: </wsdl:port>

        --
        Gareth Healy
        UKI Middleware Consultant
        Red Hat UK Ltd
        200 Fowler Avenue
        Farnborough, Hants
        GU14 7JP, UK

        Mobile: +44(0)7818511214 <tel:%2B44%280%297818511214>
        E-Mail: gahealy@redhat.com <mailto:gahealy@redhat.com>
        <mailto:gahealy@redhat.com <mailto:gahealy@redhat.com>>

        Registered in England and Wales under Company Registration No.
        03798903




--
Gareth Healy
UKI Middleware Consultant
Red Hat UK Ltd
200 Fowler Avenue
Farnborough, Hants
GU14 7JP, UK

Mobile: +44(0)7818511214
E-Mail: gahealy@redhat.com <mailto:gahealy@redhat.com>

Registered in England and Wales under Company Registration No. 03798903



--
Gareth Healy 
UKI Middleware Consultant 
Red Hat UK Ltd 
200 Fowler Avenue 
Farnborough, Hants 
GU14 7JP, UK 

Mobile: +44(0)7818511214 
E-Mail: gahealy@redhat.com 

Registered in England and Wales under Company Registration No. 03798903