Nothing odd in these cases
This is because OFBiz deals (for now) only with simple types.
Tip : use the screen
https://localhost:18443/webtools/control/availableServices?sel_service_name=ritaCCAuth
to have a better grip on
this issue
If you use
https://localhost:8443/webtools/control/availableServices?sel_service_name=ritaCCAuth&show_wsdl=true
You will notice a msg which explain that parameter billToEmail is a
GenericValue (from ccAuthInterface) hence the WSDL can't be
generated
To deal with other types (array, class) you will have to use something like
Apache Axis
In storeOrder Timestamp, at least, is the reason (it's a class not a simple
type)
You should found what you need to understand and continue there
http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Soap
I agree it's not the easier part of OFBiz. This is because, as explained David
in one of the message you might find from links
above, this project is mostly oriented toward business (Open For Business ;o)
and those kind of stuff are very peripheral in OFBiz
You see, all is already in the dev ML...
Jacques
From: "DeAngelo Lampkin" <[EMAIL PROTECTED]>
This is very odd. I've noticed that some other services with export="true"
don't have wsdls.
For example,all the "rita" services listed in
"applications/accounting/servicedef/services_rita.xml", have export="true"
set in their service definitions out of the box. But the WSDL cannot be
reached for these either.
However, I *can* reach the services with export="true" listed in
framework/entityext/servicedef/services.xml.
Again, if anyone has any suggestions on this or notices a glaring oversight
on my part, please share!
-DeAngelo
On Mon, Oct 6, 2008 at 12:11 PM, DeAngelo Lampkin <[EMAIL PROTECTED]> wrote:
Thanks for linked file Jacques. It was pretty enlightening. However, I'm
still having trouble getting at the storeOrder WSDL.
Just FYI, inside "storeOrder's" services.xml (under order/servicedef), I've
added export, auth, and login-required attributes and set their values
accordingly as suggested in the linked README. But again, this wasn't
enough to get the WSDL to come up via the followiing link:
http://localhost:8080/webtools/control/SOAPService/storeOrder?WSDL
Note however that the getPartyEmail WSDL comes up fine using
http://localhost:8080/webtools/control/SOAPService/getPartyEmail?WSDL, so
the URL structure seems valid. This leads me to believe something is wrong
with my underlying configuration of of the storeOrder service. For
reference, here's what that configuration now looks like:
" <service name="storeOrder" export="true" engine="java" validate="false"
auth="false" login-required="false"
location="org.ofbiz.order.order.OrderServices"
invoke="createOrder">"
One thing I did note in the service definition for storeOrder - it uses the
"java" engine, whereas getPartyEmail using a "simple" engine. Would this
make a difference?
Thanks again,
-DeAngelo
On Mon, Oct 6, 2008 at 4:40 AM, Jacques Le Roux <
[EMAIL PROTECTED]> wrote:
Sorry I cut/pasted and did not read after, the sentence should have been
I suppose you already tried all from
http://docs.ofbiz.org/pages/viewpageattachments.action?pageId=1379
Jacques
From: "Jacques Le Roux" <[EMAIL PROTECTED]>
I suppose yes that you try all from
http://docs.ofbiz.org/pages/viewpageattachments.action?pageId=1379
Actually those are pretty basic stuff, but it may help if you did not
used them yet.
Jacques
From: "DeAngelo Lampkin" <[EMAIL PROTECTED]>
Hello all,
I'm exploring accessing one of the out of box OFBiz applications from
another program. Specifically, at the moment I'm attempting to expose
the
"storeOrder" service via SOAP by following Vincenzo Di Lorenzo's
tutorial.
Here are the steps I've taken:
1) inside "applications/order/servicedef/services.xml", I've set
storeOrder's service export attribute to "true"
2) I've attempted to access the service at "
http://localhost:8080/webtools/control/SOAPService/storeOrder?WSDL"
(slight
modification of Vincenzo's tutorial url). When I do this, I get the
following message: "Unable to obtain WSDL".
Did I miss a step? Am I hitting the wrong URL (very strong
possibility)?
Also, if anyone has thoughts, advice, or links about exposing the out of
box
OFBiz apps via SOAP for the purposes of external access, I'm all ears.
I've
read the tutorials and have spent a lot of time going through the
mailing
list archives, but I can't *quite* find anything discussing the
particular
problem I'm solving (though many come close).
Basically I want to access the service layer on down (via SOAP) for an
out
of box app, while creating my own GUI on top of everything (outside of
OFBiz's structure). An earlier thread on Joomla integration seems to
come
closest.
Thanks for your help!
-DeAngelo Lampkin