You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "John Hawkins (JIRA)" <ax...@ws.apache.org> on 2005/02/18 18:42:48 UTC
[jira] Created: (AXISCPP-458) Unwrapped not supported.
Unwrapped not supported.
------------------------
Key: AXISCPP-458
URL: http://issues.apache.org/jira/browse/AXISCPP-458
Project: Axis-C++
Type: Bug
Components: Basic Architecture
Reporter: John Hawkins
Unwrapped WSDl style is not supported. This should be removed from WSDL2Ws.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
list info
Posted by David Burken <db...@comcast.net>.
Hello,
Can someone please unsubscribe me or send me the link to do it?
Thanks in advance,
Dave
[jira] Updated: (AXISCPP-458) Unwrapped not supported.
Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-458?page=all ]
John Hawkins updated AXISCPP-458:
---------------------------------
Component: WSDL processing - Doc
> Unwrapped not supported.
> ------------------------
>
> Key: AXISCPP-458
> URL: http://issues.apache.org/jira/browse/AXISCPP-458
> Project: Axis-C++
> Type: Bug
> Components: WSDL processing - RPC, WSDL processing - Doc
> Reporter: John Hawkins
> Assignee: Fred Preston
>
> Unwrapped WSDl style is not supported. This should be removed from WSDL2Ws.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXISCPP-458) Unwrapped not supported.
Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-458?page=comments#action_66253 ]
John Hawkins commented on AXISCPP-458:
--------------------------------------
This is a comment from - Ahab Abouzour <ea...@yahoo.com>
However, since we have this defect which is due to remove the function entirely this comment is probably superflous
Samisa and John (and others),
I read this article for Anne Thomas Manes found here:
http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html
and it REALLY helped me understand the basics. Also I
read the WSDL spec 1.1 sections 3.3 soap:binding,
section 3.4 soap:operation, section 3.5 soap:body.
I'm going to share with you what I THINKING I
UNDERSTOOD from these readings (correct me if I'm
wrong):
1- Wrapped is a form of document/literal. It must
follow the rules described by Anne's article. Most
important ones is: ONE body part in input/output
message, soap:binding should specify style="document"
and soap:body must specify use="literal"
2- Wrapped and unWrapped basically specify how the
soap should look like to that both client and server
know how to parse/deserialize it.
3- From a WSDL2Ws tool perspective, this is a
server-side thing ONLY and is useful when you have
your webservice implemented (in java or c++) and you
want to generate the WSDL file for it. You tell the
tool how you want it generate the WSDL for you,
wrapped (doc/lit) or unwrapped (rpc/enc). Once the
services is generated in either styles, it will expect
the soap to conform to the style rules so that it can
parse it. I guess the tool should validate if this
option is used with server-side and outputs a warning
if otherwise.
4- From a client side perspective, which what I was
doing trying to generate the stubs, wrapped/unwrapped
options are meaningless because the client STARTS with
a WSDL document and it HAS to follow the rules in that
document. If the services expects wrappped soap and
specifies that explicitly in the WSDL and the client
["force" things for example by generating their own
soap and] sends unwrapped soap, I expect
parsing/deserialization problems to occur on the
server side.
So, a simple printed warning is good enough at least
to alert the user that's they're trying to do
something illogical.
Hope that clarifies things and if you thing there is
something I miss interpreted, please let me know as
we're all trying to understand this!
> Unwrapped not supported.
> ------------------------
>
> Key: AXISCPP-458
> URL: http://issues.apache.org/jira/browse/AXISCPP-458
> Project: Axis-C++
> Type: Bug
> Components: WSDL processing - RPC, WSDL processing - Doc
> Reporter: John Hawkins
> Assignee: Fred Preston
>
> Unwrapped WSDl style is not supported. This should be removed from WSDL2Ws.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXISCPP-458) Unwrapped not supported.
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXISCPP-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612147#action_12612147 ]
nadir amra commented on AXISCPP-458:
------------------------------------
Found out attributes on wrapper element was not being handled correctly, so fixed that. So the complete fix for this issue is a combination of SVN revisions: 673717 and 675224.
> Unwrapped not supported.
> ------------------------
>
> Key: AXISCPP-458
> URL: https://issues.apache.org/jira/browse/AXISCPP-458
> Project: Axis-C++
> Issue Type: Bug
> Components: WSDL processing - Doc
> Reporter: John Hawkins
> Assignee: nadir amra
> Fix For: current (nightly)
>
>
> Unwrapped WSDl style is not supported. This should be removed from WSDL2Ws.
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Updated: (AXISCPP-458) Unwrapped not supported.
Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-458?page=history ]
John Hawkins updated AXISCPP-458:
---------------------------------
Component: WSDL processing
(was: Basic Architecture)
> Unwrapped not supported.
> ------------------------
>
> Key: AXISCPP-458
> URL: http://issues.apache.org/jira/browse/AXISCPP-458
> Project: Axis-C++
> Type: Bug
> Components: WSDL processing
> Reporter: John Hawkins
> Assignee: Fred Preston
>
> Unwrapped WSDl style is not supported. This should be removed from WSDL2Ws.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Closed: (AXISCPP-458) Unwrapped not supported.
Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-458?page=all ]
John Hawkins closed AXISCPP-458:
--------------------------------
Fix Version: 1.6 Alpha
Resolution: Fixed
Removed the option from the tooling. It will still accept -w so we have backwards compatibility.
> Unwrapped not supported.
> ------------------------
>
> Key: AXISCPP-458
> URL: http://issues.apache.org/jira/browse/AXISCPP-458
> Project: Axis-C++
> Type: Bug
> Components: WSDL processing - RPC, WSDL processing - Doc
> Reporter: John Hawkins
> Assignee: Fred Preston
> Fix For: 1.6 Alpha
>
> Unwrapped WSDl style is not supported. This should be removed from WSDL2Ws.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (AXISCPP-458) Unwrapped not supported.
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXISCPP-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610269#action_12610269 ]
nadiramra edited comment on AXISCPP-458 at 7/3/08 9:17 AM:
------------------------------------------------------------
First let me say that wrapper-style vs. non-wrapper style is not a server-side only concept. From client perspective, a client can ask for either one, and the result is whether operation parameters are listed individually, or in one class/structure. It does not affect the structure of the SOAP document that is sent or retrieved.
However, even if client asks for wrapper-style, the operation may be ineligible for wrapper style if it does not follow the rules:
1. "Wrapped" is a form of document/literal, therefore it must follow all the rules defined for document/literal. When defining a document/literal service, there can be at most one body part in your input message and at most one body part in your output message. You do *not* define each method parameter as a separate part in the message definition. (The parameters are defined in the types section, instead.)
2. Each part definition must reference an element (not a type) defined, imported, or included in the types section of the WSDL document. These element definitions are "wrapper" elements (hence the name of this convention). You define your input and output parameters as element structures within these wrapper elements.
3. A wrapper element must be defined as a complex type that is a sequence of elements. Each child element in that sequence will be generated as a parameter in the service interface.
4. The name of the input wrapper element must be the same as the operation name.
5. The name of the output wrapper element should be (but doesn't have to be) the operation name appended with "Response" (e.g., if the operation name is "add", the output wrapper element should be called "addResponse").
6. In the binding definition, the soap:binding should specify style="document" (although this is the default value, so the attribute may be omitted), and the soap:body definitions must specify use="literal" and nothing else. You must not specify the namespace or encodingStyle attributes in the soap:body definition.
The above list was obtained from http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html which succinctly lists the criteria. But in general, the critiera specified in jax-rpc is what is used.
I have run all the test cases (after changing them to ensure that input element has same name as operation name) and things seems to be working OK.
The main routine that made this all possible was SymbolTable's getOperationParameters() method, which gives an indication whether operation is eligible for wrapper style or not.
The changes have been put under SVN 673717.
I am marking as resolved and not closed in order to get some test cases in before I close it.
was (Author: nadiramra):
First let me say that wrapper-style vs. non-wrapper style is not a server-side only concept. From client perspective, a client can ask for either one, and the result is whether operation parameters are listed individually, or in one class/structure. It does not affect the structure of the SOAP document that is sent or retrieved.
However, even if client asks for wrapper-style, the operation may be ineligible for wrapper style if it does not follow the rules:
1. "Wrapped" is a form of document/literal, therefore it must follow all the rules defined for document/literal. When defining a document/literal service, there can be at most one body part in your input message and at most one body part in your output message. You do *not* define each method parameter as a separate part in the message definition. (The parameters are defined in the types section, instead.)
2. Each part definition must reference an element (not a type) defined, imported, or included in the types section of the WSDL document. These element definitions are "wrapper" elements (hence the name of this convention). You define your input and output parameters as element structures within these wrapper elements.
3. A wrapper element must be defined as a complex type that is a sequence of elements. Each child element in that sequence will be generated as a parameter in the service interface.
4. The name of the input wrapper element must be the same as the operation name.
5. The name of the output wrapper element should be (but doesn't have to be) the operation name appended with "Response" (e.g., if the operation name is "add", the output wrapper element should be called "addResponse").
6. In the binding definition, the soap:binding should specify style="document" (although this is the default value, so the attribute may be omitted), and the soap:body definitions must specify use="literal" and nothing else. You must not specify the namespace or encodingStyle attributes in the soap:body definition.
The above list was obtained from http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html which succinctly lists the criteria. But in general, the critiera specified in
I have run all the test cases (after changing them to ensure that input element has same name as operation name) and things seems to be working OK.
The main routine that made this all possible was SymbolTable's getOperationParameters() method, which gives an indication whether operation is eligible for wrapper style or not.
The changes have been put under SVN 673717.
I am marking as resolved and not closed in order to get some test cases in before I close it.
> Unwrapped not supported.
> ------------------------
>
> Key: AXISCPP-458
> URL: https://issues.apache.org/jira/browse/AXISCPP-458
> Project: Axis-C++
> Issue Type: Bug
> Components: WSDL processing - Doc
> Reporter: John Hawkins
> Assignee: nadir amra
> Fix For: current (nightly)
>
>
> Unwrapped WSDl style is not supported. This should be removed from WSDL2Ws.
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Resolved: (AXISCPP-458) Unwrapped not supported.
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXISCPP-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra resolved AXISCPP-458.
--------------------------------
Resolution: Fixed
First let me say that wrapper-style vs. non-wrapper style is not a server-side only concept. From client perspective, a client can ask for either one, and the result is whether operation parameters are listed individually, or in one class/structure. It does not affect the structure of the SOAP document that is sent or retrieved.
However, even if client asks for wrapper-style, the operation may be ineligible for wrapper style if it does not follow the rules:
1. "Wrapped" is a form of document/literal, therefore it must follow all the rules defined for document/literal. When defining a document/literal service, there can be at most one body part in your input message and at most one body part in your output message. You do *not* define each method parameter as a separate part in the message definition. (The parameters are defined in the types section, instead.)
2. Each part definition must reference an element (not a type) defined, imported, or included in the types section of the WSDL document. These element definitions are "wrapper" elements (hence the name of this convention). You define your input and output parameters as element structures within these wrapper elements.
3. A wrapper element must be defined as a complex type that is a sequence of elements. Each child element in that sequence will be generated as a parameter in the service interface.
4. The name of the input wrapper element must be the same as the operation name.
5. The name of the output wrapper element should be (but doesn't have to be) the operation name appended with "Response" (e.g., if the operation name is "add", the output wrapper element should be called "addResponse").
6. In the binding definition, the soap:binding should specify style="document" (although this is the default value, so the attribute may be omitted), and the soap:body definitions must specify use="literal" and nothing else. You must not specify the namespace or encodingStyle attributes in the soap:body definition.
The above list was obtained from http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html which succinctly lists the criteria. But in general, the critiera specified in
I have run all the test cases (after changing them to ensure that input element has same name as operation name) and things seems to be working OK.
The main routine that made this all possible was SymbolTable's getOperationParameters() method, which gives an indication whether operation is eligible for wrapper style or not.
The changes have been put under SVN 673717.
I am marking as resolved and not closed in order to get some test cases in before I close it.
> Unwrapped not supported.
> ------------------------
>
> Key: AXISCPP-458
> URL: https://issues.apache.org/jira/browse/AXISCPP-458
> Project: Axis-C++
> Issue Type: Bug
> Components: WSDL processing - Doc
> Reporter: John Hawkins
> Assignee: nadir amra
> Fix For: current (nightly)
>
>
> Unwrapped WSDl style is not supported. This should be removed from WSDL2Ws.
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Closed: (AXISCPP-458) Unwrapped not supported.
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXISCPP-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra closed AXISCPP-458.
------------------------------
Created test cases and as a result fixed some problems found by the test cases.
Updated done under SVN http://svn.apache.org/viewvc?view=rev&revision=725769
> Unwrapped not supported.
> ------------------------
>
> Key: AXISCPP-458
> URL: https://issues.apache.org/jira/browse/AXISCPP-458
> Project: Axis-C++
> Issue Type: Bug
> Components: WSDL processing - Doc
> Reporter: John Hawkins
> Assignee: nadir amra
> Fix For: current (nightly)
>
>
> Unwrapped WSDl style is not supported. This should be removed from WSDL2Ws.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (AXISCPP-458) Unwrapped not supported.
Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-458?page=history ]
John Hawkins reassigned AXISCPP-458:
------------------------------------
Assign To: Fred Preston
> Unwrapped not supported.
> ------------------------
>
> Key: AXISCPP-458
> URL: http://issues.apache.org/jira/browse/AXISCPP-458
> Project: Axis-C++
> Type: Bug
> Components: Basic Architecture
> Reporter: John Hawkins
> Assignee: Fred Preston
>
> Unwrapped WSDl style is not supported. This should be removed from WSDL2Ws.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Updated: (AXISCPP-458) Unwrapped not supported.
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXISCPP-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra updated AXISCPP-458:
-------------------------------
Component/s: (was: WSDL processing - RPC)
Fix Version/s: (was: 1.6 Alpha)
current (nightly)
> Unwrapped not supported.
> ------------------------
>
> Key: AXISCPP-458
> URL: https://issues.apache.org/jira/browse/AXISCPP-458
> Project: Axis-C++
> Issue Type: Bug
> Components: WSDL processing - Doc
> Reporter: John Hawkins
> Assignee: nadir amra
> Fix For: current (nightly)
>
>
> Unwrapped WSDl style is not supported. This should be removed from WSDL2Ws.
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Reopened: (AXISCPP-458) Unwrapped not supported.
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXISCPP-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra reopened AXISCPP-458:
--------------------------------
Assignee: nadir amra (was: Fred Preston)
I am not sure it was wise in removing the option, but in anycase we currently always perform wrapped without checking if the conditions for performing wrapped have been met.
> Unwrapped not supported.
> ------------------------
>
> Key: AXISCPP-458
> URL: https://issues.apache.org/jira/browse/AXISCPP-458
> Project: Axis-C++
> Issue Type: Bug
> Components: WSDL processing - Doc, WSDL processing - RPC
> Reporter: John Hawkins
> Assignee: nadir amra
> Fix For: 1.6 Alpha
>
>
> Unwrapped WSDl style is not supported. This should be removed from WSDL2Ws.
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org