You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <tu...@ws.apache.org> on 2007/09/03 09:41:19 UTC

[jira] Created: (TUSCANY-1653) Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL

Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL
-----------------------------------------------------------------------------------------------------------------

                 Key: TUSCANY-1653
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1653
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Axis Binding Extension
    Affects Versions: Java-SCA-0.99
         Environment: All
            Reporter: Simon Laws
             Fix For: Java-SCA-1.0


The Axis2 Java2WSDL tool converts the operation

String foo()

To the WSDL

	<wsdl:types>
		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
			attributeFormDefault="qualified" elementFormDefault="qualified"
			targetNamespace="http://test/xsd">
			<xs:element name="fooResponse">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="return" nillable="true"
							type="xs:string" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:schema>
	</wsdl:types>
	<wsdl:message name="fooMessage" />
	<wsdl:message name="fooResponseMessage">
		<wsdl:part name="part1" element="ns:fooResponse" />
	</wsdl:message>

Which is not wrapped according to the rules of JAX-WS 2.0. 

The net result is that Tuscany fails if such methods are included as it is expect to deal with wrapped methods. 



-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1653) Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL

Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524735 ] 

Simon Nash commented on TUSCANY-1653:
-------------------------------------

I just opened TUSCANY-1658 for a similar problem with void return types.

> Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1653
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1653
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-0.99
>         Environment: All
>            Reporter: Simon Laws
>             Fix For: Java-SCA-1.0
>
>
> The Axis2 Java2WSDL tool converts the operation
> String foo()
> To the WSDL
> 	<wsdl:types>
> 		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> 			attributeFormDefault="qualified" elementFormDefault="qualified"
> 			targetNamespace="http://test/xsd">
> 			<xs:element name="fooResponse">
> 				<xs:complexType>
> 					<xs:sequence>
> 						<xs:element name="return" nillable="true"
> 							type="xs:string" />
> 					</xs:sequence>
> 				</xs:complexType>
> 			</xs:element>
> 		</xs:schema>
> 	</wsdl:types>
> 	<wsdl:message name="fooMessage" />
> 	<wsdl:message name="fooResponseMessage">
> 		<wsdl:part name="part1" element="ns:fooResponse" />
> 	</wsdl:message>
> Which is not wrapped according to the rules of JAX-WS 2.0. 
> The net result is that Tuscany fails if such methods are included as it is expect to deal with wrapped methods. 

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1653) Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Sebastien Delfino updated TUSCANY-1653:
--------------------------------------------

    Fix Version/s:     (was: Java-SCA-1.0)
                   Java-SCA-Next

Moving to SCA-Next as these JIRAs are not likely to be fixed by 1.0.

> Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1653
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1653
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-0.99
>         Environment: All
>            Reporter: Simon Laws
>             Fix For: Java-SCA-Next
>
>
> The Axis2 Java2WSDL tool converts the operation
> String foo()
> To the WSDL
> 	<wsdl:types>
> 		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> 			attributeFormDefault="qualified" elementFormDefault="qualified"
> 			targetNamespace="http://test/xsd">
> 			<xs:element name="fooResponse">
> 				<xs:complexType>
> 					<xs:sequence>
> 						<xs:element name="return" nillable="true"
> 							type="xs:string" />
> 					</xs:sequence>
> 				</xs:complexType>
> 			</xs:element>
> 		</xs:schema>
> 	</wsdl:types>
> 	<wsdl:message name="fooMessage" />
> 	<wsdl:message name="fooResponseMessage">
> 		<wsdl:part name="part1" element="ns:fooResponse" />
> 	</wsdl:message>
> Which is not wrapped according to the rules of JAX-WS 2.0. 
> The net result is that Tuscany fails if such methods are included as it is expect to deal with wrapped methods. 

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1653) Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524736 ] 

Simon Laws commented on TUSCANY-1653:
-------------------------------------

I have a fix for this but it's based on pretending the outgoing call is wrapped when it isn't really. There is an ongoing conversation on this here 
http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg22708.html

> Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1653
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1653
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-0.99
>         Environment: All
>            Reporter: Simon Laws
>             Fix For: Java-SCA-1.0
>
>
> The Axis2 Java2WSDL tool converts the operation
> String foo()
> To the WSDL
> 	<wsdl:types>
> 		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> 			attributeFormDefault="qualified" elementFormDefault="qualified"
> 			targetNamespace="http://test/xsd">
> 			<xs:element name="fooResponse">
> 				<xs:complexType>
> 					<xs:sequence>
> 						<xs:element name="return" nillable="true"
> 							type="xs:string" />
> 					</xs:sequence>
> 				</xs:complexType>
> 			</xs:element>
> 		</xs:schema>
> 	</wsdl:types>
> 	<wsdl:message name="fooMessage" />
> 	<wsdl:message name="fooResponseMessage">
> 		<wsdl:part name="part1" element="ns:fooResponse" />
> 	</wsdl:message>
> Which is not wrapped according to the rules of JAX-WS 2.0. 
> The net result is that Tuscany fails if such methods are included as it is expect to deal with wrapped methods. 

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1653) Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525835 ] 

Simon Laws commented on TUSCANY-1653:
-------------------------------------

I have now checked in the fix suggested in the mail. The fix only targets methods with no parameter where the wsdl is generated in the axis style. It doesn't address the related issue of void return types

There is further ongoing work to see if we can make Tuscany genrate wsdl that correctly represents a wrapped interactions according to JAXWS.

> Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1653
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1653
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-0.99
>         Environment: All
>            Reporter: Simon Laws
>             Fix For: Java-SCA-1.0
>
>
> The Axis2 Java2WSDL tool converts the operation
> String foo()
> To the WSDL
> 	<wsdl:types>
> 		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> 			attributeFormDefault="qualified" elementFormDefault="qualified"
> 			targetNamespace="http://test/xsd">
> 			<xs:element name="fooResponse">
> 				<xs:complexType>
> 					<xs:sequence>
> 						<xs:element name="return" nillable="true"
> 							type="xs:string" />
> 					</xs:sequence>
> 				</xs:complexType>
> 			</xs:element>
> 		</xs:schema>
> 	</wsdl:types>
> 	<wsdl:message name="fooMessage" />
> 	<wsdl:message name="fooResponseMessage">
> 		<wsdl:part name="part1" element="ns:fooResponse" />
> 	</wsdl:message>
> Which is not wrapped according to the rules of JAX-WS 2.0. 
> The net result is that Tuscany fails if such methods are included as it is expect to deal with wrapped methods. 

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1653) Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder updated TUSCANY-1653:
-------------------------------

    Fix Version/s:     (was: Java-SCA-1.0)
                   Java-SCA-Next

Deferring all the non-critical JIRAs from 1.0

> Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1653
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1653
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-0.99
>         Environment: All
>            Reporter: Simon Laws
>            Assignee: Simon Nash
>             Fix For: Java-SCA-Next
>
>
> The Axis2 Java2WSDL tool converts the operation
> String foo()
> To the WSDL
> 	<wsdl:types>
> 		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> 			attributeFormDefault="qualified" elementFormDefault="qualified"
> 			targetNamespace="http://test/xsd">
> 			<xs:element name="fooResponse">
> 				<xs:complexType>
> 					<xs:sequence>
> 						<xs:element name="return" nillable="true"
> 							type="xs:string" />
> 					</xs:sequence>
> 				</xs:complexType>
> 			</xs:element>
> 		</xs:schema>
> 	</wsdl:types>
> 	<wsdl:message name="fooMessage" />
> 	<wsdl:message name="fooResponseMessage">
> 		<wsdl:part name="part1" element="ns:fooResponse" />
> 	</wsdl:message>
> Which is not wrapped according to the rules of JAX-WS 2.0. 
> The net result is that Tuscany fails if such methods are included as it is expect to deal with wrapped methods. 

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1653) Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL

Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash updated TUSCANY-1653:
--------------------------------

    Fix Version/s:     (was: Java-SCA-Next)
                   Java-SCA-1.0
         Assignee: Simon Nash

We have confirmation that this is a problem with Axis2 (AXIS2-3199) so we can now proceed with modifying the generated WSDL to conform to the correct pattern.  I am putting this back in the 1.0 bucket and assigning it to myself.

> Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1653
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1653
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-0.99
>         Environment: All
>            Reporter: Simon Laws
>            Assignee: Simon Nash
>             Fix For: Java-SCA-1.0
>
>
> The Axis2 Java2WSDL tool converts the operation
> String foo()
> To the WSDL
> 	<wsdl:types>
> 		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> 			attributeFormDefault="qualified" elementFormDefault="qualified"
> 			targetNamespace="http://test/xsd">
> 			<xs:element name="fooResponse">
> 				<xs:complexType>
> 					<xs:sequence>
> 						<xs:element name="return" nillable="true"
> 							type="xs:string" />
> 					</xs:sequence>
> 				</xs:complexType>
> 			</xs:element>
> 		</xs:schema>
> 	</wsdl:types>
> 	<wsdl:message name="fooMessage" />
> 	<wsdl:message name="fooResponseMessage">
> 		<wsdl:part name="part1" element="ns:fooResponse" />
> 	</wsdl:message>
> Which is not wrapped according to the rules of JAX-WS 2.0. 
> The net result is that Tuscany fails if such methods are included as it is expect to deal with wrapped methods. 

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1653) Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng resolved TUSCANY-1653.
-----------------------------------

    Resolution: Fixed

Fixed in TUSCANY-1658

> Method signatures with no parameters are not represented properly as wrapped opoerations with auto generated WSDL
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1653
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1653
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-0.99
>         Environment: All
>            Reporter: Simon Laws
>            Assignee: Simon Nash
>             Fix For: Java-SCA-Next
>
>
> The Axis2 Java2WSDL tool converts the operation
> String foo()
> To the WSDL
> 	<wsdl:types>
> 		<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> 			attributeFormDefault="qualified" elementFormDefault="qualified"
> 			targetNamespace="http://test/xsd">
> 			<xs:element name="fooResponse">
> 				<xs:complexType>
> 					<xs:sequence>
> 						<xs:element name="return" nillable="true"
> 							type="xs:string" />
> 					</xs:sequence>
> 				</xs:complexType>
> 			</xs:element>
> 		</xs:schema>
> 	</wsdl:types>
> 	<wsdl:message name="fooMessage" />
> 	<wsdl:message name="fooResponseMessage">
> 		<wsdl:part name="part1" element="ns:fooResponse" />
> 	</wsdl:message>
> Which is not wrapped according to the rules of JAX-WS 2.0. 
> The net result is that Tuscany fails if such methods are included as it is expect to deal with wrapped methods. 

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org