Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1753

helloworld-ws-reference-secure gets exception in RC2, rel1.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Java-SCA-1.0
    • Java-SCA-1.0
    • Java SCA Samples
    • None
    • widows xp

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            hmahbod Haleh Mahbod
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: