473,396 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Apache soap

JD
Hello everybody, web services are still new for me ; I've just created
a basic one with Apache soap which only receive and send a string. But
now, I'd like to create one which will be able to receive and send
some objects of mine (which are not javabeans). Do I need to create a
serializer and a unserializer and a xsd file for each object I want to
transfer?
I work with Apache soap but is it better to work with axis or WSDP?
Jul 17 '05 #1
1 2436
Yes, you need to define a serializer for each of your beans. Or rather,
provide a mapping to a bean serializer. And those beans should use only
Java primitives and/or their related class implementations (like
BigDecimal...and String). There may be ways to create serializers for more
complex classes like OutputStreams...I've tried, and failed, and then
realized that I could just send byte arrays for character or binary data, so
why bother?

Also, if you create arrays of your beans, then you need to define
serializers for each type of array too.

Incidentally, my only experience is with Axis. So my answers above are
based on working with Axis. From what little I understand about the world
of web services in general, I'd say it's far easier to work with than Apache
SOAP. I thought the latter was just what was available before Axis came
out, and my understanding is that it's quite a bit more complex. I think
Axis was created to encapsulate a lot of the tedious details. For instance,
you don't have to worry at all about creating or parsing the actual SOAP
message. Axis takes care of all of that.

Apache has a fairly decent, though too brief, tutorial.

http://ws.apache.org/axis/java/user-guide.html

"JD" <de********@skynet.be> wrote in message
news:60**************************@posting.google.c om...
Hello everybody, web services are still new for me ; I've just created
a basic one with Apache soap which only receive and send a string. But
now, I'd like to create one which will be able to receive and send
some objects of mine (which are not javabeans). Do I need to create a
serializer and a unserializer and a xsd file for each object I want to
transfer?
I work with Apache soap but is it better to work with axis or WSDP?

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Artur | last post by:
Hi Newsgroup, im currently working on programming a asp.net application consuming an Webservice hosted on Apache/Axis. I have generated WSDL and Proxy classes from VisualStudio.net. But when...
4
by: Jens | last post by:
Hello, i am trying to call a Apache WebService, which accepts NULL-Values for some Parameters of a specific Web-Method. NULL-Values are mapped within the soap-request by the .NET Client...
5
by: Raghu | last post by:
I am using SignedXml class to sign and verify soap xml documents. We are not using WSE at this point. When I sign a soap document and send it to my trading partner, they can verify the document...
1
by: citnamor | last post by:
Hello, I'm trying to access a webservice which runs on our SOAP Server (Apache Tomcat) with Windows 2000 Advanced Server. I simply added the webreference local copy of wsdl file into dotNet...
7
by: Biao | last post by:
I have a web service writen by .NET: public string Greetings(string names) { string gs = new string; for (int i = 0; i < gs.Length; i++) gs = string.Format("Hello, {0}", names);
0
by: helldiversafe-news | last post by:
Hi all, I will use a apache soap service with an .net c# client and have a problem with an complex array: <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope...
2
by: christina | last post by:
I'm trying to run a soap server on apache using ext/SOAP. It's not working, and the error log has the line PHP Warning: PHP Startup: Unable to load dynamic library './ext\\php_soap.dll' - The...
2
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also...
0
by: reco | last post by:
Hi, I am only new to development and have been given a task to convert a Perl script to a Windows Service. The issue I am facing is that the current Perl Script uses a SOAP call to an Apache Web...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.