i have dowloaded this code to call a web service from HATS business logic (https://www-304.ibm.com/support/docview.wss?uid=swg21403960) but i receve the error: openConnection() method is not defined for the type URL.
At the begin of source i have :
any idea how to solve this problem
thanks in advance
see Attach file
This topic has been locked.
2 replies Latest Post - 2012-02-22T17:59:51Z by SystemAdmin
Pinned topic Problem with java code to call Web service
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-02-22T17:59:51Z at 2012-02-22T17:59:51Z by SystemAdmin
Re: Problem with java code to call Web service2012-02-21T03:47:31Z in response to SystemAdminHi..
Is your source referring to "java.net.URL". (in the import statement).
URL.openConnection() does exist from Java 1.0.