problem with wsdeploy
843834Feb 18 2004 — edited Feb 19 2004Following the instruction in Chapter 12: Building Web Services With JAX-RPC, I wrote a service similar to helloservice. But I got the following error while trying to deploy the service. Can anyone tell me if it is the problem of the configration file (e.g. config-interface.xml, jaxrtp-ri.xml) or the problem of my source code?
Thanks in advance for you time and your help.
run-wsdeploy:
[echo] Running wsdeploy:
[echo] /home/myname/webservice/jwsdp-1.3//apache-ant/..//jaxrpc/bin/wsdeploy.sh -o dist/myservice-jaxrpc.war dist/myservice-jaxrpc-portable.war
[exec] [Fatal Error] :9:71: The content of elements must consist of well-formed character data or markup.
[exec] error: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
[exec] org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
[exec] at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:267)
[exec] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:206)
[exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.defineServletsAndListeners(DeployTool.java:410)
[exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java:214)
[exec] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:40)
[exec] at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:24)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec] at java.lang.reflect.Method.invoke(Method.java:324)
[exec] at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
[exec] Result: 1