[
https://issues.apache.org/jira/browse/AXIS2-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637432#action_12637432
]
Amila Chinthaka Suriarachchi commented on AXIS2-4058:
-----------------------------------------------------
the wrapped attribute is not something in the wsdl file. So there is not way to
set this at the WSDL11ToAxisServiceBuilder. AFAIK this attribute is used in
java2wsdl when producing the wsdl file from java classes.
> WSDL11ToAxisServiceBuilder: the wrapped attribute of the AxisMessage class is
> not being populated
> -------------------------------------------------------------------------------------------------
>
> Key: AXIS2-4058
> URL: https://issues.apache.org/jira/browse/AXIS2-4058
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: kernel
> Affects Versions: 1.4, nightly
> Environment: Windows XP. 4GB RAM Intel Xeon dual-core @2.75Ghz
> Reporter: Antonio Andrade
> Priority: Minor
> Original Estimate: 6h
> Remaining Estimate: 6h
>
> Observed Behavior:
> 1) The wrapped attribute of the AxisMessage class is not being populated by
> the WSDL11ToAxisServiceBuilder class. The information is persisted in its
> BindingOperationEntry inner class (through the wrappedInput and wrappedOutput
> attributes) but it's never set into the appropriate AxisMessage instance.
> 2) In AxisMessage, the wrapped attribute defaults to 'true' when it should
> not (see attribute declaration/initialization). Note that
> BindingOperationEntry, the wrappedInput and wrappedOutput attributes
> default to 'true'. This IS perfectly fine since BindingOperationEntry objects
> are only instantiated whenever the encoding style for the operation is
> RPC/Literal of when the binding is HTTP and the message parts reference type
> definitions so it's OK for them to default to 'true'.
> Expected Behavior:
> 1) The wrapped attribute of the AxisMessage class should be populated by the
> WSDL11ToAxisServiceBuilder class while the bindings are being populated (see
> WSDL11ToAxisServiceBuilder.populateBinding method) just before the
> addQNameReference methods are called.
> 2) In AxisMessage, the wrapped attribute should be initialized (either
> explicitly or implicitly) to 'false' and the
> DocLitBareSchemaGenerator.processMethods method should be updated accordingly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]