Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-1771

Post-handler-chain not invoked for "Standard Client" configuration with DII client

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-2.0.1
    • jbossws-2.0.0
    • jbossws-native
    • None

      This is related to case 15171.

      I have configured "post-handler-chain" for the "Standard Client" with the intent, that my (outbound) jaxrpc handler should be invoked (inadvertently) everytime a webservice-client calls another (using JSR109 or DII). However, my handler is not getting invoked.

      This still fails when the client calls the endpoint as: -

      ServiceFactoryImpl factory = new ServiceFactoryImpl();
      URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jaxrpc-jbws1653/TestEndpoint?wsdl");
      QName qname = new QName("http://org.jboss.test.ws/jbws1653", "TestService");
      Service service = factory.createService(wsdlURL, qname);

      Call call = service.createCall();
      call.setOperationName(new QName("http://org.jboss.test.ws/jbws1653", "echoString"));

      call.setTargetEndpointAddress("http://" + getServerHost() + ":8080/jaxrpc-jbws1653/TestEndpoint");

      String hello = "Hello";

      try
      {
      Object retObj = call.invoke(new Object[]

      { hello }

      );

              darran.lofthouse@redhat.com Darran Lofthouse
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: