OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-interop message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: WSDL4J Testing


I'm using WSDL4J 1.6.2, and this is working for me, can you try it?
        final Definition wsdlDef = 
reader.readWSDL("http://wsrp.bea.com:7001/producer/producer?WSDL";);
        System.out.println(wsdlDef.getAllServices().keySet());


Thanks,

 Nate


package com.bea.wsdl;
import javax.wsdl.Definition;
import javax.wsdl.factory.WSDLFactory;
import javax.wsdl.xml.WSDLReader;
public class WsdlTest {
    public static void main(String[] args) throws Exception {
        final WSDLFactory wsdlFactory = WSDLFactory.newInstance();
        final WSDLReader reader = wsdlFactory.newWSDLReader();
        reader.setFeature("javax.wsdl.verbose", false);
        final Definition wsdlDef = 
reader.readWSDL("http://wsrp.bea.com:7001/producer/producer?WSDL";);
        System.out.println(wsdlDef.getAllServices().keySet());
    }
}

Notice:  This email message, together with any attachments, may contain information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,  copyrighted  and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]