thanks for your answer.

I decided to use J2EE 1.4 web services to solve my problem.  
to get familar with J2EE web services I tryed the wiki step by step example
(http://www.jboss.org/wiki/Wiki.jsp?page=WSRPCClientStepByStep)

here what I did:

  | downloaded a wsdl-file and used wscompile to generate the classes and 
descriptors for a provided web service
  | 
  | 
  |   | build a stateless session bean that provides a method to invoke one 
method (String getPhoneNumber(String name)) of the web service. used nearly the 
same implementation like the wiki example:
  |   | 
  |   |   |        ....
  |   |   |        InitialContext iniCtx = getInitialContext();
  |   |   |        PhoneServiceService service = 
  |   |   |                (PhoneServiceService)iniCtx.
  |   |   |                lookup("java:comp/env/service/ThePhoneService");
  |   |   |        PhoneService endpoint = service.getPhoneService();
  |   |   |        String number= endpoint.getPhoneNumber("John Doe");
  |   |   |        return number;
  |   |   |        ....
  |   |   | 
  |   | 
  | 
  |   | adapted and checked the desciptors (ejb-jar.xml, mapping.xml) and 
deployed the bean successfully on the server
  |   | 
  | 
  |   | built a simple ejb-client that calls the session bean which (should!) 
invoke the web service ...
  |   | 
  | when I try to execute the ejb-client I get the following error message: 
javax.naming.NameNotFoundException: ws4ee-client not bound at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:495) at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:503) .... 
  | 
  | any suggestions what could have gone wrong?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866679#3866679

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866679


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to