0
votes
0answers
13 views

Error connecting primavera database for a Rest Webservice deployed on Tomcat

I have a restful webservice deployed on tomcat but it is giving me error (Unable to get database instances.) while connecting to database whenever I hit the webservice through HTTP. The string for ...
0
votes
0answers
14 views

Is there a way to bind udp as a transport layer for jax-ws?

Hi i'm looking if there is a way to use udp as a one-way webservice call? I'm interested particularly in jax-ws reference implementation (metro).
0
votes
0answers
8 views

Unmarshalling error from Soap client

The WSDL part is as follows: <xs:complexType name="requestRow"> <xs:all> <xs:element minOccurs="0" name="RoutingData" type="tns:RoutingData"/> <xs:element minOccurs="0" ...
0
votes
2answers
25 views

Where is PriviledgedHandler definition?

In class com.sun.xml.wss.impl.misc.WSITProviderSecurityEnvironment is defined fileld _handler = new PriviledgedHandler(handler); Where is PriviledgedHandler class definition?
0
votes
0answers
18 views

Why will my XML be ordered by the names of the parameters from the XmlType-propOrder in JAVA?

I am using BEA Workshop 10.3.0, I have a j2ee java class: @XmlType(propOrder={"CORR_ID", "USER_NAME" , "APPLICATION"}) public class HeaderIn { private String CORR_ID; private String USER_NAME; ...
6
votes
2answers
195 views

Spring web services flow

I am new to spring web services. I was able to do a sample program for a factorial service. But i do have some doubts. According to me following is the way a spring web service proceeds: ...
0
votes
0answers
48 views

Java EE RESTFull web services - JSON cycling

i'm new in developing Java EE web applications and I'm trying to develop simple component that allow people to register and login in browser or via smart phone. I use netbeans 7.3 and glassfish ...
1
vote
2answers
70 views

How to get the request parameter in a Session Bean (EJB)?

My button in a HTML page is: <a id="showTrail" href="/resources/showTrail?roy=show" target="iframe_a"> <button>Show Trail</button> </a> My Java web service is: package ...
0
votes
2answers
38 views

Web Service unavailable after restart Glassfish

now I have this new problem. I´m using Glassfish 3.1.2.2 to host an application that has a Web Service to communicate with another application outside the server, mainly a swing desktop application. ...
0
votes
1answer
22 views

Possible unicode interop issue between WCF and Java EE when using signed messages over HTTPS?

I'm using the custom binding configuration below to sign the SOAP message with a certificate over HTTPS: System.ServiceModel.Channels.AsymmetricSecurityBindingElement asbe = new ...
0
votes
1answer
44 views

REST Jersey exception AbstractJAXBProvider

I have this resource @Path("customer") public class Customers inside it, I have this function: @Path("signin/{mobileNumber}/{simNumber}/{password}") @GET @Produces({ ...
0
votes
3answers
102 views

Java : Deploy restful web service without jersey

Thanks in advance. I am new in web services , when i try to deploy the restful web service using java , it will generate an exception. I am follow the RESTful Java with JAX-RS to learn web services, ...
1
vote
2answers
58 views

REST how to return list of Interface

I have a class FoodItemImpl which implements the interface FoodItem. I want to return list of FoodItem using REST. I couldn't However, I can return list of FoodItemImpl like this: Wraper enum ...
0
votes
1answer
36 views

How to remove errors UnsupportedOperationException and Possible memory leak

I have been searching a lot but have not found a perfect one which can help me to solve this problem. I have web services and am generating the stub using JAX-WS. To access the methods of web services ...
0
votes
2answers
94 views

REST A message body writer for Java class java.util.LinkedList

This is my web service code @Path("/totti") public class KK { @GET @Produces(MediaType.TEXT_XML) public List<FoodItem> getRestarantsFordBrowser() { return ...
1
vote
2answers
40 views

REST exception needs constructor

I have a rest web service, It returns objects from a class FoodItem which doesn't have public empty constructor. However, It contains another constructors which aren't empty parameters. I got this ...
3
votes
1answer
113 views

ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML

We have some Web Services deployed in Oracle WebLogic Servers, and the main responsability of this services is to invoke Stored Procedures and sent this data to the clients. The technology stack of ...
1
vote
3answers
96 views

How do I remove the namespace values from my nested XML child elements?

I have a small RESTful web service powered by Jackson, Jersey, EclipseLink and Tomcat. For the most part, the XML is working as expected except when it comes to my nested child elements. They are ...
0
votes
0answers
115 views

Java API not getting SOAPHeader from SOAP Request

I have developed a webservice in java using Metro RI( Along with an AuthenticationHandler), But when I am sending a SOAP request to the webservice, I am not able to get the SOAPHeader in the ...
0
votes
2answers
47 views

how to create web service from existing web dynamic application

My problem is as follows: I have a web dynamic project (Java EE) with 2 classes and a servlet. The servlet contains a method sendImage with 2 parameters (String and HttpServletResponse), and this ...
0
votes
1answer
51 views

SAXParseException with AXIS Webservice Framework

We are working on webservice solution. The webservice API provides us several calls using which we can retrieve the SOAP response from Client WebService implementaion. The implementation is based on ...
2
votes
2answers
151 views

JAX-WS Web service on Tomcat without sun-jaxws.xml

I am trying to minimize required configuration while deploying JAX-WS-based Web service on Tomcat. With the introduction of Servlet 3.0 (supported by Tomcat 7+), web.xml can be thrown out, but there ...
1
vote
1answer
68 views

How to make connection pooling for a web service

As an antecedent, I learned Java through online tutorials, so, please don't be too harsh with my questions, if I ask this here it's just because I don't know where to find an answer. I need to write ...
0
votes
1answer
28 views

Call method from other applications on the same server

I have a web application where users can see their created tasks from a database. I want to build a second application that calls all entries of the database and checks if the task is still ...
1
vote
1answer
78 views

JAX-WS issuing GET then GET and POST

I wrote a JAX-WS client using classes generated from wsimport to invoke a webservice. To test my client locally, I wrote an implementation of the webservice and published it locally and called it. ...
0
votes
3answers
50 views

Uploading of file is too slow in Webservice in Java

I have used standard java file stream to upload a file. When I tried to upload a 25MB size zip file , it took almost 11 minutes. but when I tried to upload that file on yousendit.com a file uploading ...
0
votes
1answer
32 views

how to stop this javax.xml.ws.Endpoint service

i have like this below code in order to start to publish wsdl package my.mimos.stp.MelodyWS.webservice; import javax.xml.ws.Endpoint; public class Server { public static void ...
1
vote
1answer
53 views

Weird characters between header and request in C# request to Java web service prevent success

I have a C# method that creates a request to a Java based web service. I serialize my class and post it to the service and it returns a status 400 indicating it can't find the named root element. When ...
0
votes
0answers
38 views

Web Service Invocation

I would like to invoke a web service trough my Java EE application and set a parameter to the URL. the web service is deployed in a Tomcat local server, and the application in another one. here are ...
2
votes
5answers
587 views

Which is more secured and why json or xml

I want to implement web services in Java EE whose response is going to be a json. This is my first attempt for doing so but before that I just want to know are there any security issues with json ...
0
votes
1answer
34 views

web application deployment on JBoss

I am new to Java EE concepts and the JBoss server. I have developed a simple Enterprise application. I started the server using a command prompt but the moment I tried to deploy it from Netbeans the ...
0
votes
1answer
89 views

Why Apache CXF?

I am a new to Java EE Services. In my project they will be using JAX-WS with Apache CXF. I want to know what is Apache CXF? I can use plain JAX-WS to create Web Services. Why should I use Apache CXF?
0
votes
1answer
63 views

How to get details from JIRA using the webservices

I want to use web service in my Java EE application to get the details from JIRA. My project scenario is to get details like from one Project. How many defects are open for a project How many are ...
1
vote
3answers
167 views

in 3 layered architecture can i skip business layer for crud operations?

We have 3 layered application wich every call from service layer goes to business layer and peresist by data layer. Components of each layer can only call the layer below; However because we have ...
0
votes
2answers
124 views

Axis2 Webservice Fault - The service cannot be found for the endpoint reference

Hi created a test application to learn Axis2. I packed the axis with my war and afetr deployment the WSDL is also acessible via URL - http://localhost:8081/SajuAxis2/test/service/SajuServices.wsdl ...
0
votes
1answer
70 views

Method for testing whether the Web Service is alive (off or on) - Client-Side Axis

I need a method that returns whether a Web Service is active or inactive. In other words, whether it is on or off. Does anyone know any? I tried to do a test (code below) to get this method on a Web ...
0
votes
1answer
102 views

javax.ws.rs.core.Response$Status.getReasonPhrase() Issue on JAXB, Rest service Implementation using Apache Jersey

I am facing below issue while trying to access the below REST service... I am using Apache Jersey implementation for developing rest service. I am facing below issue only when i am trying JAXB, ...
0
votes
2answers
71 views

JBossWS doesn't recognize WS-A header

I have a web-service stub implemented with JAX-WS and deployed on JBossAS 7. Here is a source code: package org.mycompany.adapters.ws; import javax.jws.WebMethod; import javax.jws.WebService; import ...
1
vote
1answer
88 views

calling Java EE web service from Android Application

I have never work with web services and I have to establish a web service between a Java EE server application and an Android client application. My question is: what is the best way to consume a ...
0
votes
0answers
39 views

Using Java SE Endpoint executor with Embedded Tomcat

Is there any way to set an executor in an embedded Tomcat using sun-jaxws.xml or in another way by application deploying (Java EE)? With Jetty we were able to configure an executor like this: ...
0
votes
0answers
49 views

Mule Rest service MIME type of returning object

i have a rest web service which consumes MediaType.MULTIPART_FORM_DATA. After several operation it returns an object which contains String, list, byte[]. In such a case what would be the MIME type for ...
0
votes
1answer
110 views

Java - Consume Web Service With DefaultHttpClient

Okay, I recently asked a question about consuming a Web Service using Java, while I was getting multiple compile errors. I have literally spent the last 7 hours trying to get this working, doing ...
1
vote
3answers
179 views

REST Uploaded File Return Type

i am trying to upload a file to the web using rest web service. i created a flow which accept a file in the form as: @POST @Path("/upload") @Consumes(MediaType.MULTIPART_FORM_DATA) public Response ...
0
votes
1answer
105 views

Deployed webservice schema does not match what's in workspace

I've run into a strange problem where the schema that goes with my webservice does not match what's in my workspace. In my workspace, an element has this definition: <xsd:element ...
0
votes
0answers
133 views

jax-ws servlet client error while accessing jax-ws web service. Both are on localhost Glassfish 3.1.2.2

I am trying to access jax-ws web service through jax-ws servlet client. Both are on localhost Glassfish. Getting some errors: User [] from host 127.0.0.1 does not have administration access And ...
0
votes
0answers
246 views

Initiating java web service client passing local WSDL file with relative path to XSD in schemaLocation

I have WSDL and XSD files stored localy. Using CXF (wsdl2java tool) - I have generated client service classes. To service class constructor I pass local path to WSDL file like this: ...
0
votes
0answers
43 views

Cant Find my Axis2 Web Service deployed on OpenShift

I deployed a web service developed using Apache Axis2 on Openshift. When I try accessing the axis2 index.jsp, I can see the index page which only contains the default Version. Q: How do I get to ...
0
votes
0answers
50 views

org.jboss.ws.WSException: Cannot uniquely indentify operation:

I'm running JBoss 4.2.2, Java 1.6, and Ubuntu. I am trying to call a web service from SOAPUI. I have written other web service end points and have successfully built clients into my web application. I ...
0
votes
1answer
379 views

jax-ws web service does not work in websphere 8.5

Been trying to get jax-ws web service working in websphere 8.5 but no success. I have tried Java bean & war packaging, stateless ejb & jar packaging but it just does not work. I am trying to ...
0
votes
1answer
68 views

Same REST endpoint to support Browser and REST clients

Our team is currently looking at developing the interfaces for a new network monitoring system. We are to support access to the system from: a web browser (Javascript/HTML5 based) any REST client ...

1 2 3 4 5 9
15 30 50 per page