Hi all,

I¹m new to DOSGI and just created my first service/consumer that worked fine
on my setup where no http proxy was between the service and consumer. Now I
need to deploy this where I have a SOCKS5 proxy that I need to go via. I
have figured out that I might be able to use something like this, but where
should I then put this xml?

  <http-conf:client ProxyServer="1.2.3.4" ProxyServerPort="80"
ProxyServerType="SOCKS" />
  <http-conf:proxyAuthorization>
    <UserName>asdf</UserName>
    <Password>qwer</Password>
  </http-conf:proxyAuthorization>

I have a remote-services.xml file that contains this:

<?xml version="1.0" encoding="UTF-8"?>
<endpoint-descriptions xmlns="http://www.osgi.org/xmlns/rsa/v1.0.0";>
    <endpoint-description>
        <property name="objectClass">
            <array>
                
<value>com.nsn.playground.osgi.dosgiinterface.RandomNumberServer</value>
            </array>
        </property>
        <property 
name="endpoint.id">http://10.20.202.19:9090/randomserver</property>
        <property 
name="service.imported.configs">org.apache.cxf.ws</property>
    </endpoint-description>
</endpoint-descriptions>

Any guidance about this?

/Peter

Reply via email to