Hi,

Generally, you don't need to create your own maven-archetype. A maven-archetype is like a code template to get you quickly started on deploying your SUs into the specified service engine.

For the jsr181 archetype, if you go wsdl first, you need to have your wsdl and overwrite the service.wsdl, and provide your implementation (pojo) in the src/main/java folder.

If you go, annotated pojo (code first), just use the jsr181-annotated-service archetype. There's an example implementation there you can use.

Good luck!

Erik Allais wrote:
i try to make this tuto but there no information about

 - how to make a maven archetype
 - where i must store my POJO on the new archetype

i really need help or an archive of this example to understand really how to
use it

Thanks,
Erik


rabi wrote:
OK .. Let us  know your usecase and someone from the usergroup can help
you..
Else you have a look at the wsdl-first sample that comes with
servicemix. This is a contarct first wsdl sample using jsr181.

If you have a pojo(annotated) that you want to expose as a WS using
JSR181 and ServiceMix then you can look at

http://incubator.apache.org/servicemix/servicemix-jsr181.html

Regards,
Rabi Mishra, http://rabisblog.blogspot.com/ c++; /* this makes c bigger but returns the old value */ -----Original Message----- From: Erik Allais [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 3:23 PM
To: [email protected]
Subject: RE: Conception Problem about Service Consumer


to say the truth i dont know where are all the maven archetype i use
this because i saw it in a tutorial...

im lost


rabi wrote:
Erik,
You have taken the wsdl-first maven archetype to create your SU. FYI, this assumes that you have the wsdl(contract) with you to create implementation from it using <wsgen>. Btw, what are you trying to do? contract first or code first.. Do you have a POJO (annotated) that you want to expose it using servicemix. Regards,
Rabi Mishra
http://rabisblog.blogspot.com/

________________________________

From: Erik Allais [mailto:[EMAIL PROTECTED]
Sent: Tue 6/26/2007 10:41 PM
To: [email protected]
Subject: Re: Conception Problem about Service Consumer




i try to implement the example on this page :
http://incubator.apache.org/servicemix/servicemix-jsr181.html

but i have a lot of interrogation about some step for example the generation of the xbean.xml... i need to reference a POJO class but where i must put this pojo on my archive

i use maven to create the archetype like this :
mvn archetype:create \
        -DarchetypeGroupId=org.apache.servicemix.tooling \

-DarchetypeArtifactId=servicemix-jsr181-wsdl-first-service-unit \
        -DarchetypeVersion=3.1-incubating \
        -DgroupId=com.examples.MyFirstService \
        -DartifactId=my-first-service-su \
-DremoteRepositories=http://people.apache.org/repo/m2-incubating-repos
itory

i got the followind directory:
pom.xml
src \ main
                  \ ressources
                                         \ service.wsdl
                                         \ xbean.xml
     \ target
                   \ generated-sources

i change the xbean.xml but where i must put my pojo class?
note: dont understand why i dont have my package (com.examples) created


thanks for help
Erik,


Erik Allais wrote:
hi,
i must make a service provider that consume WS on an external Application
(SugarCRM)

the illustration:


ESB<===>[WS: Service provider]------>consume WS------->[Application:
SugarCRM]
<------return result-----------


my service provider inside servicemix must use a SOAP client to invoke the WS of my external application There is a component which can do that or i must use a SOAP client like XFire or Axis?

note : All the WS i must invoke (sugarCRM) need complex type parameter

Why this implementation??
Because i need to make an abstract layer over the WS of my application (bufferised some process for example)

thanks,

Erik





--
View this message in context:
http://www.nabble.com/Conception-Problem-about-Service-Consumer-tf3977
822s12049.html#a11309858 Sent from the ServiceMix - User mailing list archive at Nabble.com.






The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any
attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of
viruses.
The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

--
View this message in context:
http://www.nabble.com/Conception-Problem-about-Service-Consumer-tf397782
2s12049.html#a11321489
Sent from the ServiceMix - User mailing list archive at Nabble.com.



The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you
are not the intended recipient, you should not disseminate, distribute or
copy this e-mail. Please notify the sender immediately and destroy all
copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
www.wipro.com




Reply via email to