<div dir="ltr">Thanks :)</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 14, 2016 at 2:01 PM, Eric Wittmann <span dir="ltr"><<a href="mailto:eric.wittmann@redhat.com" target="_blank">eric.wittmann@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="http://www.apiman.io/blog/configuration/production/offline/2016/04/05/locked-down-network.html" rel="noreferrer" target="_blank">http://www.apiman.io/blog/configuration/production/offline/2016/04/05/locked-down-network.html</a><br>
<br>
:)<div><div class="h5"><br>
<br>
On 4/14/2016 8:48 AM, Gareth Healy wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi Eric,<br>
<br>
Thanks for the reply, will have a look at that.<br>
<br>
As a side note, noticed that when i click on the "Manage Plugins" page,<br>
i get the following error:<br>
<br>
12:36:09,819 INFO [stdout] (default task-60) WARN: plugin registry<br>
failed to load -<br>
<a href="http://cdn.rawgit.com/apiman/apiman-plugin-registry/1.2.1.Final/registry.json" rel="noreferrer" target="_blank">http://cdn.rawgit.com/apiman/apiman-plugin-registry/1.2.1.Final/registry.json</a><br>
12:36:09,821 ERROR [io.undertow.request] (default task-60) UT005023:<br>
Exception handling request to /apiman/plugins/availablePlugins:<br>
org.jboss.resteasy.spi.UnhandledException: Response is committed,<br>
can't handle exception<br>
at<br>
org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:148)<br>
[resteasy-jaxrs-3.0.10.Final.jar:]<br>
at<br>
org.jboss.resteasy.core.SynchronousDispatcher.writeResponse(SynchronousDispatcher.java:432)<br>
[resteasy-jaxrs-3.0.10.Final.jar:]<br>
at<br>
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:376)<br>
[resteasy-jaxrs-3.0.10.Final.jar:]<br>
at<br>
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)<br>
[resteasy-jaxrs-3.0.10.Final.jar:]<br>
at<br>
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)<br>
[resteasy-jaxrs-3.0.10.Final.jar:]<br>
<br>
Which will because i am in a restricted internet zone. Is this a known<br>
issue? as i'd presume this will cause issues for customers with<br>
no-internet requirements.<br>
<br>
On Thu, Apr 14, 2016 at 1:06 PM, Eric Wittmann <<a href="mailto:eric.wittmann@redhat.com" target="_blank">eric.wittmann@redhat.com</a><br></div></div><div><div class="h5">
<mailto:<a href="mailto:eric.wittmann@redhat.com" target="_blank">eric.wittmann@redhat.com</a>>> wrote:<br>
<br>
Hi Gareth.<br>
<br>
Sorry you didn't get a response in IRC. I'm pretty good about<br>
answering stuff like that when I'm around - but we're probably in<br>
rather different timezones.<br>
<br>
In any case, apiman doesn't automatically modify the URLs found in<br>
the response body. However there is a policy that can do that -<br>
it's called the URL Rewriting Policy. It requires a bit of<br>
configuration (a regular expression to match the specific URLs you<br>
want it to rewrite, as well as the replacement value).<br>
<br>
Give it a try, and let us know if you need a bit of help with the<br>
configuration.<br>
<br>
-Eric<br>
<br>
On 4/14/2016 6:43 AM, Gareth Healy wrote:<br>
<br>
Hi guys,<br>
<br>
Hope you dont mind me asking you directly, tried via the IRC<br>
room but<br>
the internet is currently not the best with the customer i am<br>
with at<br>
the moment. Asked the following on irc:<br>
<br>
gahealy <member:gahealy>: hey guys, am using upstream APIMan, on OSE<br>
3.1. Am proxying a WS and have the following Q from a customer:<br>
[11:04am] gahealy <member:gahealy>: One thing I noticed the SOAP<br>
endpoint url has not been repointed to the proxy is that a gap<br>
in the<br>
Apiman service?<br>
[11:04am] gahealy <member:gahealy>:<br>
[11:04am] gahealy <member:gahealy>: <wsdl:port<br>
name="SOAPService_Binding" binding="tns:SOAPService_Binding"><br>
[11:04am] gahealy <member:gahealy>:<br>
<soap:address<br>
location="<a href="http://dev-host1.devtest-istesb.bp.com:25201/mappingProvider/" rel="noreferrer" target="_blank">http://dev-host1.devtest-istesb.bp.com:25201/mappingProvider/</a>"/><br>
[11:04am] gahealy <member:gahealy>: </wsdl:port><br>
<br>
--<br>
Gareth Healy<br>
UKI Middleware Consultant<br>
Red Hat UK Ltd<br>
200 Fowler Avenue<br>
Farnborough, Hants<br>
GU14 7JP, UK<br>
<br></div></div>
Mobile: <a href="tel:%2B44%280%297818511214" value="+447818511214" target="_blank">+44(0)7818511214</a> <tel:%2B44%280%297818511214><br>
E-Mail: <a href="mailto:gahealy@redhat.com" target="_blank">gahealy@redhat.com</a> <mailto:<a href="mailto:gahealy@redhat.com" target="_blank">gahealy@redhat.com</a>><br>
<mailto:<a href="mailto:gahealy@redhat.com" target="_blank">gahealy@redhat.com</a> <mailto:<a href="mailto:gahealy@redhat.com" target="_blank">gahealy@redhat.com</a>>><span class=""><br>
<br>
Registered in England and Wales under Company Registration No.<br>
03798903<br>
<br>
<br>
<br>
<br>
--<br>
Gareth Healy<br>
UKI Middleware Consultant<br>
Red Hat UK Ltd<br>
200 Fowler Avenue<br>
Farnborough, Hants<br>
GU14 7JP, UK<br>
<br>
Mobile: <a href="tel:%2B44%280%297818511214" value="+447818511214" target="_blank">+44(0)7818511214</a><br>
E-Mail: <a href="mailto:gahealy@redhat.com" target="_blank">gahealy@redhat.com</a> <mailto:<a href="mailto:gahealy@redhat.com" target="_blank">gahealy@redhat.com</a>><br>
<br>
Registered in England and Wales under Company Registration No. 03798903<br>
</span></blockquote>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span style="font-size:small">Gareth Healy </span><br><span style="font-size:small">UKI Middleware Consultant </span><br><span style="font-size:small">Red Hat UK Ltd </span><br><span style="font-size:small">200 Fowler Avenue </span><br><span style="font-size:small">Farnborough, Hants </span><br><span style="font-size:small">GU14 7JP, UK </span><br><br><span style="font-size:small">Mobile: +44(0)7818511214 </span><br><span style="font-size:small">E-Mail: <a href="mailto:gahealy@redhat.com" target="_blank">gahealy@redhat.com</a> </span><br><br><span style="font-size:small">Registered in England and Wales under Company Registration No. 03798903</span><br></div></div>
</div>