PEtALS : news and noteworthy

Hot news on EBM Websourcing, and PEtALS ESB

Proxify Web Services in PEtALS with Maven

This is quite the same thing than the previous post where I introduced how to expose JAXWS service in PEtALS ESB with Maven. This time, let’s proxify a Web service in PEtALS with Maven.
Here is the Maven descriptor snippet :

<build>
<plugins>
<plugin>
<groupId>org.ow2.petals</groupId>
<artifactId>maven-petals-wsproxy</artifactId>
<version>1.0-SNAPSHOT</version>
<executions>
<execution>
<id>generate-jbi</id>
<phase>package</phase>
<configuration>
<wsdl>
http://localhost:8080/Service?wsdl
</wsdl>
</configuration>
<goals>
<goal>wsproxy</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

This will generate a JBI Service Assembly that you can then deploy intoo PEtALS to proxify [...]

Easily expose JAXWS in PEtALS with Maven

Since I am always using command line tools such as Maven or Ant to create my project and to package them, I have just created a new Maven plugin to easily and quickly expose a JAXWS service in PEtALS with Maven. This plugin will generate the JBI Service Unit and Service Assembly from a Maven [...]

An operation with name ” already exists in this service

Here is a tip on how to avoid this type of exception with JAXWS but before let’s try to understand why your Service construciton fails…
This exception occurs when your service definition (the Java interface in our case) have some duplicates methods without the same number of parameters (ie method overloading). This exception is totally normal [...]

Form email Gforge

Modifier “form” email user,
Par défaut, Gforge limite de le nom de domaine de l’email à 16 caractères,
donc on est bloqué lors de la creation de l’utilisateur à cause de l’adresse mail.
Pour palier à ce problème, il faut modifier  le fichier /opt/gforge/common/include/User.class
Se placer dans la fonction “setNewEmailAndHash”
et modifier le chiffre de 16 à 25 .
ex fichier [...]

SCA and PEtALS ESB, Yes We Can!

This news has not been published on the PEtALS Web Site (why?) but yes we now have some SCA (Service Component Architecture) tools available with PEtALS ESB!
This work is a result of the ScorWare project in which eBM WebSourcing was involved in.
The SCA feature is provided in PEtALS by the SCA JBI Service Engine (link [...]

Just testing the Google App Engine Java Version

Just tested the Google App Engine Java version and its Eclipse plugin, really amazing. The sample application is deployed from Eclipse and is running at http://hamerlingchristophe.appspot.com/
I think that I will try to do some things related to SOA and PEtALS on this platform, just need time…

Google Data API presentation

A quick entry on a really good presentation of the Google Data API, simple and interesting…
http://www.infoq.com/presentations/google-data-api-gdata
Frank Mantek discusses the Google Data API (GData) including decisions to use REST rather than SOAP technology, how the API is used, numerous examples of how GData has been used by clients, and future plans for evolving the API. A [...]

Developing under Mac OS X : The keyboard…

Mac OS X is cool but where are my special characters I need while developing??? Here are some keys combinations which are (quite) useful :

| is under OPTION+SHIFT+L
{ is under OPTION+( and } is under OPTION+)
[ is under OPTION+( and ] is under OPTION+)
\ is under OPTION+SHIFT+/

Should be easier now…

Apache CXF Clients : null result when using bad client factory

Just a quick note to show that the client factory choice is important with Apache CXF 2.1.4.
The service interface definition :

package org.ow2.petals.usecase.soapaddressing.server;
 
import javax.jws.WebMethod;
import javax.jws.WebService;
 
/**
* @author chamerling - eBM WebSourcing
*
*/
@WebService
public interface AddressingService {
 
/**
* Get the local information
*
[...]

JSR181 Servive Engine sample : Talk to Twitter

Just for fun…
The current article will show you that the JSR181 Service Engine really provides an easy way to create JBI services. Since creating simple HelloWorld service is quite boring, let’s talk to twitter micro blogging site.
I will use the Twitter4J API () to talk to Twitter (right all the Twitter job is done here… [...]