webservice « JBoss « Java Enterprise Q&A





1. Custom Error Pages in JBoss    stackoverflow.com

Hey all, This is my first question here! I'm trying to setup custom error pages in my JBoss RESTful web service. I'm starting with the 400 error, so in my web.xml ...

2. Webservice problem with base64 data when upgrading to JBoss 4.2.3    stackoverflow.com

This is a long one du to config files... I'm running a upgrade from JBoss 4.0.5 to 4.2.3 The system I work with have a legacy webservice. It is based on J2EE webservices ...

3. Java WebServiceException: Undefined port type with JBoss    stackoverflow.com

I am new to Web Services with JBoss. A client is connecting to an EJB3 based Web Service With JBoss AS 5 and JDK 6 using JAX-WS. I am stuck with ...

4. What is the easiest way to wrap a Stored Procedure in a Web Service?    stackoverflow.com

We have a Legacy system that contains a number of stored procedures that we'd like to expose to other applications as web services. We are building the web services with ...

5. Unable to create SSL Socket Factory for client    stackoverflow.com

I am using Java 1.5.0_16 (JBoss-4.2.3.GA application). My application implements a WS client which needs to integrate with an external Web Service. This communication needs to be handled through https.I am ...

6. JBOSS web service client doesn't work ( runtime modeler error: Wrapper class not found )    stackoverflow.com

I have a simple hello-world EJB3 successfully deployed as web service. I can check it with url: http://localhost:8080/jbossws/services Following is the client which works for Glassfish but doesn't work for ...

7. How to inject EntityManager in non-EJB based WebService?    stackoverflow.com

The headline says it all: I've got a simple WebService

@WebService(serviceName="G08WService", portName="G08WPort", endpointInterface = "at.fhj.itm.g08.wservice.IUserWebService")

public class WService implements IUserWebService
{
    @PersistenceContext(unitName="g08b2")
    EntityManager em;

    @Resource ...

8. How do I best implement a web service client inside a web application?    stackoverflow.com

I've got a service running at a fixed location in the network, with a WSDL attached etc. I can easily create a jax-ws client with wsimport and the usual stuff when ...

9. how do i wait for service when another service depends on it    stackoverflow.com

i'm about to deploy two different but dependent war-files into a single jboss (AS 4.2.x GA) One implements some webservices (jax-ws) exposing their interfaces through a wsdl. The other one is a ...





10. creating new javax.xml.ws.Service not returns    stackoverflow.com

I am having a strange problem occuring somtimes from a specific machine (windows 2003). I am trying to create a new javax.xml.ws.Service instance with host and qname as parameters.

service = new SomeService(url, ...

11. Ignore jar signing in a web service?    stackoverflow.com

We have some legacy JAR files from a vendor that were previously distributed as an applet, but we'd now like to simplify as a web service. While the code works when I ...

12. Ask jboss if it has a web method?    stackoverflow.com

We have our web services written in Java running on JBoss. Our website is written in .Net 3.5. We've run into an issue where if a web service has ...

13. How to keep attachments in temporary file, not in memory, during web service message download on JBoss    stackoverflow.com

I have the following problem on JBoss 4.2.3 and 5.1 using JBoss WS Native Stack. The web service is receiving a significant number of large attachments. When my server is receiving ...

14. SOA Resource Discovery vs. Service Discovery    stackoverflow.com

I've recently been tasked with performing a comparison of SOA suites. I've been looking into the SOA offerings of jBoss, Oracle, WSO2, etc.., and comparing everything SOA from ESB, application servers, ...

15. JBoss web service client host url configuration    stackoverflow.com

I have a ejb3 using a web service and configure the host name of the web service in the ejb-jar.xml file (or @WebServiceRef(wsdlLocation = "http:://myserver/service.wsdl") ). Can I do the ...

16. Jboss Web Service:Error :java.io.IOException: Could not transmit message    stackoverflow.com

Hi I am trying to deploy a web service client application in Jboss 4.2.3GA. I already did this and it works in glassfish v2.x. I copied jboss-saaj.jar, jboss-jaxws-ext.jar, jboss-jaxws.jar, jboss-jaxrpc.jar and ...





17. how to Supress warning EJBTHREE-1337:do not get webservice context property    stackoverflow.com

im new to webservices.i ran a sample webservice(Jboss5.0.1,jdk 6) from java client. i got this warning. but application runs properly.when i searched about this warning i came to know that we ...

18. How can I configure the HTTP proxy for a Web Service client running in JBoss 4?    stackoverflow.com

Using NetBeans 6.8 I managed to write a JAX-WS Web Service client for a service which runs in the Internet. Within NetBeans, communication through the HTTP firewall works fine. Now I tried to ...

19. Converting JBOSS annotations to xml    stackoverflow.com

I was just hoping that someone could point me to a reference that defines about what JBOSS annotations are equivalent to what xml tags. I am particularly interested in these ...

20. best way to access Web Service hosted in JBOSS 5.0.GA + Apache 2.2.2 from WCF .Net 3.5?    stackoverflow.com

We are in a position to consume the Web Service hosted in JBOSS as explained above. We tried to generate proxy classes using VS 2008, but we are not successful in calling ...

21. Need example of Java Client Destop App consuming Two-way SSL Secured webservice    stackoverflow.com

I'm looking for an example of a java desktop application that consumes a Two-way SSL secured web service. Any tutorials or examples would be great, especially if they are ...

22. jboss web services to tranfer files    stackoverflow.com

I dont have any experience for web services. please give me some suggestion about the task below. the task is: users will send a txt file (size should less than 20K ) from ...

23. Web Service Client in JBOSS 5.1 with JDK6    stackoverflow.com

This is a continuation of the question here: http://stackoverflow.com/questions/2435286/jboss-does-app-have-to-be-compiled-under-same-jdk-as-jboss-is-running-under It's different enough though that it required a new question. I am trying to use jdk6 to run JBOSS 5.1, and I downloaded the ...

24. Calling and consuming a JBoss Web Service from JavaScript (AJAX)    stackoverflow.com

I am fiddling around with JBOSS's Web Services, and I have created the following:

http://127.0.0.1:8080/IM/TestService?wsdl
Now I need to access Web Methods from that Web Service from JavaScript. Say I have a web method ...

25. getResourceAsStream() is always returning null    stackoverflow.com

I have the following structure in a Java Web Application:

TheProject
  -- [Web Pages]
  -- -- [WEB-INF]
  -- -- -- abc.txt
  -- -- index.jsp
  -- [Source Packages]
 ...

26. Accessing a file (for writing) from a JBoss Web Service    stackoverflow.com

Let's say I have this structure of my Java Web Application:

TheProject
  -- [Web Pages]
  -- -- abc.txt
  -- -- index.jsp
  -- [Source Packages]
  -- -- [wservices]
 ...

27. Exception in thread "main" org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser    stackoverflow.com

I've created a stand-alone web services client in Java. I'm able to generate the WSDL properly but when when i execute my run.bat file, I get the exception above long with ...

28. ClassCastException in Annotated WebService in JBoss & Java 6    stackoverflow.com

I am using JBoss 4.0 for creating a simple Web Service using the @WebService annotation as described in http://www.jtraining.com/blogs/java-web-services-getting-started.html. However, when I hit the service as if it is ...

29. Implement JBoss WS-Security Username Token Profile authentication    stackoverflow.com

  1. I implemented a web service with JAX-WS, and my service client is implemented with JAX-WS too, and the client can talk to service with WS-Security username token profile authentication.
  2. Now I want ...

31. org.jboss.ws.WSException: Target endpoint address not set    stackoverflow.com

This is my first attempt at a simple web service, running in JBoss 4.3. I wrote a simple service that greets a user. I used wsdl2java to generate a client for ...

32. Web Service Class Cast Exception    stackoverflow.com

I am currently using JBoss 5.1.0 and have an ejb deployed that makes use of an WebService on a remote system. I recently received a new VM that had an ...

33. Returning a collection of Objects through JBoss Webservice    stackoverflow.com

my JBoss Webservice can't handle collections. If I try to return e.g. an ArrayList, the XML response is empty. Here is my method which is called with a String parameter:

 @WebMethod
 ...

34. ssl error on webservice invocation on jboss    stackoverflow.com

I'm using jboss 5.1.0 GA as an application server, I have two war applications deployed, both running perfectly. One application, app1.war, it's a web application, that, in some point invokes a ...

35. A question about how (if, at all) to control class loading or whatever it is that is causing my problem on JBoss    stackoverflow.com

Consider the following components on JBoss 5.1 GA:

  1. Axis2 1.5.2 Web Service
  2. A 2.1 EJB Jar packaged in an EAR
Following is the work flow required: Axis2 Web service has code that does lookup for ...

36. WebService method always receives null in request    stackoverflow.com

I have the web service running on JBoss with method search.

@WebService(serviceName = "MyService", portName = "MyServicePort", name = "MyService", targetNamespace = "http://example.com/MyService", wsdlLocation = "wsdl/myService.wsdl")
@Stateless
@TransactionManagement(TransactionManagementType.BEAN)
public class MyWebServiceBean extends MyService {
  ...

37. Resteasy paths JBoss    stackoverflow.com

I am having trouble navigating to my restful service using resteasy 2.1 on localhost and was hoping someone here might be able to help me. I have built an EAR file with ...

38. cached parameter cannot be taken as input parameter in JBOSS5.0.1.GA    stackoverflow.com

I am writing a webservice in java 1.6 and deployed in Application server JBOSS-5.0.1.GA In the Service cannot get the CachedRowSetImpl object as input parameter in the operation

39. Calling HTTPS JBoss service from C# code throws an authentication error    stackoverflow.com

I'm trying to call a JBoss service from a C# program and I'm getting an annoyingly vague error.

            JbossService proxy ...

40. Does it make sense to synchronize web-service method?    stackoverflow.com

I'm creating a web-service written in Java and hosted on JBoss AS. I'm not a professional in web-service design yet but do I get it correctly and each call to the ...

41. How to store Jboss web service requests    stackoverflow.com

I'm using Jboss 6 and need to store any incoming/outgoing web service requests(soap). I know Jboss allows you to log any web service messages, but I want to store them in ...

42. Error with Java type mapping when calling a Java Webservice through a Dynamic Proxy client    stackoverflow.com

I have developed a Java webservice using the Eclipse IDE and I have deployed it on JBoss 5.1. I wrote a jsp client using dynamic proxy and when I try ...

43. Jboss.xml ignoring context-root    stackoverflow.com

I was trying to set up context-root element for my webservice in jboss 5.0 and it is ignoring it during deployment. Here is the sample xml which I am using, all ...

44. JBoss 6 creates instance of web service on startup    stackoverflow.com

I'm migrating my ear application from JBoss 5 to 6.0.0.Final. I noticed that JBoss 6.0.0.Final instantiates beans which have @WebService annotation on startup. JBoss 5 didn't do that. Is it possible ...

45. JBoss - Which services and modules are needed for runnig a web service?    stackoverflow.com

I have a custom minimal configuration of JBoss (from default) and need to run a web service on it. I don't want to use the whole web configuration because I need ...

46. Deploying an EAR in jBoss AS 7 that contains a web-services in a WAR    stackoverflow.com

i've an EAR file structured as reported:

myEar.ear
|
+- META-INF
|  |
|  +- MANIFEST.MF
|  +- application.xml
|
+- lib
|  |
|  +- aJar.jar
|
+- aWar.war
The MANIFEST.MF is autogenerated and blank, in the application.xml ...

47. understanding JBOSS and its services    stackoverflow.com

I am a junior developer, and have done considerable web application development using apache tomcat and quite comfortable with it. I want to start using the JBOSS and quite new to it, ...

48. Get IP address in JBoss Web Service    stackoverflow.com

I developed a java class with an only method and turned into web service (JBOSS) using JBossWS. I would like to get the IP address of the client who started the ...

49. How should I allow others to dynamically find web services?    stackoverflow.com

I have been fighting with this for a while now. I need to prototype SOA, and with it, the registry. I have been fiddling with jUDDIv3 on JBoss SOA Platform 5, ...

50. jboss 4 505 error http version not supported on VPN    stackoverflow.com

we are calling a web service (jaxws) running on jboss 4 from one of our .net, C#, web services clients it is working just fine on our local network, but ...

51. jboss configurable web context in web services    stackoverflow.com

I nead to place the following anotation in some xml file ... is it possible? I nead this to have the posibility to configure diffrent vhosts name for different ant builds ...

52. Web Service Deployment Descriptor    stackoverflow.com

What is the purpose of Web Service Deployment Descriptor (wsdd) configuration file. If I didn't configure this file explicitly it doesn't create any issue in my application (as I am using ...