Hi, Errors like this are often found when you contact a "service" that returns HTML. Make sure the endpoints (url's) that you are trying to reach exist.
Try testing them without using Muse (for example SoapUI or just by the browser). You won't be able to call functions but you should be able to tell if the service is running. As for the server part of Muse, enable full logging and you should see what, if anything, is going wrong. cheers, Chris -----Original Message----- From: Zhang Qian [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 8:08 AM To: [email protected] Subject: Can not run the sample Hi All, I am the newbie of Muse, just downloaded muse-2.2.0-bin today, and wanted to run one of its sample: wsrf. I just followed the Reference Manual to build and deploy this sample: 1. Run "ant" to build this sample. 2. Copy wsrf.war to $TOMCAT_HOME/webapps, start tomcat. 3. run client by the command "ant run -Dmain=org.apache.muse.test.wsrf.WsrfTestClient" But the client failed with this error: [java] Pinging Muse to initialize the endpoint... [java] [Fatal Error] :1:1022: The element type "HR" must be terminated by the matching end-tag "</HR>". [java] org.apache.muse.ws.addressing.soap.SoapFault: The element type "HR" must be terminated by the matching end-tag "</HR>". [java] at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClien t.java:298) [java] at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClien t.java:254) [java] at org.apache.muse.ws.resource.remote.WsResourceClient.getResourcePropertyD ocument(WsResourceClient.java:146) [java] at org.apache.muse.test.wsrf.WsrfTestClient.main(Unknown Source) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152) [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:747) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:201) [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:104) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:1 05) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.Target.execute(Target.java:357) [java] at org.apache.tools.ant.Target.performTasks(Target.java:385) [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1298) [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut or.java:41) [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1181) [java] at org.apache.tools.ant.Main.runBuild(Main.java:698) [java] at org.apache.tools.ant.Main.startAnt(Main.java:199) [java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) [java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) I am using tomcat5.5 and jdk1.6.0_05. Could anyone help me our? Thanks! Regards, Qian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
