helloworld-ws-reference-secure gets exception in RC2, rel1.0
------------------------------------------------------------
Key: TUSCANY-1753
URL: https://issues.apache.org/jira/browse/TUSCANY-1753
Project: Tuscany
Issue Type: Bug
Components: Java SCA Samples
Affects Versions: Java-SCA-1.0
Environment: widows xp
Reporter: haleh mahbod
Priority: Critical
Fix For: Java-SCA-1.0
Marked this as critical since policy seems to be important for this release.
started the dependent service
ant run in helloworld-ws-referece-secure
Get the following exception:
C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\helloworld-ws-referen
ce-secure>ant run
Buildfile: build.xml
run:
[java] Injected helloWorldService
[java] Called getGreetings
[java] *** Calling Client UserId/Password Handler ....
[java] Exception in thread "main" java.lang.reflect.UndeclaredThrowableExce
ption
[java] at $Proxy4.getGreetings(Unknown Source)
[java] at helloworld.HelloWorldServiceComponent.getGreetings(HelloWorld
ServiceComponent.java:30)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at org.apache.tuscany.sca.implementation.java.invocation.JavaImp
lementationInvoker.invoke(JavaImplementationInvoker.java:105)
[java] at org.apache.tuscany.sca.core.databinding.wire.PassByValueIntec
eptor.invoke(PassByValueInteceptor.java:49)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:233)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:130)
[java] at $Proxy4.getGreetings(Unknown Source)
[java] at helloworld.HelloWorldClient.main(HelloWorldClient.java:33)
[java] Caused by: org.apache.tuscany.sca.interfacedef.util.FaultException:
Must Understand check failed for header http://docs.oasis-open.org/wss/2004/01/o
asis-200401-wss-wssecurity-secext-1.0.xsd : Security
[java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.i
nvoke(Axis2BindingInvoker.java:81)
[java] at org.apache.tuscany.sca.core.databinding.wire.DataTransformati
onInteceptor.invoke(DataTransformationInteceptor.java:73)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:233)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:130)
[java] ... 12 more
[java] Java Result: 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]