Harriet_Kim_1764

RA WS job error: org.apache.axiom.om.OMException: Failed to serialize node

Discussion created by Harriet_Kim_1764 on Apr 12, 2017
Scenario:
A user is on RA WebService (WS) solution v3.2.2HF1.  A new WS job is created and a value is entered in the required field.

Example:
w5rl6pr8411o.jpg

However, when the job is executed, the job aborts abnormally.  The job report produces an exception error:
org.apache.axiom.om.OMException: Failed to serialize node
at org.apache.axiom.om.impl.common.AxiomElementSupport.ajc$interMethod$org_apache_axiom_om_impl_common_AxiomElementSupport$org_apache_axiom_om_impl_intf_AxiomElement$toString(AxiomElementSupport.aj:534)      at org.apache.axiom.om.impl.llom.OMElementImpl.toString(OMElementImpl.java:1)      at com.uc4.wsdljob.StubExecutor$1.attachServiceContextEvent(StubExecutor.java:144)      at org.apache.axis2.description.AxisService.attachServiceContextEvent(AxisService.java:3376)      at org.apache.axis2.context.MessageContext.setServiceContext(MessageContext.java:1489)      at org.apache.axis2.description.OutOnlyAxisOperationClient.addMessageContext(OutOnlyAxisOperation.java:204)      at WS_1490820355809.Unifirsttoboab2Bprocess_clientStub.execute(Unifirsttoboab2Bprocess_clientStub.java:119)      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)      at java.lang.reflect.Method.invoke(Method.java:606)      at com.uc4.wsdljob.StubExecutor.invoke(StubExecutor.java:266)      at com.uc4.wsdljob.StubExecutor$invoke.call(Unknown Source)      at SOAP.runJob(WebService.groovy:3702)      at com.uc4.extensibility.types.CITAgent.dispatchJob(CITAgent.java:258)      at com.uc4.ex.cit.CITJob.execute(CITJob.java:179)      at com.uc4.ex.Job.run(Job.java:469)      at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:53)      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)      at java.util.concurrent.FutureTask.run(FutureTask.java:262)      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)      at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.axis2.databinding.ADBException: input cannot be null!!
Solution:
  1. Edit your WS job 
  2. Go to the Web Service tab 
  3. On the left hand side, go to 'Object' under the 'Request' section 
  4. Double-click on input 
  5. Type in some random string 
  6. Now double-click somewhere in the white space area of the same window pane 
  7. Go to the 'XML' under the 'Request' section 
  8. Type anything in here > Save > go back and erase it > Save 
  9. Now run the job 

Outcomes