java

Create your webservice on BEA Weblogic, Part four

One more thing before the service is complete, we need to generete some client classes enabling us to write a unit test. The weblogic task for this is called clientgen and the definition should look something like

<taskdef name="clientgen" classname="weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask" classpathref="classpath" />

Create your webservice on BEA Weblogic, Part three

Ok, the backend component - a stateless session bean - is in place with a generated pojo delegate. The next step is to run the ejbdoclet xdoclet task on the session bean in order to generate home and remote interface. This task is not webservice specific so I won´t write more about it here but make sure it runs ok and that you have generated deployment descriptors, home and remote interfaces for your bean.

Create your webservice on BEA Weblogic, Part two

Ok, when I ended part one I had successfully generated serialization classes and type mappings with a little help from the autotype ant task. Now it´s time to generate the service components for my webservice. To do this I use a weblogic ant task called 'wsdl2Service'. As the name suggests it takes a .wsdl file as input an generates webservice components (interfaces, classes for user defined exceptions, en empty implementation class and a web-services.xml file). One limitation with this task is that it can only generate components for one service at a time.

Create your webservice on BEA Weblogic, Part one

I´m currently working for a telecommunication company, building a Virtual PBX for a large telco. The current task for my team is to create a provisioning interface for the outside world to access our system.

Eclipse Europa

is coming to town. Eclipse är som ni alla vet en av de mest spridda IDE:er som används just nu, åtminstone i javavärlden. Hur som helst, den 29:e juni släpps Eclipse Europa vilket en release där 21 olika eclipseprojekt ingår. Den 29:e juni blir alltså något av lilla julafton för oss eclipseanvändare.

Äntligen tisdag

Ohhh, vilket lyckorus! Det är inte ofta men ibland dyker det upp även på jobbet. Det är rätt tidig morgon, jag är själv på kontoret, solen lyser, jag är nyduschad efter cykelturen och jag har precis skapat dagens första klass:
public class SendMmsUsingEJBTest extends AbstractJndiTest {
}

Prenumerera på innehåll