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

[jira] Created: (TUSCANY-1758) Web Service binding throws org.apache.axis2.AxisFault when referencing a Web Service created on Axis2 v1.3

Web Service binding throws org.apache.axis2.AxisFault when referencing a Web Service created on Axis2 v1.3
----------------------------------------------------------------------------------------------------------

                 Key: TUSCANY-1758
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1758
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Axis Binding Extension
    Affects Versions: Java-SCA-0.99, Java-SCA-1.0, Java-SCA-Next
         Environment: axis2 1.3, windows xp sp2, JDK 1.5
            Reporter: Bin Wang


The composite file is below:
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
	targetNamespace="http://helloworld"
    xmlns:hw="http://helloworld"
	name="helloworldwsclient">
    
    <component name="HelloWorldServiceComponent">
      <implementation.java class="helloworld.HelloWorldServiceComponent"/>
    </component>
    
    <reference name="HelloWorldService" promote="HelloWorldServiceComponent/helloWorldService">
        <interface.java interface="helloworld.HelloWorldService" />
        <binding.ws uri="http://localhost:8080/axis2/services/HelloWorldService"/>
    </reference>

</composite>

The result of run is:
Injected helloWorldService
Called getGreetings
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
	at $Proxy5.getGreetings(Unknown Source)
	at helloworld.HelloWorldServiceComponent.getGreetings(HelloWorldServiceComponent.java:30)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
	at org.apache.tuscany.sca.core.databinding.wire.PassByValueInteceptor.invoke(PassByValueInteceptor.java:49)
	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
	at $Proxy5.getGreetings(Unknown Source)
	at helloworld.HelloWorldClient.main(HelloWorldClient.java:33)
Caused by: org.apache.axis2.AxisFault: A required header representing a Message Addressing Property is not present
	at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
	at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:102)
	at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:77)
	at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:73)
	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
	... 12 more


-- 
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-1758) Web Service binding throws org.apache.axis2.AxisFault when referencing a Web Service created on Axis2 v1.3

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

gengshaoguang commented on TUSCANY-1758:
----------------------------------------

I want to see your wsdl and HelloWorldService, could you please attach them?



> Web Service binding throws org.apache.axis2.AxisFault when referencing a Web Service created on Axis2 v1.3
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1758
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1758
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-0.99, Java-SCA-1.0, Java-SCA-Next
>         Environment: axis2 1.3, windows xp sp2, JDK 1.5
>            Reporter: Bin Wang
>
> The composite file is below:
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> 	targetNamespace="http://helloworld"
>     xmlns:hw="http://helloworld"
> 	name="helloworldwsclient">
>     
>     <component name="HelloWorldServiceComponent">
>       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
>     </component>
>     
>     <reference name="HelloWorldService" promote="HelloWorldServiceComponent/helloWorldService">
>         <interface.java interface="helloworld.HelloWorldService" />
>         <binding.ws uri="http://localhost:8080/axis2/services/HelloWorldService"/>
>     </reference>
> </composite>
> The result of run is:
> Injected helloWorldService
> Called getGreetings
> Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
> 	at $Proxy5.getGreetings(Unknown Source)
> 	at helloworld.HelloWorldServiceComponent.getGreetings(HelloWorldServiceComponent.java:30)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
> 	at org.apache.tuscany.sca.core.databinding.wire.PassByValueInteceptor.invoke(PassByValueInteceptor.java:49)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> 	at $Proxy5.getGreetings(Unknown Source)
> 	at helloworld.HelloWorldClient.main(HelloWorldClient.java:33)
> Caused by: org.apache.axis2.AxisFault: A required header representing a Message Addressing Property is not present
> 	at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
> 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> 	at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:102)
> 	at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:77)
> 	at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:73)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> 	... 12 more

-- 
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-1758) Web Service binding throws org.apache.axis2.AxisFault when referencing a Web Service created on Axis2 v1.3

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

gengshaoguang commented on TUSCANY-1758:
----------------------------------------

I'm sorry, I can't see what's wrong with your code.

But could you please remove the line <interface...> inside your <reference>. and try again? and tell me the result.

Thank you.

> Web Service binding throws org.apache.axis2.AxisFault when referencing a Web Service created on Axis2 v1.3
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1758
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1758
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-0.99, Java-SCA-1.0, Java-SCA-Next
>         Environment: axis2 1.3, windows xp sp2, JDK 1.5
>            Reporter: Bin Wang
>         Attachments: HelloWorldService.zip, ws binding with axis2.zip
>
>
> The composite file is below:
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> 	targetNamespace="http://helloworld"
>     xmlns:hw="http://helloworld"
> 	name="helloworldwsclient">
>     
>     <component name="HelloWorldServiceComponent">
>       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
>     </component>
>     
>     <reference name="HelloWorldService" promote="HelloWorldServiceComponent/helloWorldService">
>         <interface.java interface="helloworld.HelloWorldService" />
>         <binding.ws uri="http://localhost:8080/axis2/services/HelloWorldService"/>
>     </reference>
> </composite>
> The result of run is:
> Injected helloWorldService
> Called getGreetings
> Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
> 	at $Proxy5.getGreetings(Unknown Source)
> 	at helloworld.HelloWorldServiceComponent.getGreetings(HelloWorldServiceComponent.java:30)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
> 	at org.apache.tuscany.sca.core.databinding.wire.PassByValueInteceptor.invoke(PassByValueInteceptor.java:49)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> 	at $Proxy5.getGreetings(Unknown Source)
> 	at helloworld.HelloWorldClient.main(HelloWorldClient.java:33)
> Caused by: org.apache.axis2.AxisFault: A required header representing a Message Addressing Property is not present
> 	at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
> 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> 	at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:102)
> 	at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:77)
> 	at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:73)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> 	... 12 more

-- 
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-1758) Web Service binding throws org.apache.axis2.AxisFault when referencing a Web Service created on Axis2 v1.3

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

Bin Wang updated TUSCANY-1758:
------------------------------

    Attachment: HelloWorldService.zip

the service src code  with axis2, complie it and deployed it at $axis2_home/WEB-INF/services/

> Web Service binding throws org.apache.axis2.AxisFault when referencing a Web Service created on Axis2 v1.3
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1758
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1758
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-0.99, Java-SCA-1.0, Java-SCA-Next
>         Environment: axis2 1.3, windows xp sp2, JDK 1.5
>            Reporter: Bin Wang
>         Attachments: HelloWorldService.zip, ws binding with axis2.zip
>
>
> The composite file is below:
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> 	targetNamespace="http://helloworld"
>     xmlns:hw="http://helloworld"
> 	name="helloworldwsclient">
>     
>     <component name="HelloWorldServiceComponent">
>       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
>     </component>
>     
>     <reference name="HelloWorldService" promote="HelloWorldServiceComponent/helloWorldService">
>         <interface.java interface="helloworld.HelloWorldService" />
>         <binding.ws uri="http://localhost:8080/axis2/services/HelloWorldService"/>
>     </reference>
> </composite>
> The result of run is:
> Injected helloWorldService
> Called getGreetings
> Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
> 	at $Proxy5.getGreetings(Unknown Source)
> 	at helloworld.HelloWorldServiceComponent.getGreetings(HelloWorldServiceComponent.java:30)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
> 	at org.apache.tuscany.sca.core.databinding.wire.PassByValueInteceptor.invoke(PassByValueInteceptor.java:49)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> 	at $Proxy5.getGreetings(Unknown Source)
> 	at helloworld.HelloWorldClient.main(HelloWorldClient.java:33)
> Caused by: org.apache.axis2.AxisFault: A required header representing a Message Addressing Property is not present
> 	at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
> 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> 	at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:102)
> 	at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:77)
> 	at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:73)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> 	... 12 more

-- 
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-1758) Web Service binding throws org.apache.axis2.AxisFault when referencing a Web Service created on Axis2 v1.3

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

Simon Nash commented on TUSCANY-1758:
-------------------------------------

I have recreated this problem using the code in this JIRA.  It appears that Axis2 requires WS-Addressing headers if the addressing module is engaged in axis2.xml.  The WSDL is supposed to indicate that WS-Addressing headers are required by including a wsaw:UsingAddressing element with wsdl:required="true" attribute, but Axis2 is not putting this in its WSDL.

If you comment out the line
   <module ref="addressing"/>
in axis2.xml, then Tuscany can invoke the Axis2 service.  This is a temporary workaround until we can work out what the correct protocol is for this case.


> Web Service binding throws org.apache.axis2.AxisFault when referencing a Web Service created on Axis2 v1.3
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1758
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1758
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-0.99, Java-SCA-1.0, Java-SCA-Next
>         Environment: axis2 1.3, windows xp sp2, JDK 1.5
>            Reporter: Bin Wang
>         Attachments: HelloWorldService.zip, ws binding with axis2.zip
>
>
> The composite file is below:
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> 	targetNamespace="http://helloworld"
>     xmlns:hw="http://helloworld"
> 	name="helloworldwsclient">
>     
>     <component name="HelloWorldServiceComponent">
>       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
>     </component>
>     
>     <reference name="HelloWorldService" promote="HelloWorldServiceComponent/helloWorldService">
>         <interface.java interface="helloworld.HelloWorldService" />
>         <binding.ws uri="http://localhost:8080/axis2/services/HelloWorldService"/>
>     </reference>
> </composite>
> The result of run is:
> Injected helloWorldService
> Called getGreetings
> Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
> 	at $Proxy5.getGreetings(Unknown Source)
> 	at helloworld.HelloWorldServiceComponent.getGreetings(HelloWorldServiceComponent.java:30)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
> 	at org.apache.tuscany.sca.core.databinding.wire.PassByValueInteceptor.invoke(PassByValueInteceptor.java:49)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> 	at $Proxy5.getGreetings(Unknown Source)
> 	at helloworld.HelloWorldClient.main(HelloWorldClient.java:33)
> Caused by: org.apache.axis2.AxisFault: A required header representing a Message Addressing Property is not present
> 	at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
> 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> 	at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:102)
> 	at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:77)
> 	at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:73)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> 	... 12 more

-- 
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-1758) Web Service binding throws org.apache.axis2.AxisFault when referencing a Web Service created on Axis2 v1.3

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

Bin Wang updated TUSCANY-1758:
------------------------------

    Attachment: ws binding with axis2.zip

The sca application

> Web Service binding throws org.apache.axis2.AxisFault when referencing a Web Service created on Axis2 v1.3
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1758
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1758
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-0.99, Java-SCA-1.0, Java-SCA-Next
>         Environment: axis2 1.3, windows xp sp2, JDK 1.5
>            Reporter: Bin Wang
>         Attachments: ws binding with axis2.zip
>
>
> The composite file is below:
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> 	targetNamespace="http://helloworld"
>     xmlns:hw="http://helloworld"
> 	name="helloworldwsclient">
>     
>     <component name="HelloWorldServiceComponent">
>       <implementation.java class="helloworld.HelloWorldServiceComponent"/>
>     </component>
>     
>     <reference name="HelloWorldService" promote="HelloWorldServiceComponent/helloWorldService">
>         <interface.java interface="helloworld.HelloWorldService" />
>         <binding.ws uri="http://localhost:8080/axis2/services/HelloWorldService"/>
>     </reference>
> </composite>
> The result of run is:
> Injected helloWorldService
> Called getGreetings
> Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
> 	at $Proxy5.getGreetings(Unknown Source)
> 	at helloworld.HelloWorldServiceComponent.getGreetings(HelloWorldServiceComponent.java:30)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
> 	at org.apache.tuscany.sca.core.databinding.wire.PassByValueInteceptor.invoke(PassByValueInteceptor.java:49)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> 	at $Proxy5.getGreetings(Unknown Source)
> 	at helloworld.HelloWorldClient.main(HelloWorldClient.java:33)
> Caused by: org.apache.axis2.AxisFault: A required header representing a Message Addressing Property is not present
> 	at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
> 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> 	at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:102)
> 	at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:77)
> 	at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:73)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> 	... 12 more

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