oops, sorry Sanjiva, spelt your name incorrectly.
Owen
|---------+---------------------------->
| | Owen D |
| | Burroughs/UK/IBM@|
| | IBMGB |
| | |
| | 17/02/2003 11:00 |
| | Please respond to|
| | wsif-dev |
| | |
|---------+---------------------------->
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: Re: Fw: [wsdl] Re: wsdl complex types with WSDL4J
|
|
|
|
|
>--------------------------------------------------------------------------------------------------------------------------------------------------|
Sanjeeva,
I agree that we shouldn't have two offerings that do the same thing.
However, as mentioned in my note and also in the javadoc, the code in WSIF
is not a full schema parser; it doesn't need to be. It is much more simple
and serves the requirements of WSIF. I did look at the Axis code when
writing the schema package but concluded that it is too much overhead and
did not meet a number of the requirements that WSIF has for the way the
APIs need to work.
Owen
|---------+---------------------------->
| | "Sanjiva |
| | Weerawarana" |
| | <[EMAIL PROTECTED]|
| | bm.com> |
| | |
| | 17/02/2003 03:52 |
| | Please respond to|
| | wsif-dev |
| | |
|---------+---------------------------->
>
--------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: <[EMAIL PROTECTED]>
|
| cc:
|
| Subject: Re: Fw: [wsdl] Re: wsdl complex types with WSDL4J
|
|
|
|
|
>
--------------------------------------------------------------------------------------------------------------------------------------------------|
Axis has accepted a contribution of a pretty complete schema parser.
It wouldn't make sense to have two such beasts - is there any reason
why WSIF can't use the one that Axis is moving to?
There's another open-source one at eclipse, but that's based on MOF/EMF
and the axis folks concluded that was more overhead than they cared
for.
Dims, has there been any progress on the axis schema stuff?
Sanjiva.
----- Original Message -----
From: "Owen D Burroughs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 14, 2003 11:19 PM
Subject: Re: Fw: [wsdl] Re: wsdl complex types with WSDL4J
> "....anybody with...some knowledge of that code do jump in"....that'll be
> me then ;-)
>
> The code was written to serve the needs of WSIF. As mentioned, it is not
a
> full schema parser and is not meant to be. WSIF needs mappings from
global
> elements in the schema (a.k.a. top level elements) to Java class names.
As
> such the Parser code attempts to identify such elements and establish the
> following information about them:
>
> - is it a complex type?
> - is it a simple type?
> - is it an element? is it nillable?
> - does it represent an array and if so an array of what?
>
> Any other information is deemed irrelevant to working out the mapping and
> so is pretty much ignored. This not only makes the code more simple, it
> should also be better performance wise (less parsing).
>
> The Parser class currently has a number of methods to return mappings. A
> better approach would be to have the Parser just concentrate on finding
all
> the different elements/types in the schema(s) and have the mapping side
> carried out seperatly with more options to customize the mappings. As
> mentioned in a previous IRC (or at least hinted at), this is something I
am
> currently working on, so stay tuned!
>
> Owen
>
>
>
> |---------+---------------------------->
> | | Nirmal |
> | | Mukhi/Watson/IBM@|
> | | IBMUS |
> | | |
> | | 14/02/2003 16:50 |
> | | Please respond to|
> | | wsif-dev |
> | | |
> |---------+---------------------------->
>
>
---------------------------------------------------------------------------
-----------------------------------------------------------------------|
> |
|
> | To: [EMAIL PROTECTED]
|
> | cc:
|
> | Subject: Fw: [wsdl] Re: wsdl complex types with WSDL4J
|
> |
|
> |
|
>
>
---------------------------------------------------------------------------
-----------------------------------------------------------------------|
>
>
>
>
> Hi,
>
> I think our schema parsing code in org.apache.wsif.schema is cool - IMHO
> many people (such as the guy below) may find it useful enough to make it
a
> reason for moving to using WSIF. Perhaps we should highlight it more on
the
> web pages - anybody with time and some knowledge of that code do jump in!
>
> Also I think eventually this belongs in ws-commons too, since it is
really
> a WSDL utility which other projects could use as well.
>
> Nirmal.
> ----- Forwarded by Nirmal Mukhi/Watson/IBM on 02/14/2003 11:46 AM -----
>
> "xserty <[EMAIL PROTECTED]>"
> <xserty To: [EMAIL PROTECTED]
> cc:
> Subject: [wsdl] Re: wsdl
> 02/14/2003 05:54 AM complex types with WSDL4J
> Please respond to wsdl
>
>
>
>
>
> Hi!
> I had a quick look at the WSIF, and seems very easy to use for my
needs...
> Anyway, the overall project seems to be very interesting, and I'll
> evaluate it more in depth to see if it's usefull for our work. :))
>
> Thank you very much for pointing me to WSIF! :))
>
> All the best...
> Xserty
>
> --- In [EMAIL PROTECTED], Nirmal Mukhi <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > You will need to use a schema parser for that. WSIF
> > (http://ws.apache.org/wsif) includes utilities for parsing schemas,
> and is
> > particularly suited for getting the list of defined types etc. in WSDL
> > documents. See the org.apache.wsif.schema.Parser class in the WSIF
> source
> > code; this has a number of useful utility methods. Schema support is
> not
> > complete, but it supports a significant subset of schema, covering most
> > practical cases.
> >
> > Nirmal.
> >
> >
> >
> >
> > "xserty <[EMAIL PROTECTED]>" <xserty
> > 02/13/2003 08:02 AM
> > Please respond to wsdl
> >
> > To: [EMAIL PROTECTED]
> > cc:
> > Subject: [wsdl] wsdl complex types with WSDL4J
> >
> >
> > Hi all...
> > Can anybody help me parsing a WSDL file with WSDL4J to get complex
> types?
> >
> > I'm trying to parse a WSDL file with WSDL4J, but I can't "drill-down"
> > the <types> element to get to the <xsd:complexType>.
> > For example, I can't reach the element name "x" and "y" in the
> > following wsdl:
> > [...]
> > <types>
> > <xsd:schema
> > targetNamespace="http://www.capeclear.com/PolyCalcApp.xsd"
> > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> > <xsd:complexType name="Coordinate">
> > <xsd:sequence>
> > <xsd:element maxOccurs="1" minOccurs="1" name="x"
> > type="xsd:float"/>
> > <xsd:element maxOccurs="1" minOccurs="1" name="y"
> > type="xsd:float"/>
> > </xsd:sequence>
> > </xsd:complexType>
> > </xsd:schema>
> > </types>
> > [...]
> >
> > Thanks very much for any help...
> > Xserty
>
>
> ------------------------ Yahoo! Groups Sponsor ---------------------~-->
> Get 128 Bit SSL Encryption!
> http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/W6uqlB/TM
> ---------------------------------------------------------------------~->
>
> -----------------------------------------------------------------
> This group is a forum for the discussion of the WSDL specification and
its
> implementation. Please stay on-topic.
>
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>