Home > Ask the SOA Experts > SOA governance and standards Questions & Answers > WSDL parsers
Ask The SOA Expert: Questions & Answers
EMAIL THIS

WSDL parsers

Anne Thomas Manes EXPERT RESPONSE FROM: Anne Thomas Manes

Pose a Question
Other SOA Categories
Meet all SOA Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 26 November 2007
How do I parse WSDL files? I need to generate a common XML file, which can be used to integrate two different applications (say for example, one is J2EE and another is .NET application ). I need to transfer messages from J2EE to .NET. What files should be generated (in the form of XML) to achieve this task? Note: I do not want to use any Web server to achieve this task (i.e. there should not be any middle Web server in between J2EE and .NET applications).

>
EXPERT RESPONSE

Because you are talking about WSDL, I assume you also intend to use SOAP rather than just plain old XML. Most SOAP frameworks include a utility that parses WSDL and generates client stub and server skeleton code. This generated code automatically serializes your native language types into XML and packages it into a SOAP message. Your application typically doesn't need to work with XML directly. In .NET the utility is called wsdl.exe. In Java, the name of the tool is dependent on the framework you're using, but it's often called wsdl2java, wsgen, or wscompile.

If you prefer, most frameworks also allow you to construct your own XML structures using DOM, SAX, or (in Java) StAX or using an XML binding framework, such as JAXB or XMLBeans.

In no circumstances is it necessary to put an additional web server in between the Java and .NET applications. Both applications are natively speaking XML, and no intermediary is required (unless you want to use one). Keep in mind, though, that the SOAP messages (or plain old XML messages for that matter) are transferred using HTTP, which implies that the Java and .NET applications are both hosted by their respective HTTP servers.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
SOA governance and standards
UDDI clients and UDDI implementations
Creating an enterprise data dictionary
Hard vs. live real time systems
Service contract tools
Open source UDDI tools
SOA policy management
Service reuse rules
WSDM lagging behind WS-Management
The status of JBI
WSDL 1.1 vs. WSDL 2.0

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2001 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts