I just looked at your WSDL and noticed a couple of things. Most of
your elements are defined as restricted strings of lengths 20, 50, or
100. If you want to be able to support validation of these element,
you could defining three simple types with these restrictions, then
define the elements as th
XML Schema validation is a very expensive process; therefore it is
never performed automatically. If you want to validate your messages,
you must route your message through an intermediary or module to do
so.
If you don't intend to validate your messages, then I suggest you
remove the restriction
Thanks Anne.
As Dims and you suggested, i was successful to write a wsdl, write a schema
into the wsdl, then perform wsdl2java, then edit the skeleton to put
businesslogic and finally i was able to call the service from a MS Excel
Client.
Thanks for your help towards this.
But, now i have a iss
yes, you can.
On 1/29/07, mvkirankumar <[EMAIL PROTECTED]> wrote:
Hi Anne,
Thanks for your expert advice.
Will follow the same, first design a schema then wsdl.
Then generate the ADB binding classes using wsdl2java tool.
I am working on it and now i got one question:
Instead of importing t
Hi Anne,
Thanks for your expert advice.
Will follow the same, first design a schema then wsdl.
Then generate the ADB binding classes using wsdl2java tool.
I am working on it and now i got one question:
Instead of importing the XSD into the wsdl, i can even write the schema
definition into the
I heartily concur with Dims. If you plan to use the same framework on
both client and server, then you will probably get by very well by
following the code-first approach. But if you will ever have the need
to interoperate with other frameworks, you'll do much better adopting
a Schema-first approa
Kiran,
Please read this:
http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html
Wrapped is a convention used when writing doc/lit wsdl's. There is no
difference in the amount of payload.
thanks,
dims
On 1/29/07, mvkirankumar <[EMAIL PROTECTED]> wrote:
Davanum,
This meth
Davanum,
This method of preparing a schema and then wsdl, then using ADB/XMLBEANS is
Document/Literal only right.
Also, i guess only Doc/Lit wrapped is interoperable to transfer huge amount
of xml data inbuilt inside the soap body.
Please correct me, if am wrong.
Thanks.
kiran.
Davanum Sriniv
That's the best practice i recommend from experience. Advice not
related to whether you use Axis2 or not.
thanks,
dims
On 1/29/07, Sathija Pavuluri <[EMAIL PROTECTED]> wrote:
> > >As i mention usually, start from WSDL/Schema. (NOT from
> > > java/pojo's).
Sorry for chipping into this thread wi
> > >As i mention usually, start from WSDL/Schema. (NOT from
> > > java/pojo's).
Sorry for chipping into this thread with an unrelated question, but wanted to
know why you say that
Is that because axis2 has less good features for pojo services?
I had read some articles early on when I was jum
oops forgot the link:
http://mail-archives.apache.org/mod_mbox/ws-axis-user/200609.mbox/[EMAIL
PROTECTED]
-- dims
On 1/29/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
#1) Yes. Start with Schema first (i use XMLSPY to write xsd's). Then
follow instructions from Anne here to fill up the temp
#1) Yes. Start with Schema first (i use XMLSPY to write xsd's). Then
follow instructions from Anne here to fill up the template WSDL.
#2) Axis2 w/o a doubt.
thanks,
dims
On 1/29/07, mvkirankumar <[EMAIL PROTECTED]> wrote:
Thanks Davanum Srinivas for your response.
OK, you advise to start fr
Thanks Davanum Srinivas for your response.
OK, you advise to start from WSDL rather than java/pojo's.
I got two questions:
1. But, does that mean we have to prepare a WSDL on our own first and then
start off.
Sorry, if this question is silly. I am new to this axis world.
2. I would have a big
If you have a complicated schema, you should use xmlbeans. If you are
willing to sacrifice a bit of schema support for better performance,
use ADB. As i mention usually, start from WSDL/Schema. (NOT from
java/pojo's).
thanks,
dims
On 1/29/07, mvkirankumar <[EMAIL PROTECTED]> wrote:
Hi,
Please
14 matches
Mail list logo