Web Service 1 « netbeans « Java Enterprise Q&A





1. Java, NetBean : Access web.xml context parameters from Web Service method?    stackoverflow.com

I am new to java so excuse my lame questions:) I am trying to build a web service in Java NetBeans 6.1 , but I have some troubles with configuration parameters ...

2. Netbeans and .NET web services    stackoverflow.com

I'm not an experienced java developer so any comment will be welcomed ... I've written a web service using c# and I wanted to consume this service from java - used Netbeans ...

3. Web Service Return Type    stackoverflow.com

what are the possible return types for a web service? I am using NetBeans 6.7.1 and working in Java. I want to make a web service that would return String[]... I made ...

4. Change WebService endpoint address at run time    stackoverflow.com

I used Netbeans to generate Web Sevice client code from WSDL url. But I can't change endpoint address at run time using code. Please help me to solve that problem!

5. How to embed images in email content using Webservice using java in Netbeans IDE?    stackoverflow.com

I want a webservice method() coding in java, that should display images in email as content.The user will upload any kind of images and mail it.Now am able to mail text ...

6. java web services    stackoverflow.com

I am new to java web services and I want to ask about the following I would like to build a web services for existing web page (existing in the internet I ...

7. How to create webService using NetBeans IDE?    stackoverflow.com

I am very much new to java.I need to create simple web service using NetBeans IDE. How to create it?

8. How can i pass web service credentials from java to asmx web service?    stackoverflow.com

I generated web service client code from eclipse and netbeans. But this service has a service credentials. But I don't know how i can pass this username and password. Netbeans creates ...

9. how to visualize a tree from datamining in Java, as a web service    stackoverflow.com

Hey guys I am trying to make a web service to visualize classification results of data mining. I have been able to make a web service where, when I input a ...





10. BPEL in netbeans 6.9.1 composing web services    stackoverflow.com

I believe netbeans doesn't support BPEL. Is there a workaround for it, or can you please suggest some other IDE, where I can compose web services together? I have two web services, one ...

11. Converting java application to web service in netbeans    stackoverflow.com

I have recently created a java application(calculator) in netbeans and need to make it into a web service. How do i convert it?

12. How can I use Web Services that have HashMap as parameter or return result in Netbeans?    stackoverflow.com

I have starting to use web services in Netbeans as it says here: http://netbeans.org/kb/docs/websvc/jax-ws.html Tha problem is that I can not use HashMap as parameter or return parameter. How can I do ...

13. Web Services Advise    stackoverflow.com

Looking for some good place to get me started in "Web Services" using java, and preferably with NetBeans?

14. NB 6.5.1 refreshing webserviceclient doesn't refresh the webservice references    forums.netbeans.org

Hi, I have a webserviceclient in a webapp. When I try to refresh the client by right clicking, the node doesn't show the newly added webservice operations from the webservice project. ...

15. Examples for complex objects as result in webservice with netbeans wanted    forums.netbeans.org

itreppert, If you use NetBeans 6.5, these tutorials are http://www.netbeans.org/kb/docs/websvc/rest.html http://www.netbeans.org/kb/docs/websvc-jax-ws.html However, I assume you mean something beyond the kind of simple services in those examples. When you say "complex objects," ...

16. Problem with @WebService annotation    forums.netbeans.org

Hi I've come across what I think is a problem - does anyone have a workaround?... In nb 6.5.1 I've imported a WSDL which generates an annotation like this:





17. Screencast #WS2: Invoking a Web service using NetBeans IDE    forums.netbeans.org

Some how the original problem statement was cut off. It should have said: This web cast contained just the information I needed. However, when I apply the command line client example ...

18. Webserviceclient doesn't update changed webservice ...... $%&%$ please help    forums.netbeans.org

Posted: Wed Apr 22, 2009 12:02 pm Post subject: Webserviceclient doesn't update changed webservice ...... $%&%$ please help Hi there, can anyone give me a hint: I have ...

19. Junit and test beans for web services.    forums.netbeans.org

sciacallo Joined: 15 Apr 2009 Posts: 2 Posted: Mon Apr 27, 2009 9:56 am Post subject: Junit and test beans for web services. Dear All, is there a ...

20. NetBean 6.5.1 Tester-Page not displaying secured webservice    forums.netbeans.org

hi, my name is dare, pls i have a little problem with netbean6.5.1 in that whenever i develop a webservice and apply security attributes, on the teat page it does not ...

21. Fetching data from webservice onto a Applet.    forums.netbeans.org

I have a web service running and fetching data.I was also able to integrate it into my applet.A glimpse of a webservice method that fetches database names is: try { // ...

22. Problem printing in web service application from server    forums.netbeans.org

jeffreehy Joined: 21 May 2009 Posts: 1 Posted: Thu May 21, 2009 4:56 pm Post subject: Problem printing in web service application from server Hi all, I develop ...

23. Call authenticated web service from NB 6.5    forums.netbeans.org

Hi. I am trying to call a web service that requires HTTP authentication from Netbeans 6.5. How do I enter my user credentials in the IDE or code so that it ...

24. simulator and web service    forums.netbeans.org

this is really my first time to know about RIFIDI. i have a project which concerns about Forecasting(actually the title is WEATHER FORECASTING USING WEB SERVICE). and i guess it needs ...

25. Metro, web services, and the actual XML that is generated    forums.netbeans.org

Hi, I am actually dealing with more than one company that I suspect is pitching a web service but is actually struggling with it. In order to guard my position, I ...

26. Cycle reference in web services    forums.netbeans.org

Hi all, I have a Task object that has also a set of Task in a one to many relationships. The problem is that when I call the webservices generated by ...

27. NB platform Web service module library problems Metro libraries    forums.netbeans.org

javadev Joined: 01 Jul 2009 Posts: 34 Posted: Wed Jul 01, 2009 3:57 pm Post subject: NB platform Web service module library problems Metro libraries Hi all. I ...

28. Need Help on using netbeans 6.5.1+webservice+mobile application    forums.netbeans.org

Hi All, i am new to this forum, i need help to use netbeans,... i am developing a mobile application using Netbeans ,java ME and the device we use is Nokia ...

29. Trying to consume a web service with netbeans 6.7    forums.netbeans.org

Posted: Tue Jul 21, 2009 7:38 pm Post subject: Trying to consume a web service with netbeans 6.7 Hello, iam new to netbeans 6.7. Been working for 2 ...

30. NB 6.7.1 : Where is the node "Web Service References" ?    forums.netbeans.org

Hi, after switching from NB 6.5.1 to 6.7.1 all projects with a webservice client have not any longer the node "Web Service References". Instead there is only a grey shaded node ...

31. Web services exception    forums.netbeans.org

I created a web service in NetBeans 6.5. Then I created a web service client, and when I call any of the methods from the web service I get the following ...

32. Web services in Netbeans 6.7.1    forums.netbeans.org

Hi! I have a problem with web services in Netbeans 6.7.1 I create a simple project with 1 web service and 1 operation I compile it and deploy it to weblogic ...

33. problems calling a java class from within a webservice.. netbeans is not recognizing class    forums.netbeans.org

Posted: Mon Aug 10, 2009 7:50 am Post subject: problems calling a java class from within a webservice.. netbeans is not recognizing class Here is my problem. If ...

34. web service does not contain port information    forums.netbeans.org

i'm trying to greate a weather service. i've created this Weather class... package data; public class Weather{ float temperature; String forecast; boolean rain; float howMuchRain; public void setTemperature(float temp){ temperature = ...

35. Could not generate code for StrikeIron web services, need helps    forums.netbeans.org

Hello everybody, I have tried to create a client sample that consumes StrikeIron web services using Netbeans 6.7.1 (latest version). In the sample, I would like to create a button that ...

36. Netbeans 6.7 unable to run web service test from Composite Application, due to CSL library incompatibility?    forums.netbeans.org

fairbairns Joined: 23 Aug 2009 Posts: 3 Posted: Sun Aug 23, 2009 11:46 pm Post subject: Netbeans 6.7 unable to run web service test from Composite Application, due ...

37. classes imported from web service differs from the original ones    forums.netbeans.org

Hi, I have a web application that connects to a web service I made, but some of the imported classes that my application gets from the WS differs from the original ...

38. Secure web services    forums.netbeans.org

I need to implement a secure webservice to be consumed by a java application. I used NetBeans to generate the calculator sample, and modified the code. Now I want go change ...

39. NetBeans 6.7.1 & Web Services in midlets    forums.netbeans.org

Greetings: I am new to NetBeans and I am trying to add a Web Client to my midlet project using a WSDL on my local machine. It does not give any ...

40. Extending webservices    forums.netbeans.org

Hello, maybe it's not exactly a bright question, but is there a way to extend webservice classes? I'd need a whole series of WSs which share certain common services (say a ...

41. Problem with using a WebService    forums.netbeans.org

Hello Community, I've got a little problem with this WebService: http://pegasuspilot.tecdoc.net/pegasus-1-3/ I used NetBeans 6.7 with JAX-WS to generate the stub code for this service out of the wsdl file. I ...

42. WebService with ssl problem    forums.netbeans.org

Hi i have been trying for the good part of a day now to figure out how to deploy my web project to a tomcat / glassfish server. First i tried ...

43. RESful WEb service is not in NetBean plug in    forums.netbeans.org

44. WebService behind Firewall.    forums.netbeans.org

This is not Netbeans specific by I do now know where else to ask so please be patient. I created a web service client from a wsdl locate on a server: ...

45. Netbeans Web Services How to debug correctly?    forums.netbeans.org

Klaus Martinschitz Posted via mailing list. Posted: Sun Oct 18, 2009 9:10 am Post subject: Netbeans Web Services How to debug correctly? Hi! I produced a Web Service ...

46. webservice doesnt find file    forums.netbeans.org

Hy, I have a problem in my webservice application. i get a file in my application this way : File fileXML = new File("canon.xml"); the file is in the project root. ...

47. WebService problem    forums.netbeans.org

Eros Joined: 20 Oct 2009 Posts: 1 Posted: Tue Oct 20, 2009 3:42 pm Post subject: WebService problem I tried to create a web service from a "wsdl" ...

48. TaskList populated via Web Service    forums.netbeans.org

Hi Everybody, I was wondering if it anybody had tried using the Tasklist UI provided in the platform, but had the tasks being populated by a webservice of some description? The ...

49. netbeans 6.5 secure webservice keystore location - ?param maybe?    forums.netbeans.org

The wsit~.xml keystore location is generated from the edit webservice attributes "quality of service tab" keystore location. I deploy to a Glassfish local server (c drive) and Glassfish production server (d ...

50. Netbeans Platform and web services    forums.netbeans.org

Hello, I have been trying to call a web service from a netbeans platform module. I can get it to work as a module, clicking on "run" from my development environment. ...

51. Create webservice at NB 6.7.1    forums.netbeans.org

Posted: Thu Oct 29, 2009 11:18 am Post subject: Create webservice at NB 6.7.1 Hi all. It is a long time since I have developed a web service ...

52. Please help me to build a web service for login authentication.    forums.netbeans.org

I am beginner with Java and I am trying to build a web service for user authentication. I tried to connect the service directly to MySQL database (I use the Connection, ...

53. How to change port of web service?    forums.netbeans.org

Hi, I have a working web application. It runs on liferay on port 9000 (i have change it from 8080). When I add a web service into a web application, the ...

54. Cannot import webservice in Netbeans    forums.netbeans.org

haboegi Joined: 10 Sep 2008 Posts: 1 Posted: Wed Sep 10, 2008 1:41 am Post subject: Cannot import webservice in Netbeans Hello I am developing a distributed computing ...

55. Working WebService stopped after upgrading to NB 6.8    forums.netbeans.org

Hi, I had a working webservice together with a ws-client, that works perfectly in NB 6.7.1. After upgrading to NB 6.8 it crashes at runtime near a 'getPort' call. Saying something ...

56. How to access header part of a web service request    forums.netbeans.org

Hello, I am trying to implement a web service from a wsdl. Every thing is ok with request's body part, but I can't figure out how to access the header part. ...

57. BPEL and Web service    forums.netbeans.org

I was asked to create, with Netbeans, Web service asynchronos written in Java that communicates with a BPEL process content. Is it possible? Can someone help me? give me some examples? ...

58. web service call fails    forums.netbeans.org

I'm trying to call web service but having parsing error: com.sun.xml.internal.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: Content is not allowed in ...

59. Produce javadoc from a class in a webservice    forums.netbeans.org

See Thread at: http://www.techienuggets.com/Detail?tx=112084 Posted on behalf of a User I've got this webservice which I use the stub from in another project. In this project I've also got a class-file ...

60. call .net web service    forums.netbeans.org

Hi There, I'm trying to invoke an asp.net web service functin from a java web service built with netbeans 6.5. the .net web service addedd successfuly through the new >> web ...

61. help with webservices and WAS server    forums.netbeans.org

hello I'm working with a application were I developed some web services and they were uploaded at a glassfish server, evrything was working fine. One co-worker was working at other very ...

62. generated WSIT files contain more than just web service methods    forums.netbeans.org

I have been using Netbeans successfully to generate my WSIT configuration files to secure my web services. However I did notice an oddity that seems to be a bug. In my ...

63. Using certificates in Webservice    forums.netbeans.org

Hi guys, I'm new to Netbeans so please consider this while reading my post. I'm trying to set up da webservice which uses encryption and authentication a certificate. This certificate owns ...

64. Web Service Processing    forums.netbeans.org

I an using the 6.8 IDE running the GlassFish v3 server and have a quesiton about Web Application processing. Hopefully I can explain the condition clreay, but please feel free to ...

66. webservice schema need element(operation param) to generate required    forums.netbeans.org

Java 1.6, Metro 1.0, Netbeans Java to wsdl webservice using jax-ws. In the schema (xsd) file my operation parameter generates minoccur=0. How do I get the parameter to generate required? xsd ...

67. secure web service - trying to test with soapui    forums.netbeans.org

I am nb at working with secure web services. Goal is to test my java to wsdl secure web service in SoapUI. I've created the keystore(.cer and .jks files) using keytool ...

68. How to return multiple values for a web service?    forums.netbeans.org

Hi, I'm using NetBeans 6.8 to create web services. How do we normally create web services that can return multiple values? Is there a method/recommended practice? Please advise. Thank you.

69. Re: How to return multiple values for a web service?    forums.netbeans.org

Hi, I don't know if this is exactly what you mean,but web service can return an array of values or collection. All you have to do is create some operation, with ...

70. WS-I Tools how to test web service    forums.netbeans.org

Hi, I am new to web service. I have created a simple calculator in java as a web service. I have two clients one in JSP and one in .Net. Web ...

71. Web service?    forums.netbeans.org

Hello all, Long story short I recently had a project dropped in my lap. The project is a web service that gathers data from lakes. Essentially I have been given the ...

72. New Web Service    forums.netbeans.org

Hi. I've got a really weird problem that's either me being really dumb or something isn't quite right? I've downloaded and installed the Netbeans 6.7.1 & Java SDK bundle. I've created ...

73. Problem with WebService using NB6.8 and Sun Java System Web Server 7.0    forums.netbeans.org

Posted: Mon May 03, 2010 1:26 pm Post subject: Problem with WebService using NB6.8 and Sun Java System Web Server 7.0 Hello Forum, I have problems creating WebServices ...

74. Webservice with generic methods    forums.netbeans.org

Hi, I would like to make a Web service method such as: @WebMethod public void testGeneric(T data){ However when I try to consume this with a Java client ...

75. Problem consuming secured web service    forums.netbeans.org

Posted: Fri May 28, 2010 4:03 pm Post subject: Problem consuming secured web service I'm trying to build a web services client using Netbeans 6.8, where the web ...

76. Help me to Invoke a web service in Netbeans 6.8?    forums.netbeans.org

I am developing web application using JAVA in netbeans 6.8. In this web application I want to create client web service that is invoking or consuming a web service that was ...

77. [nbj2ee] jax-rpc web service issues with nb68, nb69, and nbDev201006130100    forums.netbeans.org

nb68 still has problem than cannot compile a jax-rpc web-service against gfv3.x; see bug 11872 -- it was declared fixed; but now is broken differently. can create the web service(with nb68); ...

78. jax-rpc web service issues with nb68, nb69, and nbDev201006130100    forums.netbeans.org

nb68 still has problem than cannot compile a jax-rpc web-service against gfv3.x; see bug 11872 -- it was declared fixed; but now is broken differently. can create the web service(with nb68); ...

79. Re: jax-rpc web service issues with nb68, nb69, and nbDev201006130100    forums.netbeans.org

Quote: nb68 still has problem than cannot compile a jax-rpc web-service against gfv3.x; see bug 11872 -- it was declared fixed; but now is broken differently. can create the web service(with ...

80. Web service attempt    forums.netbeans.org

I am using NetBean 6.7 to build client service using Tomcat 6.1.20. Everytime I attempt to build it gives me back the message:

81. Multiple Web Service References?    forums.netbeans.org

I'm writing a web service client with NetBeans, and have imported three web service references from the same package. When I click on each and select "Refresh Client," however, it deletes ...

82. Inheritance in web services interface    forums.netbeans.org

Hi, I'm novice in WEB service so please be indulgent with my question. I just create a new project and import a WSDL, so a JAVA classes have been automatically generated ...

83. How I build a secure web service with ws-security?    forums.netbeans.org

Hello everyone, I am a new member of the forum and I experienced a problem. My problem is this should create a simple web services, also face more than the sum ...

84. how to stop the RESTfull webservice    forums.netbeans.org

hoi i'm testing my RESTful webservice in firefox but everytime when i want to start again to test he give me ... port 8084 already been use i always close my ...

85. java application comunicating with webservices    forums.netbeans.org

Hi, I am a newbie in java development and i want to ask you if following scenario is possible and eventually give me some samples / hints: 1. i have a ...

86. Test webservice parameter ?Tester    forums.netbeans.org

When testing a webservice within Netbeans 6.9 a browser is invoked and an URL is passed to it, formed e.g. like: http://localhost:34102/ToolService/Tool?Tester The browser output doesn't look very thrilling WRT font ...

87. invoke a webservice from another webservice    forums.netbeans.org

i hav to invoke a webservice from another webservice created externally.. Im new to java and netbeans.. please help me.. it would be better if i get a sample code also.. ...

88. NB 6.9, GF 3.0.1. Newbe with Web Service    forums.netbeans.org

Posted: Tue Aug 03, 2010 6:28 pm Post subject: NB 6.9, GF 3.0.1. Newbe with Web Service I am trying a simple WS. This is the code, @WebService() ...

89. Re: NB 6.9, GF 3.0.1. Newbe with Web Service    forums.netbeans.org

Hi, I did what you suggested. I put breakpoints in the client and in the WS but the debugger never entries in the WS so I cannot see the values in ...

90. Generating Webservices with simple complex types    forums.netbeans.org

Posted: Tue Aug 10, 2010 5:30 pm Post subject: Generating Webservices with simple complex types Hello everyone, spend the whole day reading tutorials and getting a simple Webservice ...

91. How to change Encoding UTF-8 to ISO-8859-1 using JAX-RPC / WebService    forums.netbeans.org

Hi, I'm new, and I have several problem to change the encoding language. I use NetBeans 6.8 / Windows XP SP3 / JAX-RPC (JWSDP 1.6). I create a new WebService using ...

92. two webservices are being deployed and some other mess    forums.netbeans.org

NB 6.9, Windows 7 When I start glassfish (embedded) from within NB and deploy the application I'm getting some weird errors/warnings which may cause trouble or at least are bugging me: Code: INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver. INFO: JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://userboox:34108/jndi/rmi://userboox:34108/jmxrmi INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Users\user\GlassFish_Server_3\glassfish\domains\My\autodeploy\bundles, felix.fileinstall.debug ...

93. getting authentication token in Web Service    forums.netbeans.org

Hello! I have a Web Service that uses Message Authentication over SSL security mechanism. I use a validator to check if the user that called the WS operation exist in the database. Now I want to get the username in the Web Service operation. How can I retreive the authentication token which is a username? Thanks in advance.

94. Fault Handling in Web Services??    forums.netbeans.org

Hi Folks, I'm struggling here with fault handling and web services. I've developed a very simple example (a Square Root web service) to illustrate my problem. The service returns the quare root of the argument for arguments >= 0 and a fault for arguments < 0 Start by creating a new Web Application project in Netbeans. Then I developed the WSDL ...

95. NetBeans 6.9.1, Web Services and the JAX-WS-ENDORSED nightmare...    forums.netbeans.org

OK, I'm an Eclipse fan-boy. I drink water in the name of Eclipse and IBM. I'm currently working for a project, for which I have to use NetBeans. I hate every freaking minute of using it. After about a month, I have kind of reconciled with the "thing" and then suffered the final blow: Web Services with Metro. As if NetBeans ...

96. Webservice and netbeans noob    forums.netbeans.org

Hello I'm new at netbeans and new at java ee and web service development, and have one easy questions I think. What files do get generated in my web service client? My problem: I have two classes in my web service project (not the same as the web service client project) representing personal information. I want to use this two classes ...

97. debug web services    forums.netbeans.org

I attached the debugger the following way: Debugger: JPDA Debugger Connector: SocketAttach(Attaches by socket to other VMs) - default option host: localhost port: 8084 timeout: left blank When tomcat starts it shows: INFO: Starting Coyote HTTP/1.1 on http-8084 But when i finally attach the debugger, it says: handshake failed - connection prematurally closed What can be wrong? Host? Port? Thanks again ...

98. access the application bean from a web service    forums.netbeans.org

@WebService() public class TEST3 extends AbstractPageBean { protected ApplicationBean1 getApplicationBean1() { return (ApplicationBean1) getBean("ApplicationBean1"); } /** * Web service operation */ @WebMethod(operationName = "testoperation") ...

99. Creating a local appliaction and web service    forums.netbeans.org

Hi! I am new here and I am having a little trouble with my current project. I don't realy have that much experience with Java but I want to use it in one of my ideas. My idea is basicaly some hardware that is connected to the computer, I want an application that can localy control this hardware (by simply sending ...

100. Test Web Service URL incorrect    forums.netbeans.org

I'm using NetBeans 6.8 and Java EE6 build 22. I'm trying to create a web service and when I right click my web service and select test web service I get a warning (I've attached a screenshot), "Unable to open web service tester page" and it gives the URL it's trying to hit. The warning is legitimate because it's trying to ...