Take a look at book example, you don't need to create/modify
soapmessage by yourself.
Just create method  checkAvaiability(String postalCode, ServiceType
type ) , everything related to soap will be done by XFire, you can
just use java methods.

On 3/14/07, Alexander van der Woude <[EMAIL PROTECTED]> wrote:
Hey Tomek,

I don't mean soap from Axis. I just put a soap message together using
javax.xml.soap packages.
Because I read that XFire is a soap framework I thought it would mean soap
messages, so I probably didn't understand what it is all about.

I can get XFire to work and get a client to communicate with it exchanging
primitives and objects. No problem.

Now I wanted to created something like a system that can check if a service
is provided in postalcode area.
So I thought to create a soap message with inside at least postal code and
the service type(hotels, restaurants i.e.).
THe webservice would then deliver a message back with where u can get the
requested service closest to your postal code and their street addresses /
or phone number
(I only did this because I wanted to experiment with soap and XFire)

Does this gives u more of an idea what I try to experiment?

Thanks for your time

ALex

----- Original Message -----
From: "Tomek Sztelak" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, March 14, 2007 16:35
Subject: Re: [xfire-user] consuming soap messages


> By SoapMessage you probably mean  object provided by axis :)
> The idea of webservices ( at least of XFire ) is to not work with
soapmessage :)
>
> Maybe describe what exactly you want to do, it will be easer to tell
> "how" it should be done.
>
> On 3/14/07, Alexander van der Woude <[EMAIL PROTECTED]> wrote:
> > Hi Tomek,
> >
> > I probably miss the point of what u mean but I am trying to leanr
> > WebServices and I tried to create a service that returns some info based
on
> > the data given to the service bij a client.
> > Isn't a soap message just a soap message? Maybe u can explain to me what
u
> > mean, remember I am quite new, so sorry if I say silly things.
> >
> > In the client I would create a soap message with SoapMessage and then
set
> > the header with some MIME info
> > Afterthat I put some info in the body.
> >
> > Thanks
> > Alex
> >
> >
> > ----- Original Message -----
> > From: "Tomek Sztelak" <[EMAIL PROTECTED]>
> > To: <[email protected]>
> > Sent: Wednesday, March 14, 2007 16:10
> > Subject: Re: [xfire-user] consuming soap messages
> >
> >
> > > Can explain what do you  mean by SOAP Message ?
> > >
> > > On 3/14/07, Alexander van der Woude <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > > Hello,
> > > >
> > > > I am quite new with webservices and completely new with XFire.
> > > >
> > > > Can somebody explain me how I make a web service that can receive
soap
> > > > messages? I canot find it in any example.
> > > > A tutorial or example would be perfect.
> > > >
> > > >
> > > > THanks
> > > > Alex
> > >
> > >
> > > --
> > > -----
> > > When one of our products stops working, we'll blame another vendor
> > > within 24 hours.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe from this list please visit:
> > >
> > >     http://xircles.codehaus.org/manage_email
> > >
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
>
>
> --
> -----
> When one of our products stops working, we'll blame another vendor
> within 24 hours.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email




--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to