MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Mork
Post subject: xFire Config  PostPosted: Sep 11, 2006 - 08:41 PM
Veteran Member
Veteran Member


Joined: Dec 09, 2004
Posts: 604

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
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Sep 14, 2006 - 06:05 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

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?

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Mork
Post subject:   PostPosted: Sep 14, 2006 - 06:23 PM
Veteran Member
Veteran Member


Joined: Dec 09, 2004
Posts: 604

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
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Sep 14, 2006 - 06:26 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

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

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits