• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error while creating the proxy?

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's working now..I reinstalled Netbeans 6.8....
 
eat bricks! HA! And here's another one! And a tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic