You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Anne Thomas Manes <at...@gmail.com> on 2006/02/25 14:19:43 UTC

Re: accessing services at xmethods.net

A lot of the services at xmethods are non-standard or don't work. Assuming
you pick one that works properly, you should be able to take the WSDL and
generate a stub to talk to it. Most other SOAP toolkits work the same way,
although some use a call interface instead of a stub interface.

Anne

On 2/24/06, eric kong <ui...@yahoo.com> wrote:
>
> -- There is alot web services at http://www.xmethods.net. -- When i click
> on "Try It" feature I get wsdl file.
> -- Can i use WSDL2Java to generate stub --> then call those web services
> (listed on xmethods) just like calling local java object / methods? Is that
> all for using web services?
> -- if using PERL / .NET as web service client, does it also generate stub
> / skeleton just like Axis (java) does?
>
> thanks
>
> ------------------------------
> Relax. Yahoo! Mail virus scanning<http://us.rd.yahoo.com/mail_us/taglines/virusall/*http://communications.yahoo.com/features.php?page=221>helps detect nasty viruses!
>
>

Re: accessing services at xmethods.net

Posted by Anne Thomas Manes <at...@gmail.com>.
For the most part Axis will generate valid WSDL, but as you can tell from
the discussion list, bugs exist, and sometimes the generated WSDL is not
valid. Sometimes it's just very difficult to generate good WSDLs from
complex object structures --especially if you aren't using beans or if you
are using Collection classes. That's why it's always a good idea to adopt a
WSDL-first development methodology. Many people will use java2wsdl to
generate a first pass at a WSDL definition, but you should always validate
it and verify that the generated WSDL does what you want. You may need to
tweak it to make it validate properly. From that point on, you should use
your validated WSDL as the primary source for the rest of your project --
i.e., generate your code from the WSDL, not the other way around. The same
holds true for other toolkits.

As for the xmethods.org directory  -- many of those services have been there
for a long time, and they were developed either by hand or using very old
toolkits, and they simply have errors. In the early years (2000-2003), many
toolkits generated invalid WSDLs.

Anne

On 2/25/06, eric kong <ui...@yahoo.com> wrote:
>
> Thanks you so much for the hint !
>
> But if you are using a web service toolkit that implements WSDL standard -
> the WSDL get generated should be valid WSDL (Axis for example uses ?wsdl at
> the end of the URL)
>
> Are you meaning the WSDLs listed at xmethods.net are hand coded by service
> provider instead of generated by web services tool kits?
>
> -OR- any other things makes the WSDL an invalid WSDL?
>
> Thanks again
>
> *Anne Thomas Manes <at...@gmail.com>* wrote:
>
> I mean that the WSDLs for many of these services aren't valid.
>
> xmethods doesn't provide a toolkit -- it just provides a place for people
> to post their services -- it's up to the folks that post their service to
> make sure that they are valid. Many are not.
>
> I f the WSDL isn't valid, wsdl2java is likely to barf on it.
>
> Anne
>
> On 2/25/06, eric kong <uipumm@yahoo.com > wrote:
> >
> > Thank you so much anne, but could you explain what is non-standard?
> >
> > WSDL should be universal + language independent right?
> >
> > are you meaning the SOAP toolkit xmethod.net services using didn't
> > implement the WSDL standard, so when I use WSDL2Java to generate my client
> > won't compatible w ith others?
> >
> > thanks again
> >
> >
> > *Anne Thomas Manes < atmanes@gmail.com>* wrote:
> >
> > A lot of the services at xmethods are non-standard or don't work.
> > Assuming you pick one that works properly, you s hould be able to take the
> > WSDL and generate a stub to talk to it. Most other SOAP toolkits work the
> > same way, although some use a call interface instead of a stub interface.
> >
> > Anne
> >
> > On 2/24/06, eric kong <ui...@yahoo.com> wrote:
> > >
> > > -- There is alot web services at http://www.xmethods.net. -- When i
> > > click on "Try It" feature I get wsdl file.
> > > -- Can i use WSDL2Java to generate stub --> then call those web
> > > services (listed on xmethods) just like calling local java object / methods?
> > > Is that all for using web services?
> > > -- if using PERL / .NET as web service client, does it also generate
> > > stub / skeleton just like Axis (java) does?
> > >
> > > thanks
> > >  ------------------------------
> > > Relax. Yahoo! Mail virus scanning<http://us.rd.yahoo.com/mail_us/taglines/virusall/*http://communications.yahoo.com/features.php?page=221>helps detect nasty viruses!
> > >
> >
> >
> >  ------------------------------
> > Yahoo! Mail
> > Bring photos to life! New PhotoMail
> > <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=39174/*http://photomail.mail.yahoo.com>makes
> > sharing a breeze.
> >
>
>
> ------------------------------
> Yahoo! Mail
> Use Photomail<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=38867/*http://photomail.mail.yahoo.com>to share photos without annoying attachments.
>
>

Re: accessing services at xmethods.net

Posted by eric kong <ui...@yahoo.com>.
Thanks you so much for the hint !
   
  But if you are using a web service toolkit that implements WSDL standard - the WSDL get generated should be valid WSDL (Axis for example uses ?wsdl at the end of the URL)
   
  Are you meaning the WSDLs listed at xmethods.net are hand coded by service provider instead of generated by web services tool kits?
   
  -OR- any other things makes the WSDL an invalid WSDL?
   
  Thanks again

Anne Thomas Manes <at...@gmail.com> wrote:
  I mean that the WSDLs for many of these services aren't valid.

xmethods doesn't provide a toolkit -- it just provides a place for people to post their services -- it's up to the folks that post their service to make sure that they are valid. Many are not. 

If the WSDL isn't valid, wsdl2java is likely to barf on it.

Anne

  On 2/25/06, eric kong <uipumm@yahoo.com > wrote:    Thank you so much anne, but could you explain what is non-standard? 
   
  WSDL should be universal + language independent right?
   
  are you meaning the SOAP toolkit xmethod.net services using didn't implement the WSDL standard, so when I use WSDL2Java to generate my client won't compatible with others? 
   
  thanks again
  

Anne Thomas Manes < atmanes@gmail.com> wrote:
  A lot of the services at xmethods are non-standard or don't work. Assuming you pick one that works properly, you s hould be able to take the WSDL and generate a stub to talk to it. Most other SOAP toolkits work the same way, although some use a call interface instead of a stub interface. 

Anne

  On 2/24/06, eric kong <ui...@yahoo.com> wrote:   -- There is alot web services at http://www.xmethods.net.   -- When i click on "Try It" feature I get wsdl file. 
  -- Can i use WSDL2Java to generate stub --> then call those web services (listed on xmethods) just like calling local java object / methods? Is that all for using web services? 
  -- if using PERL / .NET as web service client, does it also generate stub / skeleton just like Axis (java) does?
   
  thanks 
  
  
  
---------------------------------
  Relax. Yahoo! Mail virus scanning helps detect nasty viruses!   



  
  
---------------------------------
  Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.   




		
---------------------------------
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.

Re: accessing services at xmethods.net

Posted by Anne Thomas Manes <at...@gmail.com>.
I mean that the WSDLs for many of these services aren't valid.

xmethods doesn't provide a toolkit -- it just provides a place for people to
post their services -- it's up to the folks that post their service to make
sure that they are valid. Many are not.

If the WSDL isn't valid, wsdl2java is likely to barf on it.

Anne

On 2/25/06, eric kong <ui...@yahoo.com> wrote:
>
> Thank you so much anne, but could you explain what is non-standard?
>
> WSDL should be universal + language independent right?
>
> are you meaning the SOAP toolkit xmethod.net services using didn't
> implement the WSDL standard, so when I use WSDL2Java to generate my client
> won't compatible with others?
>
> thanks again
>
>
> *Anne Thomas Manes <at...@gmail.com>* wrote:
>
> A lot of the services at xmethods are non-standard or don't work. Assuming
> you pick one that works properly, you s hould be able to take the WSDL and
> generate a stub to talk to it. Most other SOAP toolkits work the same way,
> although some use a call interface instead of a stub interface.
>
> Anne
>
> On 2/24/06, eric kong <ui...@yahoo.com> wrote:
> >
> > -- There is alot web services at http://www.xmethods.net. -- When i
> > click on "Try It" feature I get wsdl file.
> > -- Can i use WSDL2Java to generate stub --> then call those web services
> > (listed on xmethods) just like calling local java object / methods? Is that
> > all for using web services?
> > -- if using PERL / .NET as web service client, does it also generate
> > stub / skeleton just like Axis (java) does?
> >
> > thanks
> >  ------------------------------
> > Relax. Yahoo! Mail virus scanning<http://us.rd.yahoo.com/mail_us/taglines/virusall/*http://communications.yahoo.com/features.php?page=221>helps detect nasty viruses!
> >
>
>
> ------------------------------
> Yahoo! Mail
> Bring photos to life! New PhotoMail
> <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=39174/*http://photomail.mail.yahoo.com>makes sharing a breeze.
>
>

Re: accessing services at xmethods.net

Posted by eric kong <ui...@yahoo.com>.
Thank you so much anne, but could you explain what is non-standard?
   
  WSDL should be universal + language independent right?
   
  are you meaning the SOAP toolkit xmethod.net services using didn't implement the WSDL standard, so when I use WSDL2Java to generate my client won't compatible with others?
   
  thanks again
  

Anne Thomas Manes <at...@gmail.com> wrote:
  A lot of the services at xmethods are non-standard or don't work. Assuming you pick one that works properly, you should be able to take the WSDL and generate a stub to talk to it. Most other SOAP toolkits work the same way, although some use a call interface instead of a stub interface. 

Anne

  On 2/24/06, eric kong <ui...@yahoo.com> wrote:  -- There is alot web services at http://www.xmethods.net.   -- When i click on "Try It" feature I get wsdl file. 
  -- Can i use WSDL2Java to generate stub --> then call those web services (listed on xmethods) just like calling local java object / methods? Is that all for using web services? 
  -- if using PERL / .NET as web service client, does it also generate stub / skeleton just like Axis (java) does?
   
  thanks 
  
  
  
---------------------------------
  Relax. Yahoo! Mail virus scanning helps detect nasty viruses!   




		
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze.