Technology Network Community
Oracle Database
Fusion Middleware
Development Tools
Server & Storage Systems
Enterprise Management
Berkeley DB Family
Cloud Computing
Big Data
Business Intelligence
Migration and Modernization
E-Business Suite
PeopleSoft Enterprise
JD Edwards World
JD Edwards EnterpriseOne
User Productivity Kit Pro (UPK) and Tutor
Governance, Risk & Compliance (GRC)
Master Data Management (MDM)
Oracle CRM On Demand
On Demand: SaaS and Managed Applications
AutoVue Enterprise Visualization
Agile PLM
Endeca Experience Management
Fusion Applications
Archived Forums



JDeveloper and ADF

HTTPS ClassCastException for SOAPHttpsURLConnection to HttpsURLConnection

JDEV 11gR1PS1  Hi all,  I'm writing a Java class that posts via HTTPS.   I'm getting the the following error when executing the class:  java.lang.ClassCastException: cannot be cast to  using the following code (just a snip of what's relevant:  url = new URL(nurl);             connection = (HttpsURLConnection)url.openConnection();             responseCode = connection.getResponseCode();   I've also tried based on some research on the web  url = new URL(null, nurl, new;             connection = (HttpsURLConnection)url.openConnection();             responseCode = connection.getResponseCode();   and instead I this error  java.lang.ClassCastException: cannot be cast to  Ideas?

Import this instead  import;  and then when attempting the connection try using the SOAPHttpsURLConnection object

Related Links

Application Logging Using ADFLogger
getting error in ADF Login security
Performance Impact for the Application when using ADFLogger
Fill the result list to ADF table or list of values
Groovy passing a parameter from one taskflow to other as Integer
LOV in the table column
UNMATCHED_STATE_ON_STACK error on console while invoking popup having BTF
Plan.xml instead
tree data using creatrootappmodule
LOV problem
How to call a method on clicking Search Button in a jspx page.
Alighning Popup component in the center of window
JBO-56005: SDO type is not found for ViewObject
Recursion with af:iterators
ADF Faces: How to add scroll bar for a af:dialog component used in popup
How to provide Parent Action for Multi-Level Parent Task Flow?