geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: Is there a place from where I can see the deployed web services?
Date Wed, 04 May 2011 00:14:29 GMT
The EJB based webservice has some similar rules,
/@WebService.serviceName/@WebService.name

If you would like, the special access URL could be configured in the
deployment descriptor. e.g.

<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.1">
  <dep:environment xmlns:dep="
http://geronimo.apache.org/xml/ns/deployment-1.1">
    <dep:moduleId>
      <dep:groupId>default</dep:groupId>
      <dep:artifactId>myear</dep:artifactId>
      <dep:version>1.0</dep:version>
      <dep:type>car</dep:type>
    </dep:moduleId>
    <dep:dependencies/>
    <dep:hidden-classes/>
    <dep:non-overridable-classes/>
  </dep:environment>
  <module>
    <ejb>myejb.jar</ejb>
    <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1">
      <dep:environment xmlns:dep="
http://geronimo.apache.org/xml/ns/deployment-1.1">
        <dep:moduleId>
          <dep:groupId>default</dep:groupId>
          <dep:artifactId>myejb</dep:artifactId>
          <dep:version>1.0</dep:version>
          <dep:type>car</dep:type>
        </dep:moduleId>
      </dep:environment>
      <enterprise-beans>
        <session>
          <ejb-name>TestBean</ejb-name>

          <web-service-address>TestBean/TestService</web-service-address>
        </session>
      </enterprise-beans>
    </openejb-jar>
  </module>
</application>

Hope it helps.

2011/5/4 sim085 <sim085@hotmail.com>

> Thanks for your reply. My problem is that I am implementing EJB web
> services
> (using EJB3.0 annotations). I am packaging this EJB/WebService as a jar
> file
> which in turn is packaged as part of an EAR file. I deploy the EAR file and
> this gets deployed successfully. From Geronimo console > Server > EJB
> Server
> I can see that my EJB is deployed. However I do not know if it has been
> deployed as a WebService, nor do I know exactly how to access it;
>
> I thought I would have had to access it as follows;
> http://localhost:8080/<ear name>/<bean name>?WSDL
>
> However this is not working.
>
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/Is-there-a-place-from-where-I-can-see-the-deployed-web-services-tp2882925p2896359.html
> Sent from the Users mailing list archive at Nabble.com.
>



-- 
Ivan

Mime
View raw message