The Apache SOAP code creates envelopes for you based on the code that is
executed.  For example, a client will call SOAPMappingRegistry#mapType to
specify a serializer for a type (Java class), create a Vector of Parameter
instances and specify the target URI, encoding, method name and endpoint (URL of
the service).  Based on this, the Apache SOAP creates the envelope and transmits
it.  On the server, there is even less work.  The deployment descriptor
specifies the Java classes, the methods that can be called on them and the
serializers for user-defined types.

I highly recommend looking at the source code for the samples.  I also suggest
you look at the Resources listed at the bottom of
http://mywebpages.comcast.net/scottnichol/apachesoapinstall.htm.

Scott

----- Original Message -----
From: "pop m" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 18, 2002 11:27 AM
Subject: SOAP envelope


I have just understood that I don't need to write  SOAP envelopes,
they are being created for us. (by DeploymentDescriptor)

But in much documentations I meet such code like:

<?xml version="1.0"?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/1999/XMLSchema";
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";>
............
............
/SOAP-ENV:Envelope>


and I really am a little bit confused. For me it sounds like : you have to write
an envelope with these/those parameters but I haven't found more explicitly
documetation who is capable to 'teach' me how should I see this thing.
Üdv. Pop Marius L.



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to