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

Using TortoiseSVN with Jdeveloper
Code Review:: ADF BC applications
Adf Facet
Build jsp pages in Meta-data level?
How can we built list of values library in 11g.
caching view data in session
JDeveloper 11g installation
Oracle Applications Node not found under Projeect Menu-> Project Settings D
column filterable problem
SVN Connection problem in JDeveloper
EJB Projects Dependencies JDeveloper 11g
DefaultServer starts when I start my project - 11g last version
Improvement of help in JDeveloper
JBO-26048: Constraint violated - parent key not found ORA-06512
How to validate values from selectInputDate in backing bean
jdev 11g R1: Problem with LOV