Hi
I recently stumbled over a configuration issue with http conduits that
i'm still not able to resolve.
I have two jaxws:clients configured that have the same service class
associated:
<jaxws:client id="client1"
serviceClass="a.b.c.PortType"
address="${client1.url}"
username="${client1.username}"
password="${client1.password}">
</jaxws:client>
<jaxws:client id="client2"
serviceClass="a.b.c.PortType"
address="${client2.url}"
username="${client2.sysid}"
password="${client2.password}">
</jaxws:client>
How can I configure two seperate http-conf:conduits that have different
settings for proxy, timeout etc.? I cannot reference it via
"{http://acme.com/}PortType" since they are the same for both clients,
nor can I use wildcards. What would work is if I could use the property
placeholders for the URLs, since the endpoints are different:
<http-conf:conduit name="${client1.url}">
<http-conf:client ConnectionTimeout="10000"
ReceiveTimeout="20000"
ProxyServer="${proxy.host}"
ProxyServerPort="${proxy.port}"/>
</http-conf:conduit>
<http-conf:conduit name="${client2.url}">
<http-conf:client ConnectionTimeout="30000"
ReceiveTimeout="40000"/>
</http-conf:conduit>
However, a regex is expected in this case, and hence this try fails
with a PatternSyntaxException.
anyone got an idea on how to solve this? Maybe I miss something.
cheers
--
Oliver Moser