After adding web service client to my web project , I created a new java class.
Right click on the editor pop-up the menu which allows me to click on "Web
Service Client Resources".However the "Call Web Service Operation" is disabled.
A couple of things: First, the operation is only currently valid within the
scope of an existing method. So make sure that you are right clicking inside a
method body, or it will be disabled. (We could enhance this, but I'm not sure
there is time.)
Second, the first time the menu item is invoked, especially if not much other
webservice activity has occurred within this IDE session, lazy
enabling/disabling of the menu combined with lazy loading of dependent code can
cause a brief delay the first time. Second and later times should be better.
Please check to see if you are encountering any of the above behavior. If not,
I need more details, such as does this happen in any type of source file, any
location within that source file, any service, etc.
Project webApplication1 is attached.I'll describe the current situation:
Open java source file NewClass (reside at default package).
Under the mehod sample , right click the pop-up menu appears,selecting web
Services client Resources.Now the operation "call web service operation" is
enabled. The "Select Operation to Invoke" menu is opened and I picked the
"DOTSGeoPhone" web service and the getPhoneinfo method. Nothing happend. There
is no generated code (I wait for more then 1 minute).I could not notice any CPU
activity either. However, after 2 minutes I tried the same scenario again but
the "Select Operation to Invoke" menu did not appear and the IDE was stuck (I
need to stop the IDE task from the winodw's task manager)
*** This issue has been marked as a duplicate of 57202 ***