Example of webservicesbeans.xml file - WebLogic

The following is an example of a webservicebeans.xml file:


<WebServices>
  <Beans>
   <Bean BeanName="TheBeans"
BeanPackage="com.sterlingcommerce.jaxws.the.webservices" >
    <Apis>
      <Api Name="login" ExposedName="theLogin" />
      <Api Name="getLocaleList" ExposedName="theGetLocaleList" />
    </Apis>
   </Bean>
   <Bean BeanName="OtherBeans"
BeanPackage="com.sterlingcommerce.jaxws.other.webservices" >
    <Apis>
         <Api Name="getLocaleList" ExposedName="otherGetLocaleList" />
    </Apis>
     <Services>
      <Service AnnotateClassNames="true" Name="testWS" ExposedName="testWS" />
      <Service Name="testWS2" ExposedName="testWS2" />
    </Services>
   </Bean>
  </Beans>
</WebServices>
Note: If you are using a non-ASCII character set, the first letter of the bean names must be uppercase and the first character of the exposed name for the API must be lowercase.