2 Replies Latest reply on Nov 23, 2006 3:40 AM by Yann

    WS4EEDOCClientStepByStep problem

    Yann Newbie

      Hello,

      I've followed the tutorial but I still have some problem during server launch.

      12:55:45,711 WARN [MainDeployer] Found non-jar deployer for ./lib/ws_client.jar: org.jboss.deployment.Client
      Deployer@8deb8a


      and when I try to acces the remote web service I've got a ws4ee client not bound exception.

      The jar I'm trying to deploy (ws_client.jar) contains:

      meta-inf/application-client.xml
      meta-inf/Index.list
      meta-inf/jaxrpc-mapping-client.xml
      meta-inf/jboss-client.xml
      meta-inf/Manifest.mf
      meta-inf/wsdl/PutIntoTargetSystems.wsdl
      com/ws/client/LHUB_PutIntoTargetSystems_PortType.class
      com/ws/client/LHUB_PutIntoTargetSystems_Service.class
      com/ws/client/LHUB_PutIntoTargetSystems_Consumer.class
      com/ws/client/LHUB_PutIntoTargetSystemsProcessRequest.class
      com/ws/client/LHUB_PutIntoTargetSystemsProcessResponse.class


      where application-client.xml contains:

      <application-client xmlns="http://java.sun.com/xml/ns/j2ee"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd"
       version="1.4">
      
       <display-name>PutIntoTargetSystems client app</display-name>
       <service-ref>
      <service-ref-name>service/LHUB_PutIntoTargetSystems_Service</service-ref-name>
      <service-interface>com.ws.client.LHUB_PutIntoTargetSystems_Service</service-interface>
       <wsdl-file>META-INF/wsdl/PutIntoTargetSystems.wsdl</wsdl-file>
      <jaxrpc-mapping-file>META-INF/jaxrpc-mapping-client.xml</jaxrpc-mapping-file>
       </service-ref>
      </application-client>


      and jboss-client.xml contains:

      <?xml version='1.0' encoding='UTF-8' ?>
      <!DOCTYPE jboss-client PUBLIC
       "-//JBoss//DTD Application Client 3.2//EN"
       "http://www.jboss.org/j2ee/dtd/jboss-client_3_2.dtd">
      <jboss-client>
       <jndi-name>ws4ee-client</jndi-name>
      </jboss-client>
      

      can anyone help me ? please. I'm using JBoss 4.0.2 and jdk 1.4.2_12

      thanks.

        • 1. Re: WS4EEDOCClientStepByStep problem
          Yann Newbie

          I've solve the warning about the non-jar deployer. It was a error in a class path.

          I now have no error message during the launch of the app server but i still have the w4ee-client not bound problem when i try to reach the web service.

          The jar I was describing in my first post is included in a more complete ear file containing a lot of other jars and ejbs...

          Please, I've no ideas whats going wrong.

          • 2. Re: WS4EEDOCClientStepByStep problem
            Yann Newbie

            To be more concrete in how I solved the "non-jar deployer" warning, It was the java path of the <service-interface> element in the application-client.xml that was wrong.

            And as i've had no response for the w4ee-client not bound problem, meaning that the service was not deployed, I've found another solution.

            The solution I've found is more complicated but it works. My solution was to include the service deployement with a bean definition.

            Hope this help.