| Summary: | Unable to open a WSDL provided via URL in web services explorer | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Webservices | Reporter: | Bill Klish <bkbugzilla> | ||||
| Component: | wst.ws | Assignee: | Chris Brealey <cbrealey> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Chris Brealey <cbrealey> | ||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | gilberta, wxu | ||||
| Version: | 1.5 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Bill Klish
Chris, could you please take a look? Thanks. Bill, which JRE or JDK are you using? The WSE has been known to get upset about the Crimson parser in J2SE 1.4.2, and in a way I'm reminded of by the symptom you described. If you download a copy of the WSDL into your workspace and try to load that instead of the original ...?WSDL, do you get any different behaviour? Do you have a WSDL document you can attach to this bug for us to try? Thanks - CB. We have wsdl file and generated by Weblogic. The part content is following. <?xml version="1.0" encoding="UTF-8"?> <definitions name="BookFinderServiceDefinitions" targetNamespace="http://com/vitria/hellowstutorial" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s0="http://www.w3.org/2001/XMLSchema" xmlns:s1="http://com/vitria/hellowstutorial" xmlns="http://schemas.xmlsoap.org/wsdl/"> <types> </types> <message name="lookupResponse"> <part name="lookupReturn" type="s0:string"/> </message> <message name="lookup"> <part name="lookup_ParamA" type="s0:string"/> <part name="lookup_ParamB" type="s0:string"/> </message> <portType name="BookFinder"> <operation name="lookup" parameterOrder="lookup_ParamA lookup_ParamB"> <input message="s1:lookup"/> <output message="s1:lookupResponse"/> </operation> </portType> <binding name="BookFinderServiceSoapBinding" type="s1:BookFinder"> <s2:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="lookup"> <s2:operation soapAction="" style="rpc"/> <input> <s2:body parts="lookup_ParamA lookup_ParamB" use="literal" namespace="http://com/vitria/hellowstutorial"/> </input> <output> <s2:body parts="lookupReturn" use="literal" namespace="http://com/vitria/hellowstutorial"/> </output> </operation> </binding> <service name="BookFinderService"> <port name="BookFinderSoapPort" binding="s1:BookFinderServiceSoapBinding"> <s2:address location="http://localhost:7001/HelloWebServicesApplication/HelloWebServices_MainIM_ServiceProxy/BookFinder"/> </port> </service> </definitions> When I open the url (http://pek-wkst220.qilinsoftcorp.qilinsoft.com:8080/eProxy/service/BookFinderSoapPort_Proxy?wsdl <http://pek-wkst220.qilinsoftcorp.qilinsoft.com:8080/eProxy/service/BookFinderSoapPort_Proxy?wsdl> <http://pek-wkst220.qilinsoftcorp.qilinsoft.com:8080/eProxy/service/BookFinderSoapPort_Proxy?wsdl <http://pek-wkst220.qilinsoftcorp.qilinsoft.com:8080/eProxy/service/BookFinderSoapPort_Proxy?wsdl> > on my system) in the Web Services Explorer, click "lookup" item on left navigate window, then there will appear an white page without any component on page. We have wsdl file and generated by Weblogic. The part content is following. <?xml version="1.0" encoding="UTF-8"?> <definitions name="BookFinderServiceDefinitions" targetNamespace="http://com/vitria/hellowstutorial" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s0="http://www.w3.org/2001/XMLSchema" xmlns:s1="http://com/vitria/hellowstutorial" xmlns="http://schemas.xmlsoap.org/wsdl/"> <types> </types> <message name="lookupResponse"> <part name="lookupReturn" type="s0:string"/> </message> <message name="lookup"> <part name="lookup_ParamA" type="s0:string"/> <part name="lookup_ParamB" type="s0:string"/> </message> <portType name="BookFinder"> <operation name="lookup" parameterOrder="lookup_ParamA lookup_ParamB"> <input message="s1:lookup"/> <output message="s1:lookupResponse"/> </operation> </portType> <binding name="BookFinderServiceSoapBinding" type="s1:BookFinder"> <s2:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="lookup"> <s2:operation soapAction="" style="rpc"/> <input> <s2:body parts="lookup_ParamA lookup_ParamB" use="literal" namespace="http://com/vitria/hellowstutorial"/> </input> <output> <s2:body parts="lookupReturn" use="literal" namespace="http://com/vitria/hellowstutorial"/> </output> </operation> </binding> <service name="BookFinderService"> <port name="BookFinderSoapPort" binding="s1:BookFinderServiceSoapBinding"> <s2:address location="http://localhost:7001/HelloWebServicesApplication/HelloWebServices_MainIM_ServiceProxy/BookFinder"/> </port> </service> </definitions> When I open the url (http://pek-wkst220.qilinsoftcorp.qilinsoft.com:8080/eProxy/service/BookFinderSoapPort_Proxy?wsdl <http://pek-wkst220.qilinsoftcorp.qilinsoft.com:8080/eProxy/service/BookFinderSoapPort_Proxy?wsdl> <http://pek-wkst220.qilinsoftcorp.qilinsoft.com:8080/eProxy/service/BookFinderSoapPort_Proxy?wsdl <http://pek-wkst220.qilinsoftcorp.qilinsoft.com:8080/eProxy/service/BookFinderSoapPort_Proxy?wsdl> > on my system) in the Web Services Explorer, click "lookup" item on left navigate window, then there will appear an white page without any component on page. we are also having similar issue and check if there is any workaround. We have wsdl file and generated by Weblogic. The part content is following. <?xml version="1.0" encoding="UTF-8"?> <definitions name="BookFinderServiceDefinitions" targetNamespace="http://com/vitria/hellowstutorial" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s0="http://www.w3.org/2001/XMLSchema" xmlns:s1="http://com/vitria/hellowstutorial" xmlns="http://schemas.xmlsoap.org/wsdl/"> <types> </types> <message name="lookupResponse"> <part name="lookupReturn" type="s0:string"/> </message> <message name="lookup"> <part name="lookup_ParamA" type="s0:string"/> <part name="lookup_ParamB" type="s0:string"/> </message> <portType name="BookFinder"> <operation name="lookup" parameterOrder="lookup_ParamA lookup_ParamB"> <input message="s1:lookup"/> <output message="s1:lookupResponse"/> </operation> </portType> <binding name="BookFinderServiceSoapBinding" type="s1:BookFinder"> <s2:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="lookup"> <s2:operation soapAction="" style="rpc"/> <input> <s2:body parts="lookup_ParamA lookup_ParamB" use="literal" namespace="http://com/vitria/hellowstutorial"/> </input> <output> <s2:body parts="lookupReturn" use="literal" namespace="http://com/vitria/hellowstutorial"/> </output> </operation> </binding> <service name="BookFinderService"> <port name="BookFinderSoapPort" binding="s1:BookFinderServiceSoapBinding"> <s2:address location="http://localhost:7001/HelloWebServicesApplication/HelloWebServices_MainIM_ServiceProxy/BookFinder"/> </port> </service> </definitions> When I open the url (http://pek-wkst220.qilinsoftcorp.qilinsoft.com:8080/eProxy/service/BookFinderSoapPort_Proxy?wsdl <http://pek-wkst220.qilinsoftcorp.qilinsoft.com:8080/eProxy/service/BookFinderSoapPort_Proxy?wsdl> <http://pek-wkst220.qilinsoftcorp.qilinsoft.com:8080/eProxy/service/BookFinderSoapPort_Proxy?wsdl <http://pek-wkst220.qilinsoftcorp.qilinsoft.com:8080/eProxy/service/BookFinderSoapPort_Proxy?wsdl> > on my system) in the Web Services Explorer, click "lookup" item on left navigate window, then there will appear an white page without any component on page. Created attachment 66872 [details]
Screenshot of WSE after clicking on the "lookup" operation
Xu, your last three comments look very similar to each other, so I'm not sure if I'm missing any key differences between them. In any event, I copied the WSDL from your comment into a WSDL file in WTP 1.5.4, then opened it in the Web Services Explorer. Clicking on the WSDL's "lookup" operation results for me in what looks like a correct input form. Please have a look at this screenshot and let me know if you're getting something different in the Actions pane. Would you please also retry your scenario using WTP 1.5.4?
please try this wsdl, it is the wsdl get the problem, thank you <?xml version="1.0" encoding="UTF-8"?> <definitions name="BookFinderServiceDefinitions" targetNamespace="http://com/vitria/hellowstutorial" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="http://www.w3.org/2001/XMLSchema" xmlns:s1="http://com/vitria/hellowstutorial" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/"> <types> </types> <message name="lookupResponse"> <part name="lookupReturn" type="s0:string"/> </message> <message name="lookup"> <part name="lookup_ParamA" type="s0:string"/> <part name="lookup_ParamB" type="s0:string"/> </message> <portType name="BookFinder"> <operation name="lookup" parameterOrder="lookup_ParamA lookup_ParamB"> <input message="s1:lookup"/> <output message="s1:lookupResponse"/> </operation> </portType> <binding name="BookFinderServiceSoapBinding" type="s1:BookFinder"> <s2:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="lookup"> <s2:operation soapAction="" style="rpc"/> <input> <s2:body namespace="http://com/vitria/hellowstutorial" parts="lookup_ParamA lookup_ParamB" use="literal"/> </input> <output> <s2:body namespace="http://com/vitria/hellowstutorial" parts="lookupReturn" use="literal"/> </output> </operation> </binding> <wsdl:service name="BookFinderService" xmlns:apwsdl="urn:com.amberpoint.wsdl" xmlns:e="http://com.amberpoint.messaging/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><wsdl:port binding="s1:BookFinderServiceSoapBinding" name="BookFinderSoapPort"><soap:address location="http://pek-wkst220.qilinsoftcorp.qilinsoft.com:8080/eProxy/service/BookFinderSoapPort_Proxy"/><apwsdl:targetWSDL><apwsdl:URL>http://pek-wkst220.qilinsoftcorp.qilinsoft.com:7001/HelloWebServicesApplication/ServiceProxy.wsdl</apwsdl:URL><apwsdl:agentID>uuid:CB9B8A1C-036F-11DC-B6CD-54C46AA1AA77</apwsdl:agentID><apwsdl:uwsID>uuid:CF9FAC93-0370-11DC-B6CD-54C46AA1AA77</apwsdl:uwsID><apwsdl:uwsLocalname>BookFinderSoapPort_Proxy</apwsdl:uwsLocalname></apwsdl:targetWSDL></wsdl:port></wsdl:service></definitions> Thanks - I've reproduced the problem, and found that specifically changing "soap:address" to "s2:address", thus referring to the namespace prefix defined on the <definitions> element instead of the <service> element, works around the issue. This is a duplicate of bug 175842. The problem is in WSDL4J. *** This bug has been marked as a duplicate of bug 175842 *** Please take a moment to verify and close WTP defects using WTP 2.0 RC1: http://download.eclipse.org/webtools/downloads/drops/R2.0/S-2.0RC1-200705250432/ We are closing down the WTP 2.0 release pretty soon, please verify these defects with the latest WTP 2.0 build. The WTP 2.0 RC2 driver is available at: http://download.eclipse.org/webtools/downloads/drops/R2.0/S-2.0RC2-200706050057/ Closed as duplicate on behalf of submitter. |