Showing posts with label jdevloper. Show all posts
Showing posts with label jdevloper. Show all posts

Thursday 28 November 2013



Calling Simple Webservice in jdvloper and getting response/Calling webservice in java /Webservice Calling in Jdeveloper 
  • We are going to use the weather webservice located at URL

http://www.webservicex.net/globalweather.asmx?WSDl  ( service provided by webservicex.net)

  • We are going to use jdevloper 11.1.1  (release 1) 




  •  Right click on new project1 select webservice proxy in webservices a wizard will appear

  •  Select jax ws style in clinet style enter the wsdl url of webservice

 














  • Click next next and check the gerate asyhnchornous mehtod for all operations this will create java stub files for all the operations if some error occures select continue and click next next untill the java stubs get generated






















  •  Open the globalweathersoapclient.java file












  •  Add code to the GlobalWeatherSoapClient.java file in main class and run the java file you will see after passing paramter  cityname and country name to method getWeather its giving response and returning the weather of respective city

    String weather;
    weather=globalWeatherSoap.getWeather("BHOPAL","INDIA");
    System.out.println(weather);  


Monday 7 October 2013

JDeveloper: ORA-01882: timezone region found found

When trying to deploy your web application using JDeveloper to the integrated WebLogic, if you get the following error:

(oracle.jbo.JboException) JBO-29000: Unexpected exception java.sql.SQLDataException, msg=ORA-01882: timezone region not found


then to resolve this issue,

1. Goto Application menu and select Project Properties
2. In the Project Properties window, On the left pane, select Run/Debug/Profile
3. On the right pane, Edit the Default configuration (or double click on Default)
4. In the Edit run configuration window, select Launch Settings
5. For 'Java option' text box, add -Duser.timezone="+04:00"

You will probably need to save and restart JDeveloper for the changes to take effect.