JobSubmit Service - org.xml.sax.SAXException: No deserializer for {http://www.w3.org/2001/XMLSchema}

Hi,

I am facing a strange behaviour with the production jobsubmit service(https://messaging.easylink.com/soap/sync). When I invoke the service it is throwing me the following exception.

 

Caused by: org.xml.sax.SAXException: No deserializer for {http://www.w3.org/2001/XMLSchema}anyTypeat org.apache.axis.AxisFault.makeFault(AxisFault.java:101)

at org.apache.axis.client.Call.invoke(Call.java:2470)


at org.apache.axis.client.Call.invoke(Call.java:2366)


at org.apache.axis.client.Call.invoke(Call.java:1812)

 

The strange part is that the Test service (https://test2messaging.easylink.com/soap/sync) works fine.

Has anyone encountered this issue. I tried searching different forums and found out the following solution but it does not work for me. I tried changing it in the ContentsTypeDynamicContentSectionDocument class file but it does not work.

Change the following QName

elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "anyType"));

Change this QName to 
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));

 

 

Comments

  • Are you running the same application on test and Production? There is no difference between them.

  • Yes, its the same piece of java code on both test and production with the url's changed.

    Also, how do I get the credentials for accessing the production link?

  • Based on your second question, trying to submit to Production with test credentials will not work.

    Production credentials can be obtained from your Sales person or PreSales Engineer.