Tagged Questions
0
votes
0answers
4 views
Is OWL-S Grounding with the WSDL provide real execution?
I have created the OWL Process and the WSDL for my web service.
I have doubts about grouding in owl.
1) Adding the Grouding information is only about adding the information about the different ...
1
vote
0answers
11 views
Creating a client from a WSDL file
So I have been trying to do a top-down approach starting with a WSDL. I have been working with free web services located here: http://www.service-repository.com/ I found that I could use the WSIMPORT ...
0
votes
1answer
10 views
generating a webservice client
Please I want to generate a webservice client from a wsdl through a command line (or java code) and i want to have all this classes generated ( This can be done manually in eclipse by creating a ...
0
votes
0answers
9 views
Coding on the JAX-WS class having huge number of methods without using Java Reflection
I am creating a java based tool to load data from CSV file to a cloud based application that exposes an elaborate set of web services. There are several entities/record types in the system like ...
0
votes
0answers
15 views
Securing REST Web Service using token (Java)
This question is in some way related to the below linked question. However, I need a little more clarity on some aspects and some additional information. Refer:
REST Web Service authentication token ...
0
votes
0answers
30 views
How to upload file to server through REST in Java
I am trying to upload a file to a server by using RESTful but I get the following error:
HTTP Status 500 - Servlet.init() for servlet Jersey REST Service threw exception
Here is the server code:
...
-1
votes
0answers
14 views
can solve my Restfull webservice clarification? [on hold]
I am new to WebService.I am using RESTFULL webservice in andriod.I am passing five values as query to server.In this five values,some values will have values and some values will be empty (or) ...
-1
votes
1answer
30 views
How to pass the username and password in webserivce [on hold]
I need to pass the username and password in the webserivce using java. Can anyone give a sample code
0
votes
0answers
5 views
how to read and parse php objects in j2me
I am crating j2me webservice app and here are the steps i am following
1-I create a database in mysql
2-I create connection between php and mysql
3-I make a program in j2me then create connection ...
0
votes
1answer
16 views
Spring-ws @Endpoint/@PayloadRoot based configuration giving 404
Really stumped on this one - trying to utilize Spring-ws's @Endpoint and @PayloadRoot to automagically stand up some WSDL endpoints, but I keep getting a 404 (deploying into Tomcat 7.0.54). I've ...
0
votes
1answer
11 views
Manual Weblogic Basic Authentication
I have a Web Service (JAX-WS), a WSDL, a desktop application Client, and a Weblogic 12c server. I am trying to implement basic authentication between the Client->Web Service->Weblogic->Active ...
0
votes
0answers
6 views
Should LoggingInterceptors be static in CXF?
I have several CXF-interceptors that I currently just recreate using new operator on each soap webservice request.
I wonder if I should make these interceptors static?
Client client = ...
0
votes
1answer
22 views
OutofMemoryException with Datahandler cxf
I am downloading a file by clicking a link. I am using jdk1.7, cxf-2.7.5 and enabled MTOM in both client and server. For UI i am using struts1.2.
I got the below exception
[default-workqueue-8] ...
0
votes
1answer
25 views
dynamic properties in ws consumer service Address
I am using Mule 3.5 and have a requirement where I need to consume a SOAP webservice for which authorization is done via the authority part of the URL itself.
I do not have control over this API and ...
0
votes
0answers
12 views
Apache Axis2 version upgrade
We use a common library in many application where we generated the java code from WSDL file by Axis2 version 1.6.2 then generate the jar file to be used in many application but some of this ...
1
vote
1answer
29 views
JAX-RS 2: using Guava ListenableFuture for async resources
Writing an asynchronous endpoint in JAX-RS 2 usually looks like this:
@GET
public void asyncGet(@Suspended final AsyncResponse asyncResponse) {
new Thread(new Runnable() {
@Override
...
0
votes
0answers
5 views
WSDL, Web Service Client, Missing required attribute “type” of element “binding”
I have taken a simple WSDL example and using NetBeans IDE 6.5.1 to create Web Service Client. When using the function Web Service Client in NetBeans i get the error:
[ERROR] missing required ...
0
votes
1answer
15 views
Getting the SOAP version in a JAX-WS Provider
Is there a way to get the SOAP version (1.1 / 1.2) of a request, in a JAX-WS Provider? (@ServiceMode(Mode.PAYLOAD))
Let's say my service supports both SOAP 1.1 and 1.2. When I assemble a SOAP Fault ...
0
votes
0answers
21 views
Invoke web service method in Java
I am trying to create a web service client in Java to connect to any given web service and then invoking the right method from the ones available to retrieve a list of names. Right now, I am able to ...
0
votes
0answers
17 views
How to tell the proxy generated by wsimport which JAX-WS vendor to use?
I am trying to figure out how a proxy (generated with wsimport) interacts with the specifu JAX-Ws vendor?
This is what I know:
wsimport generates a proxy client out of a ready WSDL that I can ...
0
votes
1answer
19 views
Using JSON and Xstream
I have looked around on the web but can seem to get this working. I have a web service where i am trying to read JSON but i keep getting an error when i create the XStream object. here is the code i ...
0
votes
0answers
12 views
Create a jar file using jdev that includes weblogic.jar
I've been having troubles lately in creating a jar file that can call a secured web service on Weblogic server using Jdev.
I've created a web service proxy which is handling the situation perfectly. ...
1
vote
1answer
31 views
Multiple WS calls in one Java Play action
I am developing a Play 2 (v2.2.3) Java application (with Java 8) whose task is to fetch data from two web services and return a composed result.
From my first WS call I get a JSON array object with ...
0
votes
1answer
14 views
What does the exception 'expected: START_TAG' mean, that appears when calling a webservice
I am calling a webservice in android using the following code:
public class Main {
private static final String NAMESPACE = "urn:sap-com:document:sap:rfc:functions";
private static String ...
1
vote
1answer
21 views
Spring + JAXB integration : Class has two properties of the same name
I am facing problem in generating WSDL. I want to create SOAP web service which generate json string. Below pojo classes are referenced from another web project into my web service project. I write ...
-1
votes
0answers
21 views
Webservices error by compilation
While I have imported my existing code into Eclipse, by the time of compilation it is giving the below error,
ERROR :
Document literal bare methods that declare a void return value may have only one ...
0
votes
0answers
13 views
JAX-WS RI cannot change charset=utf-8
I am using the JAX-WS RI, with files that have been auto-geenrated by Netbeans via File > Web Service and then entering the WSDL.
The problem I am having is that the JAX-WS RI always attaches this ...
0
votes
1answer
22 views
Integrating OBIEE with web application
I have a requirement where I need to integrate OBIEE reports with my J2EE based web application. On going through the available documentation, I have understood there are various ways of integration. ...
0
votes
0answers
16 views
how to access the soap request coming into the server
I created web services in Jdeveloper 11.1.1.7. Every thing works fine.
But how to access the SOAP request coming into the server?
My aim is to store the incoming SOAP request in local machine for ...
0
votes
1answer
24 views
Java upload file with REST Internal server error
I have a server and a client where I try to upload a file from the client to the server and I get the following error: Response: Internal Server Error
Below is my code
public static void ...
0
votes
1answer
17 views
How to call web service from java
I have generated the required classes from the WSDL ..
I have these classes :
What should I use from these classes ? Please if you have an example will be very appreciated.
edit
I used eclipse ...
0
votes
2answers
29 views
RESTful webservice in Java for downloading a zipped file, unzip it and show the PDF file to the client [on hold]
The user of my application must click on links to view PDF files.
I have this problem. PDF file paths are referenced in a remote database. To get the files the idea I came up with is to make a ...
1
vote
0answers
27 views
Android Not Connecting to WCF service which works in the browser
I have a WCF Service (working tried it in the browser) the code for it
[OperationContract]
[WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Json, BodyStyle = ...
0
votes
0answers
11 views
ksoap2 throws exception while converting complex types
we have a small school project with Wildfly/SOAP/Webservice and Android/KSOAP. I'm responsible for the android client and have a small problem with complex responses... and sorry for my english :D
...
0
votes
0answers
11 views
Unable to map WSDL response to XCF generated classes
I'm trying to connect to Sharepoint 2010 using CXF generated classes from the Lists.asmx WSDL. Specifically, I'm trying to use the GetListItems method, but the error is applicable to all calls I have ...
0
votes
0answers
13 views
Java Web Service HTTP Status Code 302
I am using Java EE and created a web project by generating a wsdl file with wsimport. I generated the wsdl file from our testing site:
...
0
votes
0answers
16 views
Embedding Username/Pass In Soap Header
My team and I have made a WSDL document and have generated shared classes using the wsimport tool. These shared classes are jar'd up and shared between both the Web Service (henceforth known as the ...
1
vote
0answers
21 views
Hosting a java made webservice
So I have been working on a web service which communicates between the client and server. It fully works on my computer and am able to send requests from client to server while not in the same ...
0
votes
1answer
15 views
How to prepare SOAP Request and call web service in java
I am new to SOAP , I want to call web service .
I have seen a tutorial for making soap request .
This is the Code
MessageFactory mf = null;
SOAPMessage sm = null;
SOAPEnvelope envelope ...
0
votes
0answers
16 views
Java warning testing webservices
I'm developing a webservice application in java with NetBeans. The webservice was created with a wsdl and a Glassfish server. The Project of the webservice deploys correctly, but when I try to run an ...
1
vote
2answers
38 views
How can i create a java web service that supports multiple client requests using only java SE?
I have the task of creating a web service that takes requests from multiple clients. I am new to web services so i used this tutorial:
...
0
votes
0answers
11 views
There are limitations printing in the log file with LOG4J?
I Have an implementation of a GenericHandler to trace the request and response of a webservice in java-WebSphere. But a problem comes up, the thing is when I have an small XML (around 100-1.000 chars) ...
1
vote
0answers
15 views
jax-ws-catalog xml in Soap webservice
i have java client service for .net 3.0 server.
In client service, i have two types of flow
1)using remote wsdllocation url, i able to fetch the services list from remote.
2)using local wsdl path,i ...
0
votes
1answer
19 views
Basic Jersey Rest WS in Tomcat giving “resource not available”
I am trying to make a simple Rest WS with eclipse/Tomcat/Jersey but i am not able to make it work. It is getting frustrating because i don't see the error, but seems to be really subtle.
This is ...
0
votes
1answer
30 views
Websphere 8.x not able to identify axis 1.4 jar in WEB-INF/lib
I have built and deployed a war file in websphere 8.5 server. All axis 1.4 related jars are placed in WEB-INF/lib folder. However when I run the application and try to access the code that calls the ...
0
votes
1answer
20 views
How to automatically query a webpage and parse the data which is displayed on the page and store it in a database
I tried searching a lot but could not found a specific answer to my problem.
I am trying build an analytical software which fetches data from a website by querying it with different samples of data.
...
0
votes
1answer
26 views
error in simple RESTtful web service implementation
Softwares used :
Java Version : "1.7.0_21"
Eclipse Version : Kepler
Application Server : wildfly-8.1.0.Final(with RESTeasy bundle)
My try :
I want to implement REST web service. My resources is ...
-2
votes
0answers
18 views
How to make a Web Service In Spring MVC [closed]
I was useing Spring MVC.Now I need to code a message feature in my web application.This interface which buy from other company it's only support Web Service.
I can use HttpClient,and send a Get or ...
0
votes
0answers
13 views
Tranferring images from Spring Rest web service to client and vice versa
In my Spring Rest web service ,I want to transfer image from web service to client (Windows Form) and vice versa. What I'am doing now is,I convert the image to Base64 string and transferring.I know ...
0
votes
0answers
16 views
Java : retrieve server ip and port from server code
I don't know if this is possible.
I have a jax-ws webservice... from which I would like to send back a url like http://serverip:serverport/application/id
Is it possible to get serverip and ...