facebook

xFire Config

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #258408 Reply

    Mork
    Participant

    Does xFire absoloutely require Java 5?

    I have a server that runs several domains but runs Java 1.4.2.

    When I try to run a Web Service on that 1.4.2. server (that runs fine on Java 5), I get the following error:

    org.codehaus.xfire.XFireRuntimeException: error creating wsdl. Nested exception is javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing ‘- WSDL Document -‘.: can’t declare any more prefixes in this context

    ——————–

    I don’t see that the Codehaus site offers any support so maybe I’m stuck?

    — M

    #258558 Reply

    Riyad Kalla
    Member

    Mork,
    If you temporarily restart your site with Sun JDK 1.5 does the same exact web service suddenly work? Try checking your server log, do you see any exceptions like “Unknown class version 49, expected 48” or something like that?

    #258574 Reply

    Mork
    Participant

    Thanks for writing back.

    I went ahead and updated the actual Linux server to Java 1.5. That was harder (due to my inexperience) than writing the Web Service!

    Now, finally, everything works.

    I think I also had a problem with conflicting lib files in the lib folder.

    Thanks again for your reply.

    — M

    #258575 Reply

    Riyad Kalla
    Member

    Glad it’s working, that can be tricky at times.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: xFire Config

You must be logged in to post in the forum log in