Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3301624
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:46:12+00:00 2026-05-17T20:46:12+00:00

This is part of a lab exercise for a course I’m doing, it’s not

  • 0

This is part of a lab exercise for a course I’m doing, it’s not assessable, just a learning exercise. Not sure why but the tut didn’t go through it, so I just went through it at home but I’m stuck on the last part.

I’m trying to write a java WSDL client to access http://www.nanonull.com/TimeService/TimeService.asmx?WSDL – I should input UTC+10 to display the current time. Below is the code that I have written:

package time;
class Client {
 public static void main(String args[]){
        TimeService service = new TimeService();
        TimeServiceSoap port= service.getTimeServiceSoap();
        String result = port.GetTimeZoneTime("UTC+10");
        System.out.println("Time is "+result);
 }

}

When I try and compile the code I get the following error:

C:\Program Files\Java\jdk1.6.0_22\bin>javac -d . "c:\Program Files\Java\jdk1.6.0
_22\bin\time\Client.java"
c:\Program Files\Java\jdk1.6.0_22\bin\time\Client.java:13: cannot find symbol
symbol  : method GetTimeZoneTimeResponse(java.lang.String)
location: interface time.TimeServiceSoap
        String result = port.GetTimeZoneTime("UTC+10");
                            ^
1 error

Any thoughts on what I’m doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T20:46:12+00:00Added an answer on May 17, 2026 at 8:46 pm

    Did you mean

    String result = port.getTimeZoneTime("UTC+10");
    

    with a lowercase g? Java method names are case-sensitive, so it won’t recognize the method if you get its letter casing wrong. As per both WSDL’s TimeServiceSoap documentation and Java naming conventions, method names are in camel case beginning with a lowercase letter.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As part of learning WPF I just finished working through an MS Lab Exercise
This is a pretty common question, but I could not find this part: Say
Before anyone suggests scrapping the table tags altogether, I'm just modifying this part of
I have this part of code: ->filter('username', 'Security::xss_clean') ->filter('url', 'Security::xss_clean') ->filter('text', 'Security::xss_clean') but it
I got this part inside my json object. But I couldn't get this as
I'm trying to reteach myself some long forgotten math skills. This is part of
This is a part algorithm-logic question (how to do it), part implementation question (how
Note : The code in this question is part of deSleeper if you want
How can I extract the part of this stream (the one named BLABLABLA) from
I'm working on a document application and part of this application I've to add

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.