On Feb 13, 2008 4:20 PM, nate roe <[EMAIL PROTECTED]> wrote:
>
>
> That will generate static WSDL, correct? I had hoped that ServiceMix would
> automatically create this WSDL dynamically on deployment. Is that possible?
Not something that will be complete enough to be usable. It's always
best to generate static WSDL from your annotated Java classes or
create it using some other tool.
> A couple of days ago I did successfully invert the wsdl-first example (to
> create a code-first variant.) To do this, I copied all of the Java files
> from the wsdl-first example (mostly generated by Maven, except for
> Person.java.) I made a new project with these files. I then used Ant, with
> Axis' java2wsdl task to generate a WSDL. Then I zipped up my SU and my SA
> (along with unmodified wsdl-first-http-su-3.2.1.zip) using the unmodified
> xbean.xml and jbi.xml. This SA deployed and performed exactly as the
> wsdl-first demo had. I then deleted the WSDL generation step from my Ant
> script so that it instead just compiles and zips. This new, WSDL-less SA
> also deployed and performed exactly as the wsdl-first demo had. This is why
> I wanted to try to create a POJO-based service without any pre-built WSDL.
> It appears that ServiceMix can in at least some circumstance deal without
> it.
Yes, and that's all going to work just fine. However, you started this
discussion by saying you weren't able to access the WSDL and I
explained why.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Blog: http://bruceblog.org/