project
Class ExampleClient
java.lang.Object
|
+--project.ExampleClient
- public class ExampleClient
- extends java.lang.Object
This class is a sample XML messaging client, supporting simple "echo" and
"uppercase" messages that accept pure text messages to show mechanics
of sending and receiving valid XML documents as messages over HTTP(S).
Normally, XML documents would be designed to reflect the workflow of
some process that's being automated. The vocabulary (element tags, their
attributes, and the allowed contents) would be defined to reflect the
requirements of that particular proces, and would be described in one or
more "Document Type Declaration" (DTD) files, as done in this example.
DTDs also have documentation defining the semantics of their elements;
for simple DTDs this can be embedded in comments, but DTDs supporting
more complex procedures require external documentation.
The definitions of such vocabulary definitions need to be agreed
on only by the organizations participating in the process. They might
be parts of one organization developing an Intranet application, some
companies working on a private Extranet system, or an industry group
working on vertical supply chain integration. Open Standards processes
apply to the development of larger systems, such as those involved in
Internet Business frameworks.
Method Summary |
static void |
main(java.lang.String[] argv)
Driver for client, needs three parameters: URL of server,
method name, text message. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
main
public static void main(java.lang.String[] argv)
- Driver for client, needs three parameters: URL of server,
method name, text message.