Presented by developerWorks, your source for great tutorials
ibm.com/developerWorks
xmlns:ns="http://localhost:8080/hrsys/services/HRService"
qname="ns:ArrayOf_tns1_DeptValue"
type="java:bean.DeptValue[]"
serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>
xmlns:ns="http://bean"
qname="ns:DeptValue"
type="java:bean.DeptValue"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>
Note that the
HRSystem
example also has a local EJB version of the service. The Ant
script and deployment descriptor are all set to deploy to Resin EE. You can adapt them
to work with your application server of choice.
When you ran
wsdl2java
with the
HRSystem
it generated a special version of
DeptValue
as follows:
/**
* DeptValue.java
*
* This file was auto generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package bean;
public class DeptValue
implements java.io.Serializable {
private java.lang.Integer id;
private java.lang.String name;
public DeptValue() {
}
public java.lang.Integer getId() {
return id;
}
public void setId(java.lang.Integer id) {
this.id = id;
}
public java.lang.String getName() {
return name;
Service enable EJB SessionBeans with the IBM ETTK
Page 27 of 33






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

servlet web hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Jsp Web Hosting Cheapest Web Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved