• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

Local, Remote, Webservice in Single bean

 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have the following interfaces and implementation classs.

@Stateless(name = "WorkOrderDao", mappedName = "WorkOrderDao")
public class WorkorderDaoImpl implements WorkorderDaoLocal, WorkorderDaoWS, WorkorderDaoRemote
{
..
..
}


@Local
public interface WorkorderDaoLocal extends WorkorderDao
{ }

@Remote
public interface WorkorderDaoRemote extends WorkorderDao
{ }

@WebService (name = "WorkorderDaoService", serviceName = "WorkorderDaoService", targetNamespace = "http://jaxws.ck.ws.com", portName = "WorkorderDaoPort")
public interface WorkorderDaoWS extends WorkorderDao
{ }


public interface WorkorderDao {
..
..
}


Eclipse, Weblogic 10
------------
This is deployed without problem, but there is no Web Service created.

Is this correct implementation ?
Any Idea ?

Thanks in advance
Kathiresan


 
Ranch Hand
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The container will think that this bean is remote,local and a webservice endpoint....This won't work...you need to choose only one of the 3 types.

 
Kathiresan Chinna
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK Thank you

 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic