AnsweredAssumed Answered

Error while creating SOAP service using CA DevTest

Question asked by Gangashri.N on Aug 3, 2017
Latest reply on Aug 4, 2017 by sursu06

Hi,

Tried creating simple soap service and used Generic XML payload parser data protocol. Getting error while setting attributes as arguments from Soap request. Please find below the screenshot.

javax.xml.transform.TransformerException: A location step was expected following the '/' or '//' token.
at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:610)
at org.apache.xpath.compiler.XPathParser.RelativeLocationPath(XPathParser.java:1639)
at org.apache.xpath.compiler.XPathParser.LocationPath(XPathParser.java:1597)
at org.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java:1317)
at org.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java:1236)
at org.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java:1142)
at org.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1063)
at org.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java:1005)
at org.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java:930)
at org.apache.xpath.compiler.XPathParser.EqualityExpr(XPathParser.java:870)
at org.apache.xpath.compiler.XPathParser.AndExpr(XPathParser.java:834)
at org.apache.xpath.compiler.XPathParser.OrExpr(XPathParser.java:807)
at org.apache.xpath.compiler.XPathParser.Expr(XPathParser.java:790)
at org.apache.xpath.compiler.XPathParser.initXPath(XPathParser.java:129)
at org.apache.xpath.XPath.<init>(XPath.java:178)
at org.apache.xpath.XPathAPI.eval(XPathAPI.java:277)
at com.itko.lisa.xml.XMLXPathUtils.executeXPath(XMLXPathUtils.java:77)
at com.itko.lisa.xml.XPathBuilderPanel.runXPath(XPathBuilderPanel.java:174)
at com.itko.lisa.xml.XPathBuilderPanel.access$300(XPathBuilderPanel.java:40)
at com.itko.lisa.xml.XPathBuilderPanel$3.actionPerformed(XPathBuilderPanel.java:117)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)

 

Please let me know the solution.

 

Thanks,

Ganga

Outcomes