EBS Customizations (MOSC)

MOSC Banner

Custom Web Service to consuming blob data

Dear All,

We are try to create a Custom Web Service in Java to consume the blob data by passing input. We are getting error while connecting the webservice from JDeveloper (401 unauthorized). Both webservice provide and consumer are in same network.  We are using below code for proxy authentication.

            System.setProperty("java.net.useSystemProxies", "true");

            Properties systemSettings = System.getProperties();

            systemSettings.put("proxySet", "true");

             try{

            List proxies = ProxySelector.getDefault().select(new URI("http://docswrf.com.qa/sites/invoice/_layouts/invoice/DOCSInvoiceWS.asmx"));

                       for (Iterator iter = proxies.iterator(); iter.hasNext();) {

                          Proxy proxy = (Proxy) iter.next();

                          System.out.println(proxy);

                          InetSocketAddress address = (InetSocketAddress) proxy.address();

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center