Skip to main content

Problem in persisting in web service servlet

4 replies [Last post]
steveor
Offline
Joined: 2006-03-02

Hi

I have problem persisting - I get the following NPE.
I seem to be connecting to the correct database, could this
be because I haven't set up my entities correctly
(There are two, AlarmT "HAS-A" EventInformationT relationship, there are other associations but they are simple classes of String, int and String Lists)

Servlet throws NPE at em.persist(alarm);

I found the blog
http://weblogs.java.net/blog/ss141213/archive/2005/12/dont_use_persis_1....
for info


Here is the code

@WebService(
name="NotificationConsumerInterface",
endpointInterface="com.xx.server.NotificationConsumerInterface" ,
wsdlLocation="WEB-INF/wsdl/NotificationService.wsdl",
targetNamespace = "tmf854.v1.ws",
serviceName="NotificationService",
portName="NotificationConsumerInterface")

@ServiceMode(value=Service.Mode.PAYLOAD)
@PersistenceContext(name="jdbc/MTOSI",unitName="NotificationInterface")
public class NotificationConsumer implements NotificationConsumerInterface {
@Resource private UserTransaction utx;
private EntityManager em;
private Context initCtx;
private Context envCtx;

@WebMethod(operationName = "Notify", action = "http://localhost:8085/mtosi/v1/NotificationConsumer")
@Oneway
public void notify(MTOSIHeaderT mtosiHeader, NotifyT mtosiBody) {

EventT event;
AlarmT alarm;

event = mtosiBody.getMessage();
alarm = event.getAlarm();
System.out.println(alarm.getNativeProbableCause());
System.out.println(alarm.getEventInfo().getNeTime());
alarm.setId(1);
System.out.println("set id = 1");

try {
initCtx = new InitialContext();
envCtx = (Context) initCtx.lookup("java:comp/env");
EntityManager em = (EntityManager)envCtx.lookup("jdbc/MTOSI");
System.out.println("created em ");
} catch (NamingException ex) {
System.out.println("NamingException");
ex.printStackTrace();
}

try {
utx.begin();
System.out.println("utx.begin()");
em.persist(alarm);
System.out.println("em.persist(alarm)");
try {
utx.commit();
System.out.println("Back of the net!");
} catch (IllegalStateException ex) {
System.out.println("IllegalStateException");
ex.printStackTrace();
} catch (SecurityException ex) {
System.out.println("SecurityException");
ex.printStackTrace();
} catch (SystemException ex) {
System.out.println("SystemException");
ex.printStackTrace();
} catch (javax.transaction.RollbackException ex) {
System.out.println("javax.transaction.RollbackException");
ex.printStackTrace();
} catch (HeuristicRollbackException ex) {
System.out.println("HeuristicRollbackException");
ex.printStackTrace();
} catch (HeuristicMixedException ex) {
System.out.println("HeuristicMixedException");
ex.printStackTrace();
}
} catch (SystemException ex) {
System.out.println("SystemException");
ex.printStackTrace();
} catch (NotSupportedException ex) {
System.out.println("NotSupportedException");
ex.printStackTrace();
}

}

}


Persistence.xml

<?xml version="1.0" encoding="UTF-8"?>

jdbc/MTOSI


Here is server log output

[#|2006-04-21T23:32:21.061+0100|FINE|sun-appserver-pe9.0|oracle.toplink.essentials.file:/C:/MTOSI-REFERENCE/MTOSI-REFERENCE/NotificationInterface/build/web/WEB-INF/classes/-NotificationInterface|_ThreadID=14;_ThreadName=httpWorkerThread-4848-0;ClassName=null;MethodName=null;oracle.toplink.essentials.platform.database.JavaDBPlatform;_RequestID=8009d744-7a96-4316-a550-5cb01136b6df;|dbPlaformHelper_detectedVendorPlatform|#]

[#|2006-04-21T23:32:21.061+0100|CONFIG|sun-appserver-pe9.0|oracle.toplink.essentials.file:/C:/MTOSI-REFERENCE/MTOSI-REFERENCE/NotificationInterface/build/web/WEB-INF/classes/-NotificationInterface.connection|_ThreadID=14;_ThreadName=httpWorkerThread-4848-0;DatabaseLogin(
platform=>OraclePlatform
user name=> ""
connector=>JNDIConnector datasource name=>null
);|connecting|#]

[#|2006-04-21T23:32:21.061+0100|CONFIG|sun-appserver-pe9.0|oracle.toplink.essentials.file:/C:/MTOSI-REFERENCE/MTOSI-REFERENCE/NotificationInterface/build/web/WEB-INF/classes/-NotificationInterface.connection|_ThreadID=14;_ThreadName=httpWorkerThread-4848-0;jdbc:derby://localhost:1527/MTOSIv1;create=true;mtosi;Apache Derby;10.1.1.0;Apache Derby Network Client JDBC Driver;10.1.1.0;
;|connected_user_database_driver|#]

[#|2006-04-21T23:32:21.061+0100|CONFIG|sun-appserver-pe9.0|oracle.toplink.essentials.file:/C:/MTOSI-REFERENCE/MTOSI-REFERENCE/NotificationInterface/build/web/WEB-INF/classes/-NotificationInterface.connection|_ThreadID=14;_ThreadName=httpWorkerThread-4848-0;DatabaseLogin(
platform=>JavaDBPlatform
user name=> ""
connector=>JNDIConnector datasource name=>null
);|connecting|#]

[#|2006-04-21T23:32:21.061+0100|CONFIG|sun-appserver-pe9.0|oracle.toplink.essentials.file:/C:/MTOSI-REFERENCE/MTOSI-REFERENCE/NotificationInterface/build/web/WEB-INF/classes/-NotificationInterface.connection|_ThreadID=14;_ThreadName=httpWorkerThread-4848-0;jdbc:derby://localhost:1527/MTOSIv1;create=true;mtosi;Apache Derby;10.1.1.0;Apache Derby Network Client JDBC Driver;10.1.1.0;
;|connected_user_database_driver|#]

[#|2006-04-21T23:32:21.071+0100|INFO|sun-appserver-pe9.0|oracle.toplink.essentials.file:/C:/MTOSI-REFERENCE/MTOSI-REFERENCE/NotificationInterface/build/web/WEB-INF/classes/-NotificationInterface|_ThreadID=14;_ThreadName=httpWorkerThread-4848-0;file:/C:/MTOSI-REFERENCE/MTOSI-REFERENCE/NotificationInterface/build/web/WEB-INF/classes/-NotificationInterface;|login_successful|#]

[#|2006-04-21T23:32:32.738+0100|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpWorkerThread-8080-1;|nativeProbableCause|#]

[#|2006-04-21T23:32:32.738+0100|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpWorkerThread-8080-1;|
20060421233230.30+0100|#]

[#|2006-04-21T23:32:32.738+0100|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpWorkerThread-8080-1;|
set id = 1|#]

[#|2006-04-21T23:32:32.738+0100|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpWorkerThread-8080-1;|
created em |#]

[#|2006-04-21T23:32:32.738+0100|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpWorkerThread-8080-1;|
utx.begin()|#]

[#|2006-04-21T23:32:32.738+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.resource.webservices.jaxws.server.PeptTie|_ThreadID=16;_ThreadName=httpWorkerThread-8080-1;_RequestID=f1074b0a-9572-4717-9afe-5ceafa81b914;|The log message is null.
java.lang.NullPointerException
at com.xx.server.NotificationConsumer.notify(NotificationConsumer.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.xml.ws.server.PeptTie._invoke(PeptTie.java:58)
at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.invokeEndpoint(SOAPMessageDispatcher.java:278)
at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher$SoapInvoker.invoke(SOAPMessageDispatcher.java:586)
at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:145)
at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
at com.sun.enterprise.webservice.JAXWSServlet.doPost(JAXWSServlet.java:191)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:423)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
|#]
|#]

regards
Steve

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
steveor
Offline
Joined: 2006-03-02

Checking the UML it seems EventInformationT is actually the superclass and is embedded in AlarmT

EventInformationT contains NotificationID (string) which is the unique id for the alarm (primary key?)

EventInformationT contains various boolean, string, and 1 Collection of string and 1 enum, AlarmT also contains other list classes (string,enum)

Just found jsr220 persistence spec, looking at chapter 9 does this mean I should be using @EmbeddedId?

regards
Steve

steveor
Offline
Joined: 2006-03-02

gave it a go

deployment started : 0%
Deploying application in domain failed; Deployment Error -- Exception [TOPLINK-0] (Oracle TopLink Essentials - 2006.3 (Build 060319)): oracle.toplink.essentials.exceptions.IntegrityException
Descriptor Exceptions:
---------------------------------------------------------
Exception [TOPLINK-77] (Oracle TopLink Essentials - 2006.3 (Build 060319)): oracle.toplink.essentials.exceptions.DescriptorException
Exception Description: The reference descriptor for [com.xx.server.EventInformationT] should be set to be an Aggregate descriptor.
Mapping: oracle.toplink.essentials.mappings.AggregateObjectMapping[eventInfo]
Descriptor: RelationalDescriptor(com.xx.server.AlarmT --> [DatabaseTable(ALARMT)])
Exception [TOPLINK-46] (Oracle TopLink Essentials - 2006.3 (Build 060319)): oracle.toplink.essentials.exceptions.DescriptorException
Exception Description: There should be one non-read-only mapping defined for the primary key field [ALARMT.OBJECTNAME].
Descriptor: RelationalDescriptor(com.xx.server.EventInformationT --> [DatabaseTable(ALARMT)])
Runtime Exceptions:

ss141213
Offline
Joined: 2005-03-30

Please supply the entity class definition. In the mean while, here are a few things to note:

1. Id(P.K.) must be defined only [b]once[/b] in an entity hierarchy. Since AlarmT [b]extends[/b] EventInformationT, AlarmT will have the [b]same[/b] Id field/property as EventInformationT.

2. If you want to map same column multiple times, then see the code that is posted at http://forums.java.net/jive/thread.jspa?threadID=14559

Sahoo

steveor
Offline
Joined: 2006-03-02

Hi Sahoo

I've got a bit further since I last wrote (GF=b44)
The following code generates NOTIFICATIONID in both tables,
I wonder about the collections though - NamingAttributes seems to have become DTYPE. I tried to annotate NamingAttributes with @OneToMany and List<> throughout but received the following exception

[i][TopLink Config]: 2006.04.24 11:24:28.533--ServerSession(17472943)--Thread(Thread[Thread-28,10,Grizzly])--The target entity (reference) class for the one to many mapping element [public java.util.Collection com.bt.server.EventInformationT.getObjectName()] is being defaulted to: class com.bt.server.NamingAttributesT.
|#]
Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Deployment Error -- String index out of range: 3
[/i]

[b]This is the wsimport generated superclass[/b]
I've sent you actual files to your email address to make it easier to read

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EventInformation_T", propOrder = {

})
@Entity
@Inheritance(strategy=InheritanceType.JOINED) // or SINGLE_TABLE
@DiscriminatorValue(value="notificationId") // <-- fixes bug in b37
public class EventInformationT implements java.io.Serializable {

@XmlElement(namespace = "tmf854.v1", required = true)
protected String notificationId;
@XmlElement(namespace = "tmf854.v1", required = true)
protected NamingAttributesT objectName;
@XmlElement(namespace = "tmf854.v1", required = true)
protected ObjectTypeT objectType;
@XmlElement(namespace = "tmf854.v1", required = true)
protected String osTime;
@XmlElement(namespace = "tmf854.v1", required = true)
protected String neTime;
@XmlElement(namespace = "tmf854.v1")
protected boolean edgePointRelated;

/**
* Gets the value of the notificationId property.
*
* @return
* possible object is
* {@link String }
*
*/
@Id
public String getNotificationId() {
return notificationId;
}

/**
* Sets the value of the notificationId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNotificationId(String value) {
this.notificationId = value;
}

/**
* Gets the value of the objectName property.
*
* @return
* possible object is
* {@link NamingAttributesT }
*
*/

public NamingAttributesT getObjectName() {
return objectName;
}

/**
* Sets the value of the objectName property.
*
* @param value
* allowed object is
* {@link NamingAttributesT }
*
*/
public void setObjectName(NamingAttributesT value) {
this.objectName = value;
}

/**
* Gets the value of the objectType property.
*
* @return
* possible object is
* {@link ObjectTypeT }
*
*/
public ObjectTypeT getObjectType() {
return objectType;
}

/**
* Sets the value of the objectType property.
*
* @param value
* allowed object is
* {@link ObjectTypeT }
*
*/
public void setObjectType(ObjectTypeT value) {
this.objectType = value;
}

/**
* Gets the value of the osTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOsTime() {
return osTime;
}

/**
* Sets the value of the osTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOsTime(String value) {
this.osTime = value;
}

/**
* Gets the value of the neTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNeTime() {
return neTime;
}

/**
* Sets the value of the neTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNeTime(String value) {
this.neTime = value;
}

/**
* Gets the value of the edgePointRelated property.
*
*/
public boolean isEdgePointRelated() {
return edgePointRelated;
}

/**
* Sets the value of the edgePointRelated property.
*
*/
public void setEdgePointRelated(boolean value) {
this.edgePointRelated = value;
}

}

[b]This is the Alarm class - since this is wsimport generated I added the extends statement[/b]

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Alarm_T", propOrder = {
})

@Table(name="ALARM")
@Entity
@DiscriminatorValue(value="eventInfo") // <-- fixes bug in b37
public class AlarmT extends EventInformationT implements java.io.Serializable {

@XmlElement(namespace = "tmf854.v1", required = true)
protected EventInformationT eventInfo;
@XmlElement(namespace = "tmf854.v1")
protected boolean isClearable;
@XmlElement(namespace = "tmf854.v1")
protected AliasNameListT aliasNameList;
@XmlElement(namespace = "tmf854.v1", required = true)
protected String layerRate;
@XmlElement(namespace = "tmf854.v1", required = true)
protected ProbableCauseT probableCause;
@XmlElement(namespace = "tmf854.v1")
protected String nativeProbableCause;
@XmlElement(namespace = "tmf854.v1")
protected String additionalText;
@XmlElement(namespace = "tmf854.v1", required = true)
protected String perceivedSeverity;
@XmlElement(namespace = "tmf854.v1")
protected NamingAttributesListT affectedTPList;
@XmlElement(namespace = "tmf854.v1", required = true)
protected ServiceAffectingT serviceAffecting;
@XmlElement(namespace = "tmf854.v1")
protected boolean rcaiIndicator;
@XmlElement(namespace = "tmf854.v1")
protected AcknowledgeIndicationT acknowledgeIndication;
@XmlElement(name = "X733_EventType", namespace = "tmf854.v1")
protected String x733EventType;
@XmlElement(name = "X733_SpecificProblems", namespace = "tmf854.v1")
protected SpecificProblemListT x733SpecificProblems;
@XmlElement(name = "X733_BackedUpStatus", namespace = "tmf854.v1")
protected String x733BackedUpStatus;
@XmlElement(name = "X733_BackUpObject", namespace = "tmf854.v1")
protected NamingAttributesT x733BackUpObject;
@XmlElement(name = "X733_TrendIndication", namespace = "tmf854.v1")
protected String x733TrendIndication;
@XmlElement(name = "X733_CorrelatedNotifications", namespace = "tmf854.v1")
protected CorrelatedNotificationListT x733CorrelatedNotifications;
@XmlElement(name = "X733_MonitoredAttributes", namespace = "tmf854.v1")
protected AnyListT x733MonitoredAttributes;
@XmlElement(name = "X733_ProposedRepairActions", namespace = "tmf854.v1")
protected ProposedRepairActionListT x733ProposedRepairActions;
@XmlElement(namespace = "tmf854.v1")
protected AlarmExtT vendorExtensions;

/**
* Gets the value of the eventInfo property.
*
* @return
* possible object is
* {@link EventInformationT }
*
*/

@OneToOne
public EventInformationT getEventInfo() {
return eventInfo;
}

/**
* Sets the value of the eventInfo property.
*
* @param value
* allowed object is
* {@link EventInformationT }
*
*/
public void setEventInfo(EventInformationT value) {
this.eventInfo = value;
}

/**
* Gets the value of the isClearable property.
*
*/
public boolean isIsClearable() {
return isClearable;
}

/**
* Sets the value of the isClearable property.
*
*/
public void setIsClearable(boolean value) {
this.isClearable = value;
}

/**
* Gets the value of the aliasNameList property.
*
* @return
* possible object is
* {@link AliasNameListT }
*
*/
public AliasNameListT getAliasNameList() {
return aliasNameList;
}

/**
* Sets the value of the aliasNameList property.
*
* @param value
* allowed object is
* {@link AliasNameListT }
*
*/
public void setAliasNameList(AliasNameListT value) {
this.aliasNameList = value;
}

/**
* Gets the value of the layerRate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLayerRate() {
return layerRate;
}

/**
* Sets the value of the layerRate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLayerRate(String value) {
this.layerRate = value;
}

/**
* Gets the value of the probableCause property.
*
* @return
* possible object is
* {@link ProbableCauseT }
*
*/
public ProbableCauseT getProbableCause() {
return probableCause;
}

/**
* Sets the value of the probableCause property.
*
* @param value
* allowed object is
* {@link ProbableCauseT }
*
*/
public void setProbableCause(ProbableCauseT value) {
this.probableCause = value;
}

/**
* Gets the value of the nativeProbableCause property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNativeProbableCause() {
return nativeProbableCause;
}

/**
* Sets the value of the nativeProbableCause property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNativeProbableCause(String value) {
this.nativeProbableCause = value;
}

/**
* Gets the value of the additionalText property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAdditionalText() {
return additionalText;
}

/**
* Sets the value of the additionalText property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAdditionalText(String value) {
this.additionalText = value;
}

/**
* Gets the value of the perceivedSeverity property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPerceivedSeverity() {
return perceivedSeverity;
}

/**
* Sets the value of the perceivedSeverity property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPerceivedSeverity(String value) {
this.perceivedSeverity = value;
}

/**
* Gets the value of the affectedTPList property.
*
* @return
* possible object is
* {@link NamingAttributesListT }
*
*/
public NamingAttributesListT getAffectedTPList() {
return affectedTPList;
}

/**
* Sets the value of the affectedTPList property.
*
* @param value
* allowed object is
* {@link NamingAttributesListT }
*
*/
public void setAffectedTPList(NamingAttributesListT value) {
this.affectedTPList = value;
}

/**
* Gets the value of the serviceAffecting property.
*
* @return
* possible object is
* {@link ServiceAffectingT }
*
*/
public ServiceAffectingT getServiceAffecting() {
return serviceAffecting;
}

/**
* Sets the value of the serviceAffecting property.
*
* @param value
* allowed object is
* {@link ServiceAffectingT }
*
*/
public void setServiceAffecting(ServiceAffectingT value) {
this.serviceAffecting = value;
}

/**
* Gets the value of the rcaiIndicator property.
*
*/
public boolean isRcaiIndicator() {
return rcaiIndicator;
}

/**
* Sets the value of the rcaiIndicator property.
*
*/
public void setRcaiIndicator(boolean value) {
this.rcaiIndicator = value;
}

/**
* Gets the value of the acknowledgeIndication property.
*
* @return
* possible object is
* {@link AcknowledgeIndicationT }
*
*/
public AcknowledgeIndicationT getAcknowledgeIndication() {
return acknowledgeIndication;
}

/**
* Sets the value of the acknowledgeIndication property.
*
* @param value
* allowed object is
* {@link AcknowledgeIndicationT }
*
*/
public void setAcknowledgeIndication(AcknowledgeIndicationT value) {
this.acknowledgeIndication = value;
}

/**
* Gets the value of the x733EventType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getX733EventType() {
return x733EventType;
}

/**
* Sets the value of the x733EventType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setX733EventType(String value) {
this.x733EventType = value;
}

/**
* Gets the value of the x733SpecificProblems property.
*
* @return
* possible object is
* {@link SpecificProblemListT }
*
*/
public SpecificProblemListT getX733SpecificProblems() {
return x733SpecificProblems;
}

/**
* Sets the value of the x733SpecificProblems property.
*
* @param value
* allowed object is
* {@link SpecificProblemListT }
*
*/
public void setX733SpecificProblems(SpecificProblemListT value) {
this.x733SpecificProblems = value;
}

/**
* Gets the value of the x733BackedUpStatus property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getX733BackedUpStatus() {
return x733BackedUpStatus;
}

/**
* Sets the value of the x733BackedUpStatus property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setX733BackedUpStatus(String value) {
this.x733BackedUpStatus = value;
}

/**
* Gets the value of the x733BackUpObject property.
*
* @return
* possible object is
* {@link NamingAttributesT }
*
*/
public NamingAttributesT getX733BackUpObject() {
return x733BackUpObject;
}

/**
* Sets the value of the x733BackUpObject property.
*
* @param value
* allowed object is
* {@link NamingAttributesT }
*
*/
public void setX733BackUpObject(NamingAttributesT value) {
this.x733BackUpObject = value;
}

/**
* Gets the value of the x733TrendIndication property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getX733TrendIndication() {
return x733TrendIndication;
}

/**
* Sets the value of the x733TrendIndication property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setX733TrendIndication(String value) {
this.x733TrendIndication = value;
}

/**
* Gets the value of the x733CorrelatedNotifications property.
*
* @return
* possible object is
* {@link CorrelatedNotificationListT }
*
*/

public CorrelatedNotificationListT getX733CorrelatedNotifications() {
return x733CorrelatedNotifications;
}

/**
* Sets the value of the x733CorrelatedNotifications property.
*
* @param value
* allowed object is
* {@link CorrelatedNotificationListT }
*
*/
public void setX733CorrelatedNotifications(CorrelatedNotificationListT value) {
this.x733CorrelatedNotifications = value;
}

/**
* Gets the value of the x733MonitoredAttributes property.
*
* @return
* possible object is
* {@link AnyListT }
*
*/
public AnyListT getX733MonitoredAttributes() {
return x733MonitoredAttributes;
}

/**
* Sets the value of the x733MonitoredAttributes property.
*
* @param value
* allowed object is
* {@link AnyListT }
*
*/
public void setX733MonitoredAttributes(AnyListT value) {
this.x733MonitoredAttributes = value;
}

/**
* Gets the value of the x733ProposedRepairActions property.
*
* @return
* possible object is
* {@link ProposedRepairActionListT }
*
*/
public ProposedRepairActionListT getX733ProposedRepairActions() {
return x733ProposedRepairActions;
}

/**
* Sets the value of the x733ProposedRepairActions property.
*
* @param value
* allowed object is
* {@link ProposedRepairActionListT }
*
*/
public void setX733ProposedRepairActions(ProposedRepairActionListT value) {
this.x733ProposedRepairActions = value;
}

/**
* Gets the value of the vendorExtensions property.
*
* @return
* possible object is
* {@link AlarmExtT }
*
*/
public AlarmExtT getVendorExtensions() {
return vendorExtensions;
}

/**
* Sets the value of the vendorExtensions property.
*
* @param value
* allowed object is
* {@link AlarmExtT }
*
*/
public void setVendorExtensions(AlarmExtT value) {
this.vendorExtensions = value;
}

}

This is the XML I send ...



HTTP



972607047

CuMSAN Felixstowe/01 Some equipment some ptp some ctp OT_CONNECTION_TERMINATION_POINT

20060424115226.26+0100
20060424115226.26+0100
false

true


nativeName
nativeValue


LR_Line_OC768_STS768_and_MS_STM256

AIS
nativeProbableCause
Additional Text

PS_CRITICAL

CuMSAN
Felixstowe
Equipment

ptp ctp 1


SA_NON_SERVICE_AFFECTING
true
AI_EVENT_ACKNOWLEDGED
X733_eventType

Specific problem 1
Specific problem 2
Specific problem 3

X733_BackedUpStatus

CuMSAN
Felixstowe
Equipment

ptp ctp 1

X733_TrendIndication



CuMSAN
Felixstowe
Equipment

ptp ctp 1


Notification ID 1
Notification ID 2





Specific problem 1
Specific problem 2
Specific problem 3


Replace card