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 744359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T08:58:09+00:00 2026-05-14T08:58:09+00:00

I have some web services and I am creating a web client using ws-import.

  • 0

I have some web services and I am creating a web client using ws-import.

When creating the client I have this line:

MyServiceService service = new MyServiceService();

It works fine as it is.

I have the same web service running on another server and I was wondering if I could access them using the same client. Is it possible to change the wsdl url of the client? Ctrl-Space in Eclipse gives me 2 parameters which I can enter into MyServiceService which are URL arg0 and Qname arg1. Is this what I’m looking for? And if this is the case what should I put in Qname since I didn’t find any Javadoc associated and didn’t find it on google neither

Thanks and regards,
Krt_Malta

  • 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-14T08:58:10+00:00Added an answer on May 14, 2026 at 8:58 am

    Yes, you can do this. As you suspected, you need to use the constructor with this signature that is generated on your service class.
    As you can see, it takes two arguments: a QName, and an Url.

    The QName is a little bit tricky to determine. You have to look at the generated source code for the no-arg constructor of your service class (and the @Service attribute on the class). If you do this, you should be able to figure what QName the no-arg constructor uses. Just construct a QName with those same values, and use that.

    The Url is easy: just use the wsdl url you want to access.

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

Sidebar

Related Questions

I'm using Rational Application Developer to create some web services. The problem I have
I have some problem when unmarshaling a .xml at a web service using JAXB.
I have hard times using maven to generate my web service client. So please
I am new to Flex and needed some help setting up Web service client.
I am creating some web services which I would like to secure using a
I've been creating a an application with C# using W2k8+IIS7/SQLExpress 2008/Web Service/Windows Client. I'll
I have some REST web services implemented in WCF. I wish to make these
We have had in Domino for some time Web Services. Now, after the release
We will develop a web site that will have some free services and we
I have some problem with calling web service from flex. I have service with

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.