I am using Appian 7.1.2 on JBOSS. I am building a smartservice to call the sales

I am using Appian 7.1.2 on JBOSS. I am building a smartservice to call the salesforce enterprise wsdl. I am using axis2 version 1.6.2. The code works when I test it outside of the application server. When I run it with a process model, I initially got NoClassDefFound error on org/w3c/dom/Node. I then added the following to my appian-plugin.xml.

<bundle-instructions>
                    <Export-Package>org.w3c.dom</Export-Package>
          </bundle-instructions>

Now I am getting:

java.lang.ClassCastException: __redirected.__XMLInputFactory cannot be cast to javax.xml.stream.XMLInputFactory at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:41) at org.apache.axiom.om.util.StAXUtils$7.run(StAXUtils.java:504) at java.security.AccessController.doPrivileged(Native

To make life easier, I wrote a simple plugin to call the weather web service. That gave me the same exception. Need someone to resolve. I can send you my plugin. FYI, here are the...

OriginalPostID-80470

OriginalPostID-80470

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data