Hi Ivan,
Yes, we have the archetype for generating su of cxf se and bc
try
SMX_HOME/bin/smx-arch su cxf-se
SMX_HOME/bin/smx-arch su cxf-bc
And [1] for more details about how wsdl2java works
[1]http://cwiki.apache.org/CXF20DOC/wsdl-to-java.html
Regards
Freeman
ivan wrote:
Good! So, is there some archetype for generating something like
jsr181? where we have skeleton for generaton wsdl2java..
Guillaume Nodet пишет:
I suppose you mean servicemix-jsr181 ? servicemix-service-engine is
not a
component.
The main difference between jsr181 and cxf-se components is that the
first
one is based on XFire and the second one is based on Apache CXF.
XFire is
not developed anymore, so the component will be deprecated over time in
favor of the cxf-se component.
On Wed, Apr 9, 2008 at 4:18 PM, ivan <[EMAIL PROTECTED]> wrote:
Ok.. What difference between servicemix-service-engine and
servicemix-cxf-se?
Guillaume Nodet пишет:
On Wed, Apr 9, 2008 at 10:18 AM, ivan <[EMAIL PROTECTED]> wrote:
Ok, I use this example. I see following structure:
- wsdl-first-cxf-sa
- wsdl-first-cxfbc-su
- wsdl-first-cxfse-su
So, I need to develop wsdl-first-cxfse-su (change wsdl, implement
service-interface). Also wsdl-first-cxfbc-su contains the same wsdl.
So, do
I need to provide my WSDL both wsdl-first-cxfbc-su
wsdl-first-cxfse-su
projects?
If I understood right, project wsdl-first-cxfse-su is mix of
functionality
of 2 archetypes: servicemix-cxf-se-service-unit and
servicemix-jsr181-wsdl-first-service-unit. First creates stub for SE,
another - creates STUB for generating sources from WSDL (wsdl2java).
Not exactly. The servicemix-cxf-se will host the service in a
protocol
agnostic way (it does not even deal with SOAP). The
servicemix-cxf-bc
will
just create an HTTP/SOAP service and will send a JBI exchange to the
cxf-se
for processing. The BC only deals with SOAP/HTTP, and the SE only
deals
with your business logic.
Btw, servicemix-jsr181 is not used in the cxf-wsdl-first example.
Any comments are welcome :)
Thanks.
Freeman Fang пишет:
Hi Ivan,
We have a README with the example in the kit, no wiki so far
Freeman
ivan wrote:
Recenlty I have downloaded sources... Btw, is there some guide
about
cxf-wsdl example? Like "Hello world BC"
Freeman Fang пишет:
Hi Ivan,
You can find src code from smx 3.2.1 release kit. [1] for kit
downloading.
[1]http://servicemix.apache.org/download.html
Regards
Freeman
ivan wrote:
So, cxf-wsdl-first... I could find wsdl-first-cxfse-su,
wsdl-first-cxfbc-su, wsdl-first-cxf-sa in servicemix
sources... But instead
of this sources, is there some documentation? How should I
mimic this
example from "0"?
Thanks :)
Guillaume Nodet пишет:
Just mimic what the cxf-wsdl-first example do and you'll have
your
solution. it will be much easier as you don't need to fully
understand the
JBI api to make this work. A web service is just an
artifact
for a JBI
component, it does not need to *be* a JBI component, because
JBI
components
are usually containers onto which artifacts are deployed
(artifacts being
service units).
2008/4/8 ivan <[EMAIL PROTECTED]>:
Ok.. Let start from another side. Our task is to create
web-service with
custom implementation, so no one existing component does
not
implement
needed functionality. What is our architecture of
application
and plan of
development?