• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

APACHE soap api vs SUN API

 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java API for XML Messaging / SOAP with Attachments API for Java vs APACHE soap api
the interfaces are different. is this normal?
[ November 11, 2003: Message edited by: Brusk Baran ]
 
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apache SOAP is not supposed to be JAXM compliant, nor SAAJ compliant.
So as far as you are talking about Apahe SOAP 2.3, it seems "normal" to observe differences with the Sun's APIs.
If you are looking for a JAXM implementation...well, I don't know one :-)
But Axis 1.1 implements the SAAJ
[ November 11, 2003: Message edited by: Jean-Louis Marechaux ]
 
Brusk Baran
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is very complicated,
which packages and from where do I need in order to just do a simple SOAP MEssage creation with one body and 3 text nodes , send it, get the acknowledgement ?
i am lost in the deep c of xml processing!!!
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd suggest downloading one of the following, including all .jar files from the lib directory, and mimicking what the samples do:
  • Apache Axis
  • Java Web Services Developer Pack
  •  
    JeanLouis Marechaux
    Ranch Hand
    Posts: 906
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Originally posted by Brusk Baran:
    It is very complicated,
    which packages and from where do I need in order to just do a simple SOAP MEssage creation with one body and 3 text nodes , send it, get the acknowledgement ?
    i am lost in the deep c of xml processing!!!


    Brusk,
    Actually, it sounds like what you want to do is not that complicated.
    But I admit the documentation is sometimes really poor.
    There are several Webservices implementations. A free one is Axis. Actually, if you can, use Axis instead of Apache SOAP which is deprecated.
    Moreove, I believe th Axis Documentation is better.
    http://ws.apache.org/axis/java/user-guide.html
    If you download Axis 1.1 ()http://ws.apache.org/axis/download.cgi), you 'll obtain some sample files to understand how it works.
    HTH
     
    Brusk Baran
    Ranch Hand
    Posts: 132
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Salut Lasse & Jean-Louis,
    u are right. I will just use it to connect to a in c# written service and get the update of ok. and have not used soap before, it appears just very complicated to me where to start but hopefully I have...
    Thanks...
    Brusk
     
    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
    If you just want to crank out a working web service client, you could consider downloading a wsdl2java plugin for Eclipse and generating the client code from the C# web service's WSDL document. Then, you only need to include the correct libraries in your classpath and off you go
     
    Brusk Baran
    Ranch Hand
    Posts: 132
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Thx Lasse,
    it helped a lot ...
    adieu,
    Brusk
     
    author
    Posts: 361
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Originally posted by Lasse Koskela:
    If you just want to crank out a working web service client, you could consider downloading a wsdl2java plugin for Eclipse and generating the client code from the C# web service's WSDL document. Then, you only need to include the correct libraries in your classpath and off you go


    I like the part about wsdl2java (which can also be done from the command line by the way), but I just gotta ask:
    What has C# (or B flat) got to do with it? :roll:
    Is this the "Java Ranch" or the "C# Ranch"?
     
    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

    What has C# (or B flat) got to do with it?

    Nothing. However, saying "the C# web service" instead of "the web service" leaves absolutely no ambiguity in which service is being referred to (not that "the web service" wouldn't have done it, but that's the only excuse I managed to come up with ).

    Is this the "Java Ranch" or the "C# Ranch"?

    I think we'll leave the C# Ranch theme for gotdotnet...
     
    reply
      Bookmark Topic Watch Topic
    • New Topic