Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 175842 - Unsupported Binding in Web Service Explorer
Summary: Unsupported Binding in Web Service Explorer
Status: CLOSED DUPLICATE of bug 198390
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: wst.ws (show other bugs)
Version: 1.5.3   Edit
Hardware: PC Windows XP
: P3 major with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Gilbert Andrews CLA
QA Contact: Chris Brealey CLA
URL:
Whiteboard:
Keywords:
: 164245 (view as bug list)
Depends on: 197197
Blocks:
  Show dependency tree
 
Reported: 2007-02-28 09:55 EST by Hristo Sabev CLA
Modified: 2008-06-11 16:11 EDT (History)
5 users (show)

See Also:


Attachments
example WSDL Reported Wrong (1.96 KB, application/octet-stream)
2007-02-28 09:58 EST, Hristo Sabev CLA
no flags Details
EJB 3.0 Top-Down implementation for the wsdl reported wrong. (8.43 KB, application/x-zip-compressed)
2007-02-28 10:01 EST, Hristo Sabev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hristo Sabev CLA 2007-02-28 09:55:00 EST
Hi Colleagues,

For some reason Web Service Explorer is not able to execute methods of jee5 web services. It reports that the binding declared in such WSDL is unsupported. Pressing an operation in order to get it executed does nothing. No error message - just white screen.

I'm attacing an example WSDL of an "echo" Web Service which is reported wrong by WS Explorer. Also I'm attaaching a small EJB 3.0 top-down implementation for this web service. In the same time the WSDL editor says that this is correct WSDL.

Regards,
Hristo
Comment 1 Hristo Sabev CLA 2007-02-28 09:58:05 EST
Created attachment 59982 [details]
example WSDL Reported Wrong
Comment 2 Hristo Sabev CLA 2007-02-28 10:01:13 EST
Created attachment 59984 [details]
EJB 3.0 Top-Down implementation for the wsdl reported wrong.

Sources are inside the ear archive.
Comment 3 Chris Brealey CLA 2007-03-15 11:21:13 EDT
Hristo,
it turns this is not a Java EE 5 issue. Instead, the WSE is having trouble recognizing the xmlns:soap namespace declarations on the <wsdl:binding> and/or <soap:address> elements. Adding the declaration xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" to the <wsdl:definitions> element works around the problem. You might want to try this just to make sure there are no other actual Java EE 5 message exchange issues lurking. Meanwhile, we'll try to investigate this for 1.5.4.

Gil,
would you please?
Comment 4 Gilbert Andrews CLA 2007-04-17 12:49:43 EDT
Ok this looks like a bug in wsdl4j. John Kaputin has informed me that he thinks this is fixed in the latest version of wsdl4j. Im not sure what version we are using right now I am trying to track this down.
Comment 5 Gilbert Andrews CLA 2007-04-18 03:02:18 EDT
Ok so we have found a problem in the wsdl4j we arent sure if it will be updated for 1.54 in fact tis most likely not. 

So we could do a translation in our code but it might be a bit tricky alot of work and a chance at causing breakage. Im wondering if this might be better delayed to the next release depending on its importance. 
Comment 6 Chris Brealey CLA 2007-04-18 09:03:55 EDT
Hristo,
from Gil's analysis and determination the problem is in the WSDL4J third party library, we don't have an obvious and safe solution to this, and yet it seems like a potentially nasty bug. Is the fact you opened this at "normal" severity a true reflection that this not a serious issue for you? More to the point, can we defer this to a later release?
Comment 7 Chris Brealey CLA 2007-04-25 11:57:44 EDT
Deferred out of WTP 1.5.4. I'm not sure when we can/should/must tackle this - WTP 2.0 or 3.0 - since this boils down to upgrading WSDL4J which will have potential impacts on several downstream components, not just the Web service tools and this scenario.

Valentin, do you have a bug or RFE brewing to update WSDL4J we should tie ourselves to?
Comment 8 Valentin Baciu CLA 2007-04-25 12:57:21 EDT
Hi Chris, I have the feeling it may be too late for 2.0 as well since we're in RC0 and I have not seen yet the plans for 3.0. There are a few bugs - this https://bugs.eclipse.org/bugs/show_bug.cgi?id=167416 one being an example - asking for newer WSDL4J versions for various reasons. We do not yet have an RFE dedicated to the upgrade.
Comment 9 Hristo Sabev CLA 2007-05-15 11:12:04 EDT
Hi,

It's not critical for 1.5.*, but it would really be pitty if we don't get it in wtp 2.0. This would mean that almost no SAP web services can be consumed using Web Services Explorer

So the priority is higher than normal. So I'm setting it to major. From my point of view it's critical for Developers using SAP NetWeaver Developer Studio (based on eclipse)

Regards,
Hristo

Comment 10 Chris Brealey CLA 2007-05-16 11:08:12 EDT
*** Bug 164245 has been marked as a duplicate of this bug. ***
Comment 11 zhiliang chen CLA 2007-06-19 02:39:13 EDT
I just try below wsdl with WTP2.0, the webservice explorer version is 1.0.204 v200706030435, the result is failed, can't invoke the method

the wsdl is :

<?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>
Comment 12 Kathy Chan CLA 2007-07-19 16:22:04 EDT
Hi Valentin and Craig,

I've opened bug 197197 to track the requirement to upgrade to the latest WSDL4J.  Would it be possible to fix that in WTP 3.0?

Gil,

Could you please find out which version of WSDL4J would have this problem fixed so that we make sure that that version or a later one is picked up in bug 197197?
Comment 13 Valentin Baciu CLA 2008-01-14 13:46:02 EST
This may actually be caused by the WSDL EMF model. The WSE appears to be using the WSDL EMF model and not WSDL4J. Both these components implement the JWSDL interfaces. See bug 198390 for a fix that seems to address this.
Comment 14 Kathy Chan CLA 2008-01-16 11:36:23 EST
This bug is a dup of 198390 which has been fixed in WTP 2.0.2.

*** This bug has been marked as a duplicate of bug 198390 ***
Comment 15 Kathy Chan CLA 2008-02-28 14:10:23 EST
Please verify the defect you originated with a recent WTP driver which could be found in:

http://download.eclipse.org/webtools/downloads/

If defects in resolved state is not verified within a couple of weeks, the development team might verify and close the defect on the originator's behalf.  Thank you for your attention!

Comment 16 Kathy Chan CLA 2008-06-11 16:11:41 EDT
Bug cleanup.  Closing on behalf of the originator.