Re: accessing services at xmethods.net

2006-02-26 Thread Anne Thomas Manes
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. 
AnneOn 2/25/06, eric kong <[EMAIL PROTECTED]> 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 againAnne Thomas Manes <
[EMAIL PROTECTED]> 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 <
[EMAIL PROTECTED] > 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 <
 [EMAIL PROTECTED]> 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 <
[EMAIL PROTECTED]>
 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! MailBring 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

2006-02-25 Thread eric kong
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 againAnne Thomas Manes <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED] > 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 < [EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
 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! MailBring 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

2006-02-25 Thread Anne Thomas Manes
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.AnneOn 2/25/06, eric kong <[EMAIL PROTECTED]
> 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 <
[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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. 




Re: accessing services at xmethods.net

2006-02-25 Thread eric kong
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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. 


Re: accessing services at xmethods.net

2006-02-25 Thread Anne Thomas Manes
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.
AnneOn 2/24/06, eric kong <[EMAIL PROTECTED]> 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!



accessing services at xmethods.net

2006-02-24 Thread eric kong
-- 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!