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.
1. Create web application with "Visual Web JSF" framework. 2. Add Button and Static Text components to the page. 3. Rightclick Static Text component and choose "Add Binding Attributes". 4. Expand "Web Services > StrikeIron > USAddressVerification" node. 5. DnD "Web Services > StrikeIron > USAddressVerification > VerifyAddressUSA" web service method to the page. 6. Double click Button component and add following event handler (I've got it from NetBeans 6.0 tutorial): " USAddressVerificationSoapVerifyAddressUSA bean = this.getUSAddressVerificationSoapVerifyAddressUSA1(); bean.setUserID("<StrikeIronUserID>"); bean.setPassword("<StrikeIronUserPassword>"); bean.setAddressLine1("2520 Meridian Parkway"); bean.setAddressLine2(""); bean.setCityStateZip("Durham, NC 27713"); staticText1.setText(bean.invokeMethod().getAddressStatus()); " 7. Deploy project. Load application in browser and click button. Result: Message "HTTP Status 500" appears in browser and NullPointerException is thrown by GlassFish.
Created attachment 58188 [details] Deployed application.
Created attachment 58189 [details] GlassFish log file.
Created attachment 58190 [details] IDE log file.
I tried testing the method using the parameters in the description, and I got the following exception. It looks like the license has expired, so the application will not work. Invalid license account: Remaining hits used up already com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:187) com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108) com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:254) com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224) com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117) $Proxy87.verifyAddressUSA(Unknown Source) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.netbeans.modules.websvc.saas.ui.wizards.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:733) org.netbeans.modules.websvc.saas.ui.wizards.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:703) java.lang.Thread.run(Thread.java:619)
Fixed.
Verified.