| Author |
APACHE soap api vs SUN API
|
Brusk Baran
Ranch Hand
Joined: Nov 15, 2001
Posts: 132
|
|
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 ]
|
 |
JeanLouis Marechaux
Ranch Hand
Joined: Nov 12, 2001
Posts: 906
|
|
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 ]
|
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
|
 |
Brusk Baran
Ranch Hand
Joined: Nov 15, 2001
Posts: 132
|
|
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!!!
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
|
I'd suggest downloading one of the following, including all .jar files from the lib directory, and mimicking what the samples do:Apache AxisJava Web Services Developer Pack
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
JeanLouis Marechaux
Ranch Hand
Joined: Nov 12, 2001
Posts: 906
|
|
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
Joined: Nov 15, 2001
Posts: 132
|
|
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
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
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
Joined: Nov 15, 2001
Posts: 132
|
|
Thx Lasse, it helped a lot ... adieu, Brusk
|
 |
Howard Kushner
author
Ranch Hand
Joined: Sep 19, 2003
Posts: 361
|
|
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"?
|
Howard Kushner<br />IBM Certified Enterprise Developer - WebSphere Studio Application Developer V5.0<br />IBM Certified Advanced System Administrator - WebSphere Application Server V5.0<br />IBM Certified Solution Developer - Web Services with WebSphere Studio V5.1<br /><a href="http://www.amazon.com/exec/obidos/tg/detail/-/1931182108/" target="_blank" rel="nofollow">Developing J2EE Applications with WebSphere Studio</a> my Certification Study Guide for IBM Test 287
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
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...
|
 |
 |
|
|
subject: APACHE soap api vs SUN API
|
|
|