You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Tom Jordahl <to...@macromedia.com> on 2004/01/08 22:52:32 UTC

RE: Moving toward Axis 1.2 beta and release

Ias,

Are you going to make this change for 1.2?

--
Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: Ias [mailto:iasandcb@tmax.co.kr] 
Sent: Tuesday, December 16, 2003 11:47 PM
To: axis-dev@ws.apache.org
Subject: RE: Moving toward Axis 1.2 beta and release

> The question I was asked is "What does 1.2 give me?"  "Bug 
> fixes" wasn't thought to be very compelling, while "WS-I BP 
> 1.0 conformance" is something that gets a much better reaction.
> 

Thanks for reminding me of WS-I BP stuffs for Axis. I have one thing to do
with R2707 of WS-I BP 1.0 as follows.

http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile-
1.0a.htm#refinement35158400

5.6.5 Default for use Attribute
There is an inconsistency between the WSDL 1.1 specification and the WSDL 1.
1 schema regarding whether the use attribute is optional on soapbind:body,
soapbind:header, and soapbind:headerfault, and if so, what omitting the
attribute means. 

R2707 A wsdl:binding in a DESCRIPTION that contains one or more
soapbind:body, soapbind:fault, soapbind:header or soapbind:headerfault
elements that do not specify the use attribute MUST be interpreted as
though the value "literal" had been specified in each case. 

In order for Axis to support this requirement, we need to modify
SymbolTable.setBodyType:

    private void setBodyType(
            String use, BindingEntry bEntry, Operation operation, boolean
input)
            throws IOException {

        if (use == null) {
            throw new IOException(Messages.getMessage("noUse",
                    operation.getName()));
        }
->

        if (use == null) {
          // WS-I BP 1.0 R2707
          use = "literal";
        }

I'll commit the fix soon. Your comments are always welcome. 

Ias

RE: Moving toward Axis 1.2 beta and release

Posted by Davanum Srinivas <di...@yahoo.com>.
Plz go ahead and commit it :)

-- dims

--- Ias <ia...@tmax.co.kr> wrote:
> > Ias,
> > 
> > Are you going to make this change for 1.2?
> I thought I'd already done that, but it was my mistake because my Eclipse
> has not overwritten but kept the change in my local workspace of Axis with
> each update I made so far from CVS. I can commit right now (definitely for
> 1.2), and do you have any opinion on that? I'll appeciate it.
> 
> Thanks for your attention,
> 
> Ias
> 
> > 
> > --
> > Tom Jordahl
> > Macromedia Server Development
> > 
> > -----Original Message-----
> > From: Ias [mailto:iasandcb@tmax.co.kr]
> > Sent: Tuesday, December 16, 2003 11:47 PM
> > To: axis-dev@ws.apache.org
> > Subject: RE: Moving toward Axis 1.2 beta and release
> > 
> > > The question I was asked is "What does 1.2 give me?"  "Bug fixes" 
> > > wasn't thought to be very compelling, while "WS-I BP 1.0 
> > conformance" 
> > > is something that gets a much better reaction.
> > > 
> > 
> > Thanks for reminding me of WS-I BP stuffs for Axis. I have 
> > one thing to do with R2707 of WS-I BP 1.0 as follows.
> > 
> > http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile-
> > 1.0a.htm#refinement35158400
> > 
> > 5.6.5 Default for use Attribute
> > There is an inconsistency between the WSDL 1.1 specification 
> > and the WSDL 1.
> > 1 schema regarding whether the use attribute is optional on 
> > soapbind:body, soapbind:header, and soapbind:headerfault, and 
> > if so, what omitting the attribute means. 
> > 
> > R2707 A wsdl:binding in a DESCRIPTION that contains one or 
> > more soapbind:body, soapbind:fault, soapbind:header or 
> > soapbind:headerfault elements that do not specify the use 
> > attribute MUST be interpreted as though the value "literal" 
> > had been specified in each case. 
> > 
> > In order for Axis to support this requirement, we need to modify
> > SymbolTable.setBodyType:
> > 
> >     private void setBodyType(
> >             String use, BindingEntry bEntry, Operation 
> > operation, boolean
> > input)
> >             throws IOException {
> > 
> >         if (use == null) {
> >             throw new IOException(Messages.getMessage("noUse",
> >                     operation.getName()));
> >         }
> > ->
> > 
> >         if (use == null) {
> >           // WS-I BP 1.0 R2707
> >           use = "literal";
> >         }
> > 
> > I'll commit the fix soon. Your comments are always welcome. 
> > 
> > Ias
> > 
> 


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

RE: Moving toward Axis 1.2 beta and release

Posted by Ias <ia...@tmax.co.kr>.
> Ias,
> 
> Are you going to make this change for 1.2?
I thought I'd already done that, but it was my mistake because my Eclipse
has not overwritten but kept the change in my local workspace of Axis with
each update I made so far from CVS. I can commit right now (definitely for
1.2), and do you have any opinion on that? I'll appeciate it.

Thanks for your attention,

Ias

> 
> --
> Tom Jordahl
> Macromedia Server Development
> 
> -----Original Message-----
> From: Ias [mailto:iasandcb@tmax.co.kr]
> Sent: Tuesday, December 16, 2003 11:47 PM
> To: axis-dev@ws.apache.org
> Subject: RE: Moving toward Axis 1.2 beta and release
> 
> > The question I was asked is "What does 1.2 give me?"  "Bug fixes" 
> > wasn't thought to be very compelling, while "WS-I BP 1.0 
> conformance" 
> > is something that gets a much better reaction.
> > 
> 
> Thanks for reminding me of WS-I BP stuffs for Axis. I have 
> one thing to do with R2707 of WS-I BP 1.0 as follows.
> 
> http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile-
> 1.0a.htm#refinement35158400
> 
> 5.6.5 Default for use Attribute
> There is an inconsistency between the WSDL 1.1 specification 
> and the WSDL 1.
> 1 schema regarding whether the use attribute is optional on 
> soapbind:body, soapbind:header, and soapbind:headerfault, and 
> if so, what omitting the attribute means. 
> 
> R2707 A wsdl:binding in a DESCRIPTION that contains one or 
> more soapbind:body, soapbind:fault, soapbind:header or 
> soapbind:headerfault elements that do not specify the use 
> attribute MUST be interpreted as though the value "literal" 
> had been specified in each case. 
> 
> In order for Axis to support this requirement, we need to modify
> SymbolTable.setBodyType:
> 
>     private void setBodyType(
>             String use, BindingEntry bEntry, Operation 
> operation, boolean
> input)
>             throws IOException {
> 
>         if (use == null) {
>             throw new IOException(Messages.getMessage("noUse",
>                     operation.getName()));
>         }
> ->
> 
>         if (use == null) {
>           // WS-I BP 1.0 R2707
>           use = "literal";
>         }
> 
> I'll commit the fix soon. Your comments are always welcome. 
> 
> Ias
>