The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » Metro and JAXB

Thread: JAX-WS 2.2 release date?

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 5 - Last Post: May 13, 2009 11:14 PM by: Jitendra Kotamr...
Jon Miller
JAX-WS 2.2 release date?
Posted: Nov 4, 2008 1:49 PM
  Click to reply to this thread Reply

Does anyone know when JAX-WS 2.2 is due for release? Does anyone know when
it will be possible to mark web service method parameters as nillable?

Jon


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net


Jitendra Kotamr...
Re: JAX-WS 2.2 release date?
Posted: Jan 5, 2009 8:41 PM   in response to: Jon Miller
  Click to reply to this thread Reply

Jon Miller wrote:
> Does anyone know when JAX-WS 2.2 is due for release? Does anyone know
> when it will be possible to mark web service
Planning to align JAX-WS 2.2 with Java EE 6 time lines.
> method parameters as nillable?
Yes, it is being proposed to expert group. Let me know if you have any
feedback.

If doc/lit wrapper parameters are annotated with @XmlElement, then a
necessary schema can be generated. Hence JAXB 2.2 allows @XmlElement be
specified with the parameters. If both @WebParam, and @XmlElement are
present on a parameter, @XmlElement on the parameter will be taken for
the wrapper bean field annotation.
For example:

float getPrice(
@WebParam(name="tickerSymbol")
*@XmlElement(name="ticker", targetNamespace="tns", nillable=true)*
String sym);

@XmlRootElement(name="getPrice", targetNamespace="...")
@XmlType(name="getPrice", targetNamespace="...")
@XmlAccessorType(AccessType.FIELD)
public class GetPrice {
*@XmlElement(name="ticker", targetNamespace="tns", nillable=true)*
public String tickerSymbol;
}

thanks,
Jitu

>
> Jon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>

[att1.html]


kristoff

Posts: 20
Re: JAX-WS 2.2 release date?
Posted: Feb 20, 2009 3:18 PM   in response to: Jitendra Kotamr...
  Click to reply to this thread Reply

Is this supported in the current nightlies?

Jon Miller
Re: JAX-WS 2.2 release date?
Posted: May 11, 2009 10:48 AM   in response to: kristoff
  Click to reply to this thread Reply

Are nightlies available for 2.2? I only see 2.1 listed on the web site.

----- Original Message -----
From: <metro@javadesktop.org>
To: <users@metro.dev.java.net>
Sent: Friday, February 20, 2009 6:18 PM
Subject: Re: JAX-WS 2.2 release date?


> Is this supported in the current nightlies?
> [Message sent by forum member 'kristoff' (kristoff)]
>
> http://forums.java.net/jive/thread.jspa?messageID=333198
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net


Jitendra Kotamr...
Re: JAX-WS 2.2 release date?
Posted: May 13, 2009 11:14 PM   in response to: Jon Miller
  Click to reply to this thread Reply

Jon Miller wrote:
> Are nightlies available for 2.2? I only see 2.1 listed on the web site.
I do see them under 2.2 folder
https://jax-ws.dev.java.net/servlets/ProjectDocumentList?folderID=11088&expandFolder=11088&folderID=11088

Jitu
>
> ----- Original Message ----- From: <metro@javadesktop.org>
> To: <users@metro.dev.java.net>
> Sent: Friday, February 20, 2009 6:18 PM
> Subject: Re: JAX-WS 2.2 release date?
>
>
>> Is this supported in the current nightlies?
>> [Message sent by forum member 'kristoff' (kristoff)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=333198
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
>> For additional commands, e-mail: users-help@metro.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net





 XML java.net RSS