# How to call WebService writed by java?

**URL:** <https://rubytalk.org/t/how-to-call-webservice-writed-by-java/39604>\
**Category:** ruby-talk\
**Created:** [2 August 2007 07:20 UTC](https://rubytalk.org/t/how-to-call-webservice-writed-by-java/39604 "2007-08-02T07:20:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venture\_Lee](https://avatars.discourse-cdn.com/v4/letter/v/ed655f/32.png) [@Venture\_Lee](https://rubytalk.org/u/Venture_Lee)\
**Post date:** [2 August 2007 07:20 UTC](https://rubytalk.org/t/how-to-call-webservice-writed-by-java/39604/1 "2007-08-02T07:20:24Z")

</div>

i public a webservice, it implement by java and xfire, method parameter is a  
complex type, example:  
public class User() {  
&nbsp;&nbsp;&nbsp;&nbsp;private String username;  
&nbsp;&nbsp;&nbsp;&nbsp;private String password;  
&nbsp;&nbsp;&nbsp;&nbsp;//...geter and seter  
}  
webservice method define : boolean login(User user);  
How to call it by ruby, thanks

---

<div class="post-metadata">

**Author:** ![Tim\_Pease](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@Tim\_Pease](https://rubytalk.org/u/Tim_Pease)\
**Post date:** [2 August 2007 14:34 UTC](https://rubytalk.org/t/how-to-call-webservice-writed-by-java/39604/2 "2007-08-02T14:34:17Z")

</div>

[http://www.google.com/search?q=ruby%20webservice](http://www.google.com/search?q=ruby%20webservice)

TwP

> **···**
>
> On 8/2/07, venture Lee \<liwenqiu@gmail.com\> wrote:
> 
> > i public a webservice, it implement by java and xfire, method parameter is a  
> > complex type, example:  
> > public class User() {  
> > &nbsp;&nbsp;&nbsp;&nbsp;private String username;  
> > &nbsp;&nbsp;&nbsp;&nbsp;private String password;  
> > &nbsp;&nbsp;&nbsp;&nbsp;//...geter and seter  
> > }  
> > webservice method define : boolean login(User user);  
> > How to call it by ruby, thanks

---

<div class="post-metadata">

**Author:** ![James\_Britt](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@James\_Britt](https://rubytalk.org/u/James_Britt)\
**Post date:** [2 August 2007 16:58 UTC](https://rubytalk.org/t/how-to-call-webservice-writed-by-java/39604/3 "2007-08-02T16:58:28Z")

</div>

No Reply is far better than RTFM.

> **···**
>
> On Aug 2, 2007, at 9:34 AM, Tim Pease wrote:
> 
> > On 8/2/07, venture Lee \<liwenqiu@gmail.com\> wrote:
> > 
> > > i public a webservice, it implement by java and xfire, method parameter is a  
> > > complex type, example:  
> > > public class User() {  
> > > &nbsp;&nbsp;&nbsp;&nbsp;private String username;  
> > > &nbsp;&nbsp;&nbsp;&nbsp;private String password;  
> > > &nbsp;&nbsp;&nbsp;&nbsp;//...geter and seter  
> > > }  
> > > webservice method define : boolean login(User user);  
> > > How to call it by ruby, thanks
> > 
> > [ruby webservice - Google Search](http://www.google.com/search?q=ruby%20webservice)
> > 
> > TwP

---

<div class="post-metadata">

**Author:** ![Ari\_Brown](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@Ari\_Brown](https://rubytalk.org/u/Ari_Brown)\
**Post date:** [2 August 2007 21:14 UTC](https://rubytalk.org/t/how-to-call-webservice-writed-by-java/39604/4 "2007-08-02T21:14:41Z")

</div>

Ah yes. I enjoy Funny Manuals!

~ Ari  
English is like a pseudo-random number generator - there are a bajillion rules to it, but nobody cares.

> **···**
>
> On Aug 2, 2007, at 12:58 PM, John Joyce wrote:
> 
> > On Aug 2, 2007, at 9:34 AM, Tim Pease wrote:
> > 
> > > [ruby webservice - Google Search](http://www.google.com/search?q=ruby%20webservice)
> 
> > No Reply is far better than RTFM.
