- This topic has 3 replies, 3 voices, and was last updated 18 years ago by jroneil.
-
AuthorPosts
-
Don NelsonMemberI’m attempting to implement the bottom-up tutorial for the XFire web services, on Eclipse 3.2, MyEclipse 5.0.x GA, WebLogic 9.2. When my client attempts to access the web service, i get the following error:
Exception in thread “main” org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Unexpected character ‘”‘ (code 34) in DOCTYPE declaration; expected a space between public and system identifiers
at [row,col {unknown-source}]: [1,55]
org.codehaus.xfire.fault.XFireFault: Unexpected character ‘”‘ (code 34) in DOCTYPE declaration; expected a space between public and system identifiersAny ideas anyone?
Thanks,
Don
fratelicMemberi am doing the same tutorials however, when we are supposed to open web services explorer to test the HelloWorld, i do not know what is URL of the WSDL document i am supposed to enter. i hope someone can enlighten me. 😉
jroneilMemberI had the same same problem. Looking at the WEB XML according to the XFIRE web site it should look like this
<servlet>
<servlet-name>XFireServlet</servlet-name>
<servlet-class>
org.codehaus.xfire.transport.http.XFireConfigurableServlet
</servlet-class>
</servlet><servlet-mapping>
<servlet-name>XFireServlet</servlet-name>
<url-pattern>/servlet/XFireServlet/*</url-pattern>
</servlet-mapping>
<!– begin not in tutorial–>
<servlet-mapping>
<servlet-name>XFireServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
<!– not in tutorial–>I add that to my xml and it worked
The URL also change tohttp://localhost:8080/HelloWorld/services/HelloWorldService?wsdl
I also believe that you may have to wait unit tomcat has completed it startup then
used the web service browse.
jroneilMemberThis code was missing my mistake previous post
<servlet-mapping>
<servlet-name>XFireServlet</servlet-name>
<url-pattern>/servlet/XFireServlet/*</url-pattern>
</servlet-mapping>Joe
-
AuthorPosts