You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Simon Raveh <si...@nominum.com> on 2002/08/14 20:00:19 UTC

Axis and EJB

Hi
I deployed successfully ejb as webservice using axis beta 3 and weblogic 7
but when I look at the wsdl via ?wsdl option I don't see any operation
listed
Any clue whats going on

here is the wsdl

<?xml version="1.0" encoding="UTF-8" ?>
<wsdl:definitions
targetNamespace="http://localhost:7001/axis/services/Hello/axis/services/Hel
lo" 	xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://localhost:7001/axis/services/Hello/axis/services/Hello-im
pl"
xmlns:intf="http://localhost:7001/axis/services/Hello/axis/services/Hello"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  	<wsdl:portType name="Hello" />
	<wsdl:binding name="HelloSoapBinding" type="intf:Hello">
  <wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
  </wsdl:binding>
 <wsdl:service name="HelloService">
 <wsdl:port binding="intf:HelloSoapBinding" name="Hello">
  <wsdlsoap:address location="http://localhost:7001/axis/services/Hello" />
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>

here is the bean class :

package com.nominum.management.server.ejb.session;

import javax.ejb.*;

public class HelloBean extends NominumSessionBean{

    public void ejbCreate() throws CreateException {
    }

    public void sayHello(String name) {
        System.err.println( "hello " + name );
    }
}