This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 137747 - Call WS Op in Appclient creates uncompillable code
Summary: Call WS Op in Appclient creates uncompillable code
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Client (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on: 137430
Blocks:
  Show dependency tree
 
Reported: 2008-06-19 17:11 UTC by Jaroslav Pospisil
Modified: 2008-06-23 13:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2008-06-19 17:11:15 UTC
Build 200806190009,JDK1.6.0_05, Win Vista

Create ws client in Appclient from this URL:http://www.esynaps.com/WebServices/SearchWS.asmx?WSDL
Call ws op in Main class - code you get is uncompillable.
This issue depends on issue 137430.

public class Main {
    @WebServiceRef(wsdlLocation = /*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */)private static WebSearchWS service;

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        try { // Call Web Service Operation
            org.tempuri.WebSearchWSSoap port = service.getWebSearchWSSoap();
            // TODO initialize WS operation arguments here
            java.lang.String keyWord = "";
            // TODO process result here
            java.lang.String result = port.search(keyWord);
            System.out.println("Result = "+result);
        } catch (Exception ex) {
            // TODO handle custom exceptions here
        }
 // TODO code application logic here
    }

}
Comment 1 Jaroslav Pospisil 2008-06-19 17:25:09 UTC
Surprisingly - if I use the same URL to create client in java application, it works normally.
Comment 2 Jaroslav Pospisil 2008-06-19 17:33:25 UTC
Again - issue is reproducible also in EJB module.
Comment 3 Jaroslav Pospisil 2008-06-23 13:28:22 UTC
Not reproducible in 200806230002. Depending issue is fixed.Considered fixed too.
Comment 4 Jaroslav Pospisil 2008-06-23 13:28:46 UTC
v.