Great, good news.
FYI, I'm going to add the WSDL support in SMPP component soon.
Regards
JB
gardion1 wrote:
Jean-Baptiste,
Thank you for all your help. I am now able to build the smpp su and have
service mix receive messages from an sms emulator.
I'm going to see what I can do now with smpp.
Joel
Jean-Baptiste Onofré wrote:
Hi,
as already discussed in private :), since SMX 3.3, the container and the
components have been splitted.
The versionning is not linked and the components are used by SMX3 and
SMX4.
So currently, the stable release of the components is not the 3.3.1 but
the 2009.01.
You can find the servicemix-smpp 2009.01 here:
https://repository.apache.org/content/groups/public/org/apache/servicemix/servicemix-smpp/2009.01/
Regards
JB
gardion1 wrote:
Hello again
Thank you for your help so far. I've tried using the smpp component with
an
su configuration. However, it seems the project can't find
servicemix-smpp
version 3.3.1. What version of servicemix-smpp should I be using?
Below is my command for building the sa containing the su configuration
for
smpp.
I've also included the pom.xml file used for my smpp su.
C:\service_mix\smpp_project>mvn clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Aegis-SMPP :: SMPP to SQL
[INFO] Test-SMPP :: smpp SU
[INFO] A custom project
[INFO] smpp project
[INFO]
------------------------------------------------------------------------
[INFO] Building Aegis-SMPP :: SMPP to SQL
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\service_mix\smpp_project\pom.xml to C:\Documents and
Settin
gs\jwagler\.m2\repository\org\apache\servicemix\aegis\smpp\parent\1.0-SNAPSHOT\p
arent-1.0-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] Building Test-SMPP :: smpp SU
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory
C:\service_mix\smpp_project\test-smpp-producer-su\targ
et
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] Copying 1 resource
Downloading:
http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apach
e/servicemix/servicemix-smpp/3.3.1/servicemix-smpp-3.3.1.pom
[INFO] Unable to find resource
'org.apache.servicemix:servicemix-smpp:pom:3.3.1'
in repository apache
(http://people.apache.org/repo/m2-ibiblio-rsync-repository
)
Downloading:
http://repo1.maven.org/maven2/org/apache/servicemix/servicemix-smpp
/3.3.1/servicemix-smpp-3.3.1.pom
[INFO] Unable to find resource
'org.apache.servicemix:servicemix-smpp:pom:3.3.1'
in repository central (http://repo1.maven.org/maven2)
Downloading:
http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apach
e/servicemix/servicemix-smpp/3.3.1/servicemix-smpp-3.3.1.jar
[INFO] Unable to find resource
'org.apache.servicemix:servicemix-smpp:jar:3.3.1'
in repository apache
(http://people.apache.org/repo/m2-ibiblio-rsync-repository
)
Downloading:
http://repo1.maven.org/maven2/org/apache/servicemix/servicemix-smpp
/3.3.1/servicemix-smpp-3.3.1.jar
[INFO] Unable to find resource
'org.apache.servicemix:servicemix-smpp:jar:3.3.1'
in repository central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.servicemix:servicemix-smpp:jar:3.3.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.servicemix
-DartifactId=serv
icemix-smpp -Dversion=3.3.1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.apache.servicemix
-DartifactId=servic
emix-smpp -Dversion=3.3.1 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url]
-Drep
ositoryId=[id]
Path to dependency:
1)
org.apache.servicemix.aegis.smpp:test-smpp-producer-su:jbi-service-un
it:1.0-SNAPSHOT
2) org.apache.servicemix:servicemix-smpp:jar:3.3.1
----------
1 required artifact is missing.
for artifact:
org.apache.servicemix.aegis.smpp:test-smpp-producer-su:jbi-service-unit:1.0-SN
APSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11 seconds
[INFO] Finished at: Fri Oct 02 11:59:57 PDT 2009
[INFO] Final Memory: 20M/36M
[INFO]
------------------------------------------------------------------------
C:\service_mix\smpp_project>
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>parent</artifactId>
<groupId>org.apache.servicemix.aegis.smpp</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<groupId>org.apache.servicemix.aegis.smpp</groupId>
<artifactId>test-smpp-producer-su</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jbi-service-unit</packaging>
<name>Test-SMPP :: smpp SU</name>
<url>http://www.myorganization.org</url>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>jbi-maven-plugin</artifactId>
<version>${servicemix-version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<releases />
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>apache</id>
<name>Apache Repository</name>
<url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
</repository>
<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots />
<id>apache.snapshots</id>
<name>Apache Snapshots Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<releases />
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>apache</id>
<name>Apache Repository</name>
<url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
</pluginRepository>
<pluginRepository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots />
<id>apache.snapshots</id>
<name>Apache Snapshots Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>org.apache.servicemix</groupId>
<artifactId>servicemix-smpp</artifactId>
<version>3.3.1</version>
</dependency>
</dependencies>
<properties>
<servicemix-version>3.2.3</servicemix-version>
</properties>
</project>
Jean-Baptiste Onofre wrote:
Hi Joel,
The smpp component connects to a SMPP server.
First, you need to define if your SMPP endpoint in ServiceMix is going
to receive SMS messages (consumer) or to send SMS messages (provider).
For example, if you need to send a SMS from ServiceMix, you need to use
the following SMPP endpoint:
<smpp:provider service="test:service"
endpoint="endpoint"
host="smpp.example.com"
port="2700"
systemId="user"
password="passwd"/>
where host/port is the SMPP server that you are going to use.
Once your endpoint is deployed, you need to send a message (from a
ServiceMix point of view) to the endpoint. Currently, the SMPP endpoints
uses XML files (not yet WSDL support like in Exec for now).
The expected XML looks like:
<message>
<source>0603999999</source>
<destination>0603888888</destination>
<text>Hello World</text>
<npi></npi>
<ton></ton>
</message>
Regards
JB
gardion1 wrote:
Hello all,
I am using smpp extension from service mix for a project at a company I
work
for. I was wondering if there was anything to help get started using
smpp.
Currently I am using a snapshot version of service mix that has smpp.
I
have followed the documentation listed here.
http://servicemix.apache.org/servicemix-smpp.html. There isn't a lot
of
documentation for using smpp in service mix.
Is there a way of having servicemix-smpp connect to an smsc using smpp?
What would the xbeam.xml file look like.
Thank you for any help,
Joel
--
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
[email protected]
PGP : 17D4F086
--
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
[email protected]
PGP : 17D4F086
--
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
[email protected]
PGP : 17D4F086