Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Complex Type Parsing
Complex Type Parsing [message #69508] Thu, 31 August 2006 18:59 Go to next message
Eclipse UserFriend
Originally posted by: arggaz.hotmail.com

Hi everyone,

I actually have a problem pasing complex types from a WSDL file. I was using
WSDL4J to parse simple types. Now that i want to parse complex type, i find
no resources. I heard about WSIF. But again, i don't know how to use it.
Anybody has any idea ?
Any sample or example is more than welcome.

Thanks a lot

Onassis




---
Antivirus avast! : message Sortant sain.
Base de donnees virale (VPS) : 0635-3, 2006-08-31
Analyse le : 2006-08-31 14:59:48
avast! - copyright (c) 1988-2006 ALWIL Software.
http://www.avast.com
Re: Complex Type Parsing [message #69532 is a reply to message #69508] Thu, 31 August 2006 19:07 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Mohand,

I saw your same question on the WTP newsgroup. You should use a single
posting to multiple newsgroups so that an answer on one will appear on
all. The WSDL model in WTP uses the XSD model to represent the XML
Schema parts of the WSDL. In addition, the XSD model's XSDResourceImpl
can be registered to handle .wsdl or .xsd files. When parsing a .wsdl
file, it will create XSDSchema components for all the schemas in the
WSDL. You could look at XSDMainExample to see how the XSD model can be
used to parse .xsd file and you can modify that example to register
"wsdl" as well as "xsd". Probably you'll want to use the WSDL model, in
which case folks on the WTP newsgroup will need to answer your question.


Mohand wrote:
> Hi everyone,
>
> I actually have a problem pasing complex types from a WSDL file. I was using
> WSDL4J to parse simple types. Now that i want to parse complex type, i find
> no resources. I heard about WSIF. But again, i don't know how to use it.
> Anybody has any idea ?
> Any sample or example is more than welcome.
>
> Thanks a lot
>
> Onassis
>
>
>
>
> ---
> Antivirus avast! : message Sortant sain.
> Base de donnees virale (VPS) : 0635-3, 2006-08-31
> Analyse le : 2006-08-31 14:59:48
> avast! - copyright (c) 1988-2006 ALWIL Software.
> http://www.avast.com
>
>
>
>
Re: Complex Type Parsing [message #598670 is a reply to message #69508] Thu, 31 August 2006 19:07 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33252
Registered: July 2009
Senior Member
Mohand,

I saw your same question on the WTP newsgroup. You should use a single
posting to multiple newsgroups so that an answer on one will appear on
all. The WSDL model in WTP uses the XSD model to represent the XML
Schema parts of the WSDL. In addition, the XSD model's XSDResourceImpl
can be registered to handle .wsdl or .xsd files. When parsing a .wsdl
file, it will create XSDSchema components for all the schemas in the
WSDL. You could look at XSDMainExample to see how the XSD model can be
used to parse .xsd file and you can modify that example to register
"wsdl" as well as "xsd". Probably you'll want to use the WSDL model, in
which case folks on the WTP newsgroup will need to answer your question.


Mohand wrote:
> Hi everyone,
>
> I actually have a problem pasing complex types from a WSDL file. I was using
> WSDL4J to parse simple types. Now that i want to parse complex type, i find
> no resources. I heard about WSIF. But again, i don't know how to use it.
> Anybody has any idea ?
> Any sample or example is more than welcome.
>
> Thanks a lot
>
> Onassis
>
>
>
>
> ---
> Antivirus avast! : message Sortant sain.
> Base de donnees virale (VPS) : 0635-3, 2006-08-31
> Analyse le : 2006-08-31 14:59:48
> avast! - copyright (c) 1988-2006 ALWIL Software.
> http://www.avast.com
>
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Complex Type Parsing
Next Topic:Using XSD with XML for importing XML
Goto Forum:
  


Current Time: Sat Nov 09 02:08:28 GMT 2024

Powered by FUDForum. Page generated in 0.03082 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top