File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Error while creating the proxy? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "Error while creating the proxy?" Watch "Error while creating the proxy?" New topic
Author

Error while creating the proxy?

Vasiq Molvizadah
Ranch Hand

Joined: Dec 24, 2009
Posts: 66
I've learned a little about Web ServicesL ..and I wrote a simple program on Netbeans to access 1 WSDL file from this website which is

www.aswinanand.com/sendsms.php?wsdl

I got the wsdl file from the site but when I'm trying to invoke the class of this wsdl file ...I don't get any class files...but on the status bar I get an error which says
"Error occurred while creating the proxy"..I don't get it..I've checked everything, I even tried to change the proxy settings but not working...so any help on this guys...

Human Knowledge Belongs to the World.
- Vasiq Mz
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Have you followed a procedure similar to that described here: http://netbeans.org/kb/docs/websvc/client.html
...when creating your web service client in NetBeans?
Best wishes!
Vasiq Molvizadah
Ranch Hand

Joined: Dec 24, 2009
Posts: 66
I've followed the steps which was given on the link....but still it's not able to load the wsdl file....when I'm trying to load the file...I get this "Error while creating the proxy" on the status bar and a dialog box pops up saying "Ws Compile script failed during initial client generation" and on the output window I'm getting this error "taskdef class com.sun.xml.rpc.tools.ant.Wscompile cannot be found"....I'm not getting it..where did i get wrong...
Any help guys...
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
I just tested to create a new web service from your WSDL in NetBeans 6.8 and it works flawlessly.
Note that the URL of the WSDL must be prefixed by "http://", that is: http://www.aswinanand.com/sendsms.php?wsdl
Best wishes!
Vasiq Molvizadah
Ranch Hand

Joined: Dec 24, 2009
Posts: 66
Ivan Krizsan wrote:Hi!
I just tested to create a new web service from your WSDL in NetBeans 6.8 and it works flawlessly.
Note that the URL of the WSDL must be prefixed by "http://", that is: http://www.aswinanand.com/sendsms.php?wsdl
Best wishes!


I'm still getting that erro....."Error occurred while creating the proxy"...not getting it what's the problem
Vasiq Molvizadah
Ranch Hand

Joined: Dec 24, 2009
Posts: 66
It's working now..I reinstalled Netbeans 6.8....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while creating the proxy?