File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes WSDL implementation file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL implementation file" Watch "WSDL implementation file" New topic

WSDL implementation file

Sandeep Lakshmipathy
Ranch Hand

Joined: Mar 05, 2002
Posts: 31
dear friends
I want to check if the user has entered a wsdl implementation file uri or an interface file uri. I am currently doing it using the checking for service tag. Is there any other way or method to do the same?

Sandeep Lakshmipathy
Roy Huang
Ranch Hand

Joined: Nov 21, 2001
Posts: 104
you can use the WSDL4j.jar files. searching from the IBM developerworks to get this jar file.
I get it from the WSTK2.4's affiliated class files, it is in teh folder.
In this API, they have a WSDLDocument object and
a WSDLDocumentIdentifier to solve this problem.
for the code:

{ this.wsdl =new WSDLDocument(new URL(wsdlurl));
{System.out.println("The WSDL File is a
complete WSDL");
else if
{System.out.println("The WSDL File is a Implementation WSDL");

System.out.println("Its WSDL interface
file is from:"+(this.wsdl.getImports())



SCJP 1.4/SCBCD/SCWCD<br />MCSE<br />IBM professional XML Developer<br />SAP certified Development Consultant (NetWeaver portal and Web JavaApplication)
I agree. Here's the link:
subject: WSDL implementation file
jQuery in Action, 3rd edition