aspose file tools
The moose likes Web Services and the fly likes Dynamic Invocation Class from Client Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Dynamic Invocation Class from Client" Watch "Dynamic Invocation Class from Client" New topic
Author

Dynamic Invocation Class from Client

test_magic
Greenhorn

Joined: Nov 16, 2006
Posts: 4
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
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
"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


Spritle Software Blogs
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56229
    
  13

"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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Dynamic Invocation Class from Client
 
Similar Threads
Java client connect to soap server
invoking webservice using Dynamic Invcation Interface
Currency Web Service almost there
Calling a SharePoint Web Service using dynamic invocation procedure with NTLM authentication?
STUB, Dynamic Proxy, DII