Error Generating Artifacts For The Following Wsdl Netbeans
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Java Web Service in Glassfish with https up vote 0 down vote favorite I'm trying to deploy a web service in Glassfish 3.1 which works with http and https. It works fine in http but when trying in https it says Error generating artifacts for the following WSDL https://*.:8181/UserWebService/UserWebService?WSDL Possible causes can be invoking https when the application is not configured for security The server log says: Invalid request scheme for Endpoint UserWebService. Expected http . Received https Failed to parse metadata returned from server at .... [ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s): At least one WSDL with at least one service definition needs to be provided. Failed to parse the WSDL. As I said, it works perfectly through http but it fails with https. What is wrong? Should I change anything in my NetBeans project? Thanks! java web-services netbeans https share|improve this question asked Jun 20 '12 at 14:47 Ibai 263419 Is your server configured to support SSL? –Ravi Jun 20 '12 at 15:19 Yes, I followed this tutorial: javadude.wordpress.com/2010/04/06/… and when opening the index page it shows the "lock" correctly. –Ibai Jun 20 '12 at 15:21 Is your WSDL accessible over https ? Also do the service URL contains https ? –Santosh Jun 20 '12 at 15:26 I think it's not accssible, Santosh, it returns a "blank" page. How can I make it accessible? –Ibai Jun 20 '12 at 15:34 1 You can find solution here: stackoverflow.com/questions/8882056/… –Mephysto Jul
EE Users View previous topic :: View next topic Author Message arthurbulivaJoined: 22 Oct 2008Posts: 22Location: Nairobi Posted: Fri Aug 19, 2011 5:13 pm Post subject: WsImport Error NetBeans 7.0.1, Glassfish 3.1.1 Linux and a tutorial. It works flawlessly, thanks. Problem comes when I deploy to production server, Windows 2008 Glassfish 3.1.1. The tester URL now complains that Code: Error generating artifacts for the following WSDL http://41.203.219.74:90/USSD/USSD?WSDL Possible causes can be invoking https when the http://stackoverflow.com/questions/11122143/java-web-service-in-glassfish-with-https application is not configured for security What could I be missing?[/code] Back to top msreekanthJoined: 23 Oct 2008Posts: 17Location: Bangalore Posted: Wed Sep 21, 2011 6:52 am Post subject: Are you sure you have not introduced any security to your webservices by mistake.If possible post your wsdl here Back to top arthurbulivaJoined: 22 Oct 2008Posts: 22Location: Nairobi Posted: http://forums.netbeans.org/topic41733.html Thu Sep 22, 2011 9:22 am Post subject: Just to be sure, I have undeployed the app and recreated a new one, which I have tested on Linux and it works fine. The same error occurs on Windows. Is glassfish on Windows problematic? Back to top msreekanthJoined: 23 Oct 2008Posts: 17Location: Bangalore Posted: Thu Sep 22, 2011 9:57 am Post subject: If possible can you share that netbeans project.I dont think there should be some issue with windows. Back to top arthurbulivaJoined: 22 Oct 2008Posts: 22Location: Nairobi Posted: Thu Sep 22, 2011 10:06 am Post subject: The only method in my service is this: Code: /** * Web service operation */ @WebMethod(operationName = "getUSSDResponse") public String getUSSDResponse(@WebParam(name = "MSISDN") final String MSISDN, @WebParam(name = "USSD_STRING") final String USSD_STRING) { String logMessage = String.format("[USSD IN] [%s] [%s]", MSISDN, USSD_STRING); Logger.getLogger(wapewe.class.getName()).log(Level.INFO, logMessage); String response = "END This service is st
Speaker BureauLog inRegisterSearchSearchCancelError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type https://community.oracle.com/thread/2470790 your message and try again. More discussions in Java Technologies for Web Services All PlacesJavaJava EE (Java Enterprise Edition)Java Technologies for Web Services This discussion is archived 1 Reply Latest reply on Nov 29, http://www.codeproject.com/Questions/519935/GettingplusanpluserrorplusforplusJavaplusWebplusSe 2012 8:57 AM by Kayaman Getting error While testing Web Service deployed Glassfish using Net beans. Ajay Sharma Nov 29, 2012 8:46 AM Hi, I created a web service in netbeans. I deployed error generating it on glassfish server too. My web service contains one method which return type is Document. Here is my web service class code. @WebService(serviceName = "DocumentTest") @Stateless() public class DocumentTest { /** * This is a sample web service operation */ @WebMethod(operationName = "hello") public String hello(@WebParam(name = "name") String txt) { return "Hello " + txt + " !"; } error generating artifacts @WebMethod public Document getDocument(){ Document doc = null; return doc; } }After Deployment when I m testing the web service I am getting follwoing error on Browser Error generating artifacts for the following WSDL http://localhost:8093/DocumentTest/DocumentTest?WSDL Possible causes can be invoking https when the application is not configured for securityI am just testing whether I can send Document object or not. Regards, Ajay Sharma Edited by: Ajay Sharma on Nov 27, 2012 12:37 PM Edited by: Ajay Sharma on Nov 29, 2012 2:16 PM I have the same question Show 0 Likes(0) 941Views Tags: none (add) This content has been marked as final. Show 1 reply 1. Re: Getting error While testing Web Service deployed Glassfish using Net beans. Kayaman Nov 29, 2012 8:57 AM (in response to Ajay Sharma) Ajay Sharma wrote: I am just testing whether I can send Document object or not.An XML document? Wouldn't that be a really ridiculous web service? Like Show 0 Likes(0) Actions Actions Powered byAbout Oracle Technology Network (OTN)Oracle Communities DirectoryFAQAbout OracleOracle and SunRSS FeedsSubscribeCareersContact UsSite MapsLegal NoticesTerms of UseYour Privacy Rights© 2007-2016 Jive Software | Powered by Home | Top of pageJive Software Version: 8.0.3.1 , revision: 20160414082626.1619a91.release_8.0.3.x
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question View Unanswered Questions View All Questions... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ Getting an error for Java Web Service Rate this: Please Sign up or sign in to vote. See more: Java Hello, I got this error while testing the web Service. " Error generating artifacts for the following WSDL http://localhost:8080/DBConnection/DBConnection?WSDL Possible causes can be invoking https when the application is not configured for security. " Please help out this problem. Posted 1-Jan-13 21:54pm Sushant Mandhare657 Add a Solution Add your solution here B I U S small BIG code Plain TextC++CSSC#Delphi / PascalF#HTML / XML / ASPJavaJavascriptObjective-CSQLPerlPHPPythonVBXMLvar < > & link [^] encode untab case indent outdent OK Paste as Strip HTML Encode HTML Paste as-is Code block Quoted Text Best guess To display as The content must be at least 30 characters. Treat my content as plain text, not as HTML Preview 0 … Existing Members Sign in to you