dev@jax-ws.java.net

XMLStreamException

From: LeRoy Hall <leroy_e_hall_at_yahoo.com>
Date: Thu, 26 Oct 2006 09:12:38 -0700 (PDT)

FYI
   
  I have been attempting to use the EA2 source code I downloaded from java.net. The download contains a lib folder which contains all of the jars for the EA2 release. Referencing those jars I don't have a problem building my artifacts and running my client to invoke a web service. However, when I build a client that uses the source instead of the binaries, I get a XMLStreamException. I also get this exception when I jar the source and attempt to run the client referencing the newly Jarred binaries. Stepping into the code it appears that it is being thrown from javax.xml.ws.Service when attempting to instantiate a web service client object that was generated from wsimport.
  
After further investigation I have found that the reason the XMLStreamException is being thrown is because the w3c-anonymous-epr.xml file is not in the src folder with the source code. I also found that member-anonymous-epr.xml was missing from the source. After extracting these xml files into the src folder the exception went away.
   
  
 

                 
---------------------------------
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail.