|
The posting of the contents can be done with the
sendRequest target in the build.xml though as I recall you may need to copy the
sendRequest.xml file to the generated service directory...short answer is yes,
we have something called SOAPClient which does the job....
As for patches, you are dead on...just use the facilities
of svn, also you *could* file a Jira issue and attach your patch to it...Thats
probably the best way for tracking...or you could just send to the
list....
Thanks for the input and patches!!
-S From: Kumar, Pankaj Sent: Thursday, March 31, 2005 2:32 PM To: [email protected] Subject: RE: Ant targets "compile" and "deploy" missing from tutorial build script Hi
Sal, Thanks for all the
helpful tips. I am now able to compile, deploy and run the filesystem
example. Yes, I did miss quite a
few steps in my last note: (a) copy paste of method implementations; (b)
including source files under tutorial/src directory for compilation; and (c) use
of .soap files under tutorial/requests directory for making requests.
It may be possible to
restructure the tutorial example to make the “getting started” steps somewhat
simpler, but for the time being, I will just document what needs to be
done. BTW, for the last step,
to do HTTP POST of the contents of a file to an URL, I used something that I had
written previously for another project. Is there anything in Apollo distribution
that can be used? Another question: is
there any wrtieup on steps in submitting a patch to Apollo? Or should I just
make the changes, do a “svn diff > apollo.patch” in the base directory and
send “apollo.patch”? Thanks, Pankaj
Kumar From:
The docs need to
change....They are stale.... The compile and deploy targets will be in the
generated build.xml for the service (under
generated/service_name/build.xml).... As for a getting
started page, that is fine, you are assuming everyone knows what this stuff is
all about....feel free to submit a doc...BUT you missed a step....The generated
code is just skeleton code...You will notice a method_impl directory with txt
files which are code snippets to be added to the generated code to make it
actually do something..... I believe we have a
Jira issue for reworking the tutorial docs and scripts, but this is as it is
today...If you are unsure of something feel free to ask, others will benefit
also... -Sal From: Kumar,
Pankaj Hi, I was going through the tutorial and
try to generate, compile and deploy the FileSystem example. The tutorial says
that I should be able to do all this with single command “ant generate compile
deploy”. But I don’t see targets compile and deploy in
build.xml. Is the problem with documentation or
build.xml? Also, I think going through the
tutorial is somewhat overwhelming to start with. Perhaps we can have a getting
started page with following simple
instructions: After unzipping the Apollo
distribution zip, perform the following steps to see you first WSRF example
working:
6.
Read the tutorial to understand what
happens behind the scene Well, I should be able to write such
a getting started document once I get it working. /Pankaj. |
- Ant targets "compile" and "deploy&... Kumar, Pankaj
- RE: Ant targets "compile" and &quo... Campana Jr., Salvatore J
- RE: Ant targets "compile" and &quo... Kumar, Pankaj
- Campana Jr., Salvatore J
