2 Replies Latest reply on Oct 16, 2008 11:00 AM by egalych egalych

    .NET friendly Endpoint for EJB3 WS

    egalych egalych Newbie

      Is there a way to specify config-name ".NET friendly Endpoint" without adding @EndPointConfig?
      My web service is packaged as ejb module of ear. I tried to create jboss.xml and put it into META-INF of ejb jar but I still see "Standard Endpoint" in server log.

      I am using: jbossws-native-3.0.3.GA

      jboss.xml:


      <webservice-description>
      <webservice-description-name>MyService</webservice-description-name>
      <config-name>.NET friendly Endpoint</config-name>
      </webservice-description>



        • 1. Re: .NET friendly Endpoint for EJB3 WS
          Richard Opalka Master

          For EJB endpoints you can use only @EndpointConfig annotation.
          For POJO endpoints you have another one option. You can specify the following
          context parameter in your web.xml:

          <context-param>
           <param-name>jbossws-config-name</param-name>
           <param-value>Standard WSSecurity Endpoint</param-value>
          </context-param>


          or if you have custom config file included in your POJO endpoint archive:
           <context-param>
           <param-name>jbossws-config-name</param-name>
           <param-value>Custom Endpoint Config</param-value>
           </context-param>
           <context-param>
           <param-name>jbossws-config-file</param-name>
           <param-value>WEB-INF/custom-endpoint-config.xml</param-value>
           </context-param>


          • 2. Re: .NET friendly Endpoint for EJB3 WS
            egalych egalych Newbie

            Thank you for reply.

            I do not want to introduce container extensions in code. Is there a way to globally set endpoint configuration for JBoss instance?