• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Dynamic Invocation Class from Client

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using Apachi Axis 1.4 build. while Invoking Webservice dynamically from Client i am passing parameters to the service. But i am failing in below step

Call call = (Call) service.createCall();

call.setTargetEndpointAddress( new java.net.URL(endpoint) );
call.setOperationName(new QName ("http://SampleCode.mits.com", "getString"));


if
call.setOperationName(new QName"urn:SampleWS", "getString")); as in WSDL

my invocation is falling. Please let me know how to pass targetNameSpace as targetNameSpace="urn:SampWS" in .wsdl file.


Thanks in advance

Niranjan
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Niranjan / Magics ma",
Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with display names get deleted.

Thank you.
Regards
Balaji
 
Marshal
Posts: 67418
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"test_magic",

You had already received 3 warnings. You account has now been disabled.

Should you wish to resinstate your account, you must contact me via email.

bear
JavaRanch Sheriff
    Bookmark Topic Watch Topic
  • New Topic