• 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

Emergency Help!! SOAPListener

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi, i am a completely new to SOAP and web services and now am assigned to do a major project on web services..

Please help me to understand more about SOAPListener. and how many files i need to code it?
How do i begin n start coding SOAPListener?

i am supposed to do a search page n connect to multiple web services. My client is a MIDP device. It also involves XML. Oh no.. This whole thing is so so complicated and our supervisors/teachers are not helping out at all..
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ling Min Lee:
Please help me to understand more about SOAPListener. and how many files i need to code it?
How do i begin n start coding SOAPListener?


As far as I know, there is no standard class/interface named "SOAPListener". In fact, based on a quick Googling, I doubt that it's a class/interface of any specific product either. Thus, I believe that this "SOAPListener" was just a term your teachers used to describe the component that receives SOAP requests and responds to them. Am I correct?

If you're allowed to use 3rd party products/libraries, I would strongly suggest downloading Apache Axis (which is an open source web services platform), Googling for some Axis tutorials, and going from there. The Axis distribution also includes some twenty example web services (and clients for the same) which you might want to check out.

Originally posted by Ling Min Lee:
My client is a MIDP device. It also involves XML.


I'd suggest asking about the client-side stuff in our J2ME forum but I think you should start by Googling for "MIDP XML" or something like that. There are a couple of XML parser libraries for J2ME but no standards yet.
 
Ling Min Lee
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes yes, my teacher define SoapListener as something that can request and responds. So what is the next step that i should take?

My teacher also said something about XML mapping and its confusing cuz its not XML-to-Java mapping, not XML-to-database mapping, etc.. So what kind of mapping he want us to do? Can i say SOAPListener is XML Mapping?

I am supposed to use JSR 172 and do not know what i shld do with it. I know its a specification, but how to i implement it into my codes?
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ling Min Lee:
Yes yes, my teacher define SoapListener as something that can request and responds. So what is the next step that i should take?


As I replied earlier:
If you're allowed to use 3rd party products/libraries, I would strongly suggest downloading Apache Axis (which is an open source web services platform), Googling for some Axis tutorials, and going from there. The Axis distribution also includes some twenty example web services (and clients for the same) which you might want to check out.

Originally posted by Ling Min Lee:
My teacher also said something about XML mapping and its confusing cuz its not XML-to-Java mapping, not XML-to-database mapping, etc.. So what kind of mapping he want us to do? Can i say SOAPListener is XML Mapping?

I have no idea what mapping your teacher is talking about.

Originally posted by Ling Min Lee:
I am supposed to use JSR 172 and do not know what i shld do with it. I know its a specification, but how to i implement it into my codes?

I guess you could start by reading the specification. This J2ME stuff is something you really should ask about in our J2ME forum.
 
Ling Min Lee
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
we are not allowed to use Axis...
he says use JWSDP. how different are Axis and JWSDP?
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ling Min Lee:
we are not allowed to use Axis...
he says use JWSDP. how different are Axis and JWSDP?


Cool... Cool..are you Aries ;-)

If you are not allowed to use Axis, then I would recommend you to look in to Axis or Apache SOAP or JWSDP source code and try to learn how they have implemented a typical SOAPListener, then you can start shaping them to your needs.

Regarding JWSDP vs Axis
they both implement JAX-RPC API
Apache Axis is good for production use whereas JWSDP is not really meant for production use even though sun claims.
Aapche Axis can run on any application server
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ling Min Lee:
we are not allowed to use Axis...
he says use JWSDP. how different are Axis and JWSDP?


Ah. For learning about JWSDP, the best resource is Sun's own Java Web Services Tutorial.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic