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 Nash (JIRA)" <tu...@ws.apache.org> on 2007/09/04 16:10:45 UTC

[jira] Created: (TUSCANY-1658) Dynamically generated WSDL does not generate wsdl:output if method has void return

Dynamically generated WSDL does not generate wsdl:output if method has void return
----------------------------------------------------------------------------------

                 Key: TUSCANY-1658
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1658
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Axis Binding Extension
    Affects Versions: Java-SCA-Next
         Environment: Windows XP
            Reporter: Simon Nash
            Priority: Critical
             Fix For: Java-SCA-1.0


I modified the simple-callback-ws sample to use dynamically generated WSDL. For methods with void return types, the generated WSDL has no wsdl:output element inside the wsdl:operation element.  This causes the following runtime error:

Caused by: org.apache.axis2.AxisFault: An unknown message label has been encountered: In
        at org.apache.axis2.description.OutOnlyAxisOperationClient.getMessageContext(OutOnlyAxisOperation.java:211)
        at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:90)
        at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:68)
        at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:68)
        at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:320)
        at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:117)
        ... 34 more

This is a similar problem to TUSCANY-1653. 

-- 
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-1658) Dynamically generated WSDL does not generate wsdl:output if method has void return

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

Simon Nash updated TUSCANY-1658:
--------------------------------

    Attachment:     (was: patch1658)

> Dynamically generated WSDL does not generate wsdl:output if method has void return
> ----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1658
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1658
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>
> I modified the simple-callback-ws sample to use dynamically generated WSDL. For methods with void return types, the generated WSDL has no wsdl:output element inside the wsdl:operation element.  This causes the following runtime error:
> Caused by: org.apache.axis2.AxisFault: An unknown message label has been encountered: In
>         at org.apache.axis2.description.OutOnlyAxisOperationClient.getMessageContext(OutOnlyAxisOperation.java:211)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:90)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:68)
>         at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:68)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:320)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:117)
>         ... 34 more
> This is a similar problem to TUSCANY-1653. 

-- 
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-1658) Dynamically generated WSDL does not generate wsdl:output if method has void return

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

Simon Nash commented on TUSCANY-1658:
-------------------------------------

I removed the patch I had attached earlier (the one that had some issues) to avoid confusion.  I'm about to attach a replacement patch that fixes the problems with the first patch. 

> Dynamically generated WSDL does not generate wsdl:output if method has void return
> ----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1658
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1658
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>
> I modified the simple-callback-ws sample to use dynamically generated WSDL. For methods with void return types, the generated WSDL has no wsdl:output element inside the wsdl:operation element.  This causes the following runtime error:
> Caused by: org.apache.axis2.AxisFault: An unknown message label has been encountered: In
>         at org.apache.axis2.description.OutOnlyAxisOperationClient.getMessageContext(OutOnlyAxisOperation.java:211)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:90)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:68)
>         at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:68)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:320)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:117)
>         ... 34 more
> This is a similar problem to TUSCANY-1653. 

-- 
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-1658) Dynamically generated WSDL does not generate wsdl:output if method has void return

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

ant elder updated TUSCANY-1658:
-------------------------------

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

> Dynamically generated WSDL does not generate wsdl:output if method has void return
> ----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1658
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1658
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: patch1658
>
>
> I modified the simple-callback-ws sample to use dynamically generated WSDL. For methods with void return types, the generated WSDL has no wsdl:output element inside the wsdl:operation element.  This causes the following runtime error:
> Caused by: org.apache.axis2.AxisFault: An unknown message label has been encountered: In
>         at org.apache.axis2.description.OutOnlyAxisOperationClient.getMessageContext(OutOnlyAxisOperation.java:211)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:90)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:68)
>         at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:68)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:320)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:117)
>         ... 34 more
> This is a similar problem to TUSCANY-1653. 

-- 
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] Assigned: (TUSCANY-1658) Dynamically generated WSDL does not generate wsdl:output if method has void return

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

Simon Nash reassigned TUSCANY-1658:
-----------------------------------

    Assignee: Simon Nash

> Dynamically generated WSDL does not generate wsdl:output if method has void return
> ----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1658
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1658
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: patch1658
>
>
> I modified the simple-callback-ws sample to use dynamically generated WSDL. For methods with void return types, the generated WSDL has no wsdl:output element inside the wsdl:operation element.  This causes the following runtime error:
> Caused by: org.apache.axis2.AxisFault: An unknown message label has been encountered: In
>         at org.apache.axis2.description.OutOnlyAxisOperationClient.getMessageContext(OutOnlyAxisOperation.java:211)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:90)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:68)
>         at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:68)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:320)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:117)
>         ... 34 more
> This is a similar problem to TUSCANY-1653. 

-- 
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] Assigned: (TUSCANY-1658) Dynamically generated WSDL does not generate wsdl:output if method has void return

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

Raymond Feng reassigned TUSCANY-1658:
-------------------------------------

    Assignee: Raymond Feng  (was: Simon Nash)

> Dynamically generated WSDL does not generate wsdl:output if method has void return
> ----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1658
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1658
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: Raymond Feng
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: ExampleService.java, patch1658, ws-void-args-return.zip
>
>
> I modified the simple-callback-ws sample to use dynamically generated WSDL. For methods with void return types, the generated WSDL has no wsdl:output element inside the wsdl:operation element.  This causes the following runtime error:
> Caused by: org.apache.axis2.AxisFault: An unknown message label has been encountered: In
>         at org.apache.axis2.description.OutOnlyAxisOperationClient.getMessageContext(OutOnlyAxisOperation.java:211)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:90)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:68)
>         at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:68)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:320)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:117)
>         ... 34 more
> This is a similar problem to TUSCANY-1653. 

-- 
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] Closed: (TUSCANY-1658) Dynamically generated WSDL does not generate wsdl:output if method has void return

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

ant elder closed TUSCANY-1658.
------------------------------

    Resolution: Fixed

> Dynamically generated WSDL does not generate wsdl:output if method has void return
> ----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1658
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1658
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: Raymond Feng
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: ExampleService.java, patch1658, ws-void-args-return.zip
>
>
> I modified the simple-callback-ws sample to use dynamically generated WSDL. For methods with void return types, the generated WSDL has no wsdl:output element inside the wsdl:operation element.  This causes the following runtime error:
> Caused by: org.apache.axis2.AxisFault: An unknown message label has been encountered: In
>         at org.apache.axis2.description.OutOnlyAxisOperationClient.getMessageContext(OutOnlyAxisOperation.java:211)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:90)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:68)
>         at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:68)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:320)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:117)
>         ... 34 more
> This is a similar problem to TUSCANY-1653. 

-- 
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-1658) Dynamically generated WSDL does not generate wsdl:output if method has void return

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

Simon Nash updated TUSCANY-1658:
--------------------------------

    Attachment: patch1658

This is a patch for both TUSCANY-1658 and TUSCANY-1653.  I'm not 100% confident in it because it doesn't look quite right when I write the WSDL to an output stream using the WSDLWriter (there seems to be a wsdl:message missing for the two-way void return case), but other evidence I have gathered while debugging suggests that the wsdl4j definition does in fact contain this wsdl:message.

If anyone else can make sense of this puzzle, please feel free to apply the patch.  There are still runtime issues, but not as bad as without the patch.  I did need to add a null check to Axis2BindingInvoker to make the two-way void return case work end to end (see below). 

        // FIXME: [rfeng] We have to pay performance penality to build the complete OM as the operationClient.complete() will
        // release the underlying HTTP connection. 
        // Force the response to be populated, see https://issues.apache.org/jira/browse/TUSCANY-1541
        if (response != null) {    <------**** i added this ****
            response.build();
        }


> Dynamically generated WSDL does not generate wsdl:output if method has void return
> ----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1658
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1658
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Priority: Critical
>             Fix For: Java-SCA-1.0
>
>         Attachments: patch1658
>
>
> I modified the simple-callback-ws sample to use dynamically generated WSDL. For methods with void return types, the generated WSDL has no wsdl:output element inside the wsdl:operation element.  This causes the following runtime error:
> Caused by: org.apache.axis2.AxisFault: An unknown message label has been encountered: In
>         at org.apache.axis2.description.OutOnlyAxisOperationClient.getMessageContext(OutOnlyAxisOperation.java:211)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:90)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:68)
>         at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:68)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:320)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:117)
>         ... 34 more
> This is a similar problem to TUSCANY-1653. 

-- 
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-1658) Dynamically generated WSDL does not generate wsdl:output if method has void return

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

Simon Nash updated TUSCANY-1658:
--------------------------------

    Attachment: ExampleService.java
                ws-void-args-return.zip
                patch1658

Please apply the attached patch by doing the following:

1. Add the new file modules\java2wsdl\src\test\java\org\apache\tuscany\tools\java2wsdl\generate\ExampleService.java
2. Apply the changes in patch1658
3. Unzip ws-void-args-return under the itest directory
4. Update the pom for itest to include ws-void-args-return

This patch fixes TUSCANY-1658 and TUSCANY-1653, and add an itest to verify the fix.  It also includes a corresponding change in java2wsdl to handle the two-way void return case correctly.

> Dynamically generated WSDL does not generate wsdl:output if method has void return
> ----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1658
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1658
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: ExampleService.java, patch1658, ws-void-args-return.zip
>
>
> I modified the simple-callback-ws sample to use dynamically generated WSDL. For methods with void return types, the generated WSDL has no wsdl:output element inside the wsdl:operation element.  This causes the following runtime error:
> Caused by: org.apache.axis2.AxisFault: An unknown message label has been encountered: In
>         at org.apache.axis2.description.OutOnlyAxisOperationClient.getMessageContext(OutOnlyAxisOperation.java:211)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:90)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:68)
>         at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:68)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:320)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:117)
>         ... 34 more
> This is a similar problem to TUSCANY-1653. 

-- 
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-1658) Dynamically generated WSDL does not generate wsdl:output if method has void return

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

Raymond Feng commented on TUSCANY-1658:
---------------------------------------

Patch applied in the 1.0 branch under r577075. Thanks.

> Dynamically generated WSDL does not generate wsdl:output if method has void return
> ----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1658
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1658
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: Raymond Feng
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: ExampleService.java, patch1658, ws-void-args-return.zip
>
>
> I modified the simple-callback-ws sample to use dynamically generated WSDL. For methods with void return types, the generated WSDL has no wsdl:output element inside the wsdl:operation element.  This causes the following runtime error:
> Caused by: org.apache.axis2.AxisFault: An unknown message label has been encountered: In
>         at org.apache.axis2.description.OutOnlyAxisOperationClient.getMessageContext(OutOnlyAxisOperation.java:211)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:90)
>         at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:68)
>         at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:68)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:320)
>         at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:117)
>         ... 34 more
> This is a similar problem to TUSCANY-1653. 

-- 
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