SOAP
SO-S-30 Serializing Java classes as SOAP structures
Serializing Java classes as SOAP structures
Example
- To test the service click on the Run link or point your browser to: http://[host]:[port]/services/services.vsmx
This example demonstrates how to use Java user defined types for SOAP datatype mappings. It's based on the java class so_s_30.java.
It demontsrates the two approaches in using the user defined types for SOAP structure mappings :
- Attach a user defined type to a predefined schema instance (user defined type SO_S_30).
- Generate the WSDL based on the user defined type's definition (user defined type SO_S_30_2).
In order that to be runnable the so_s_30.java should be compiled to so_s_30.class with the java compiler and so_s_30.class be present in the server's CLASSPATH.
| View the source | Action |
|---|---|
| 1. so_s_30.sql | Set the initial state |
| 2. /services/services.vsmx | Run |
| 3. so_s_30.java |
OpenLink Home
Technical Support