Vgo Software

« System modernization and System design | Main | ADF ConcurrentModificationException Issue Resolved »
Tuesday
Jun252013

Problem with Web Services in ADF - Resolved

So I spent some time working with a client last week who was attempting some interesting things with ADF.  For one, this guy was a beginner to ADF and Java and someone just threw him into the deep end.  It wasn't just "create a couple pages to allow users to update this data", it was create a web service, and not just a web service but a service that accessed more than one database.  One was an Oracle database, the other a SQL Server database.

Working wtih SQL Server itself wasn't a problem, but trying to get one application that could talk to both at the same time was a problem.  It is supposed to be possible, but it isn't the best way to do things.  The better way is to use a DB Link on the Oracle database itself.

Once we straightened that out, we encountered an error testing a simple web service.  It would try to deploy to the integrated Weblogic instance, but fail in deploymentment with an error that the service implementation class could not be found.

Now the only reason I could think of that it would attempt to deploy and give an error like that after compiling nicely was that the versions of Java were different.  If it was compiling with a newer version of Java than Weblogic was running with, that would be an issue.  I presumed that the issue would, however, also manifest itself when deploying an ADF Web Application.  Especially if it was the same app just being deployed differently.

Turns out presuming anything is a bad idea.  As it was late on Friday and I was getting close to missing my plane home, I asked the developer to send me the log and while getting a ride to the airport I took a look at it on my phone.  I found this part of a line: "C:\Program Files\Java\jdk1.7.0_21\jre\bin\java.exe -client -jar" indicating that it was indeed compiling with jdk1.7.0_21 and trying to deploy to a Weblogic server using a version of 1.6.

 

I e-mailed back the devleoper and he changed the Compiler "JDK Version Compatibility" setting to 1.6.  Low and behold - problem solved.  And just in time for the weekend too!


PrintView Printer Friendly Version

EmailEmail Article to Friend

References (18)

References allow you to track sources for this article, as well as articles that were written in response to this article.
  • Response
    Football is definitely a single of the greatest sports in America. It has a major following.
  • Response
    Response: chiroractic
    Java-Hair - Articles - Problem with Web Services in ADF - Resolved
  • Response
    This is exactly the same problem for which I'm searching for a solution all over the internet. Now I got the perfect solution here and Thanks for the solution.
  • Response
    Java-Hair - Articles - Problem with Web Services in ADF - Resolved
  • Response
    Java-Hair - Articles - Problem with Web Services in ADF - Resolved
  • Response
    Response: Church Staffing
    Java-Hair - Articles - Problem with Web Services in ADF - Resolved
  • Response
    Number of times i am facing this problem. It's a correct solutions for the Web Services in ADF. I am going to do this idea.
  • Response
    Response: resumeplanet
    Yeah, me too face similar problems in using the web services in ADF. Major problem is with the compiler. And even, I stopped using it. Anyway its a great news to see that the problems were resolved. Lemme give another try to it. Thanks for sharing the information.
  • Response
    Java-Hair - Articles - Problem with Web Services in ADF - Resolved
  • Response
    great idea thank you
  • Response
    Response: beverage fridge
    Java-Hair - Articles - Problem with Web Services in ADF - Resolved
  • Response
    Java-Hair - Articles - Problem with Web Services in ADF - Resolved
  • Response
    Response: adultlink
    Java-Hair - Articles - Problem with Web Services in ADF - Resolved
  • Response
    Response: data loss
    Java-Hair - Articles - Problem with Web Services in ADF - Resolved
  • Response
    Response: bestessay
    We are all get education by the online content writing service. These are all very helpful content writing services and those must important to our education writing development.
  • Response
    Response: torontoseo agency
    Web services let ventures to uncover business usefulness independent of the stage or dialect of the starting application. The business usefulness is uncovered in such a path, to the point that it is absorbed to a message made of standard XML develops that can be perceived and used by different applications. ...
  • Response
    Crime rates are likely to increase there are many reasons for increase in crime may be due to unemployment or due to illiteracy but education is the source to overcome this. It provides them sense to distinguish right and wrong direction.
  • Response
    It would attempt to convey to the incorporated Web rationale case, however come up short in arrangements with a blunder that the administration execution class couldn't be found.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>