Reviewing the code...i realized that the code was generated using w2j
of JAXWS RI (NOT just JAXB's xjc). So i fixed the name change of the
class AccessType to XmlAccessType and checked it in.

thanks,
dims

PS: tests fails under JDK1.6 Beta2 as it has an internal impl of
jaxb2/jaxws. JDK1.5 worked ok for me.


On 7/11/06, Nicholas L Gallardo <[EMAIL PROTECTED]> wrote:


Dims,

That sounds reasonable to me.


Thanks,

Nicholas Gallardo
 WebSphere  -  WebServices Development
 [EMAIL PROTECTED]
 Phone: 512-838-1182
 Building: 901 / 5G-016








"Davanum Srinivas" <[EMAIL PROTECTED]>


07/11/2006 10:05 PM


Please respond to
 [email protected]


To [email protected]

cc


Subject Re: [Axis2] - Updating the JAX-B RI to the latest version








Nicholas,

 It'd be better if we don't check-in generated code. Would it be
 possible for you to try generating the code using a preGoal in
 maven.xml?

 If that does not work, then please gen the new sources and post a diff
 to jira and i'll pick it up.

 thanks,
 dims

 On 7/11/06, Nicholas L Gallardo <[EMAIL PROTECTED]> wrote:
 >
 >
 > Dims,
 >
 > Yep, that's one of the problems.  That particular annotation has changed to 
XmlAccessType in the latest jar.
 >
 > We'd regenerated the JAX-B classes using the EA3 jar to get the code to 
work, but I guess we'll have to re-gen them with the latest and check that in at 
the same time.  Should I open a jira and put the updated classes in a patch there? 
 That way you could check those in when the updated JAX-B jar goes in as well.
 >
 > Thanks for looking at this and sorry to have not caught that beforehand.
 >
 > Regards,
 >
 >
 > Nicholas Gallardo
 >  WebSphere  -  WebServices Development
 >  [EMAIL PROTECTED]
 >  Phone: 512-838-1182
 >  Building: 901 / 5G-016
 >
 >
 >
 >
 >  "Davanum Srinivas" <[EMAIL PROTECTED]>
 >
 > 07/11/2006 08:50 PM
 >
 > Please respond to
 >  [email protected]
 >
 >
 > To [email protected]
 >
 > cc
 >
 >
 > Subject Re: [Axis2] - Updating the JAX-B RI to the latest version
 >
 >
 >
 >
 >
 >
 >
 >
 > Nicholas,
 >
 >  the api jar in that dist does not have 
javax.xml.bind.annotation.AccessType...
 >
 >  -- dims
 >
 >      [javac] Compiling 48 source files to
 >  C:\APACHE\axis2\modules\jaxws\target\test-classes
 >      [javac] C:\APACHE\axis2\modules\jaxws\test\client\EchoString.java:11:
 >  cannot find symbol
 >      [javac] symbol  : class AccessType
 >      [javac] location: package javax.xml.bind.annotation
 >      [javac] import javax.xml.bind.annotation.AccessType;
 >      [javac]                                  ^
 >      [javac] 
C:\APACHE\axis2\modules\jaxws\test\client\EchoStringResponse.java:11:
 >  cannot find symbol
 >      [javac] symbol  : class AccessType
 >      [javac] location: package javax.xml.bind.annotation
 >      [javac] import javax.xml.bind.annotation.AccessType;
 >      [javac]                                  ^
 >      [javac] 
C:\APACHE\axis2\modules\jaxws\test\org\apache\axis2\jaxws\jaxb\mfquote\GetPrice.java:4:
 >  cannot find symbol
 >      [javac] symbol  : class AccessType
 >      [javac] location: package javax.xml.bind.annotation
 >      [javac] import javax.xml.bind.annotation.AccessType;
 >      [javac]                                  ^
 >
 >
 >  On 7/11/06, Nicholas L Gallardo <[EMAIL PROTECTED]> wrote:
 >  >
 >  > Dims,
 >  >
 >  > Would it be possible to update the JAX-B RI version in the repository to 
the
 >  > final release available from Sun
 >  > (https://jaxb.dev.java.net/jaxb20-fcs/).?
 >  >
 >  > Some of the APIs and annotations have changed slightly since the EA3 
version
 >  > and we'd like to be on the latest version before creating too many tests
 >  > that then need to be re-gen'd later on.
 >  >
 >  > Thanks,
 >  >
 >  > Nicholas Gallardo
 >  >  WebSphere  -  WebServices Development
 >  >  [EMAIL PROTECTED]
 >  >  Phone: 512-838-1182
 >  >  Building: 901 / 5G-016
 >
 >
 >  --
 >  Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
 >
 >
 >  ---------------------------------------------------------------------
 >  To unsubscribe, e-mail: [EMAIL PROTECTED]
 >  For additional commands, e-mail: [EMAIL PROTECTED]
 >
 >
 >



 --
 Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to