Tagged Questions
4
votes
0answers
565 views
Issue while using webservice to call some java application method which is using resource file
Issue while using webservice to call some java application method which is using resource file
I have created one java application which contains following directory structure in my src folder of ...
3
votes
0answers
90 views
How to ignore empty parameters in web service?
I have the following problem. I want to make web service, which have a lot of parameters for input. Some of them are Double type. The thing is that some of doubles are not necessary and can be passed ...
3
votes
0answers
343 views
Howto setup JAXWS client to use ISO-8859-1 instead of UTF-8?
I would like to configure my JAXWS client to send messages in ISO-8859-1. Currently UTF-8 is used.
Here is what the client tries to do:
Map<String, Object> reqContext = ((BindingProvider) ...
3
votes
0answers
352 views
Cannot deploy WebService with NetBeans
I'm trying to deploy a WebService project to GlassFish 3.1.2 on WebLogic 10.3, both with no success. I've tried to run other simple webService for test, and it works fine on WL and GF. Problem is ...
3
votes
0answers
131 views
Reference to own wsdl url
I'm building a web service that's supposed to register on another server by sending its wsdl URL to that server.
I built a very basic web service in Netbeans,
@WebService
public class RegisterTest{
...
3
votes
0answers
2k views
wsimport Xauthfile error
I am trying to generate the java help classes that I need for a client (a.k.a consumer) for a SSL-protected web service (on Microsoft Biztalk) that is external to our company network. We can access it ...
3
votes
0answers
441 views
JAXB Parsing - weird behavior
I am receiving a valid XML from server. lets say
XSD
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
...
3
votes
0answers
819 views
Yelp V2 API using SignPost from Java - INVALID_SIGNATURE
Trying to call the v2 api from a Java app (Android), utilizing the
SignPost oauth library. I have extracted my code into a standalone
version that can be run from the command line (no dependencies ...
3
votes
0answers
2k views
Webservice with CXF: How to use the ResponseWrapper?
We are creating a webservice (CXF-based) driven by a java class (Java2WS) with the following method:
@WebMethod
@RequestWrapper(className = "com.myproject.wrapper.MyRequestWrapper")
...
2
votes
0answers
85 views
SEVERE: WS00034: Two web services are being deployed with the same endpoint URL
I'm getting this error when I'm trying to redeploy in Netbeans with GlassFish.
SEVERE: WS00034: Two web services are being deployed with the same endpoint URL
I'm not using two web services with ...
2
votes
0answers
109 views
Catch broken pipe when returning through SOAP
I'm trying to make my SOAP service more robust, and handle clients that disconnect while the method they called is still running. I'm using @WebService and javax.jws.WebService.
The problem is that ...
2
votes
0answers
220 views
Send the captured image to the web server in android
I want to send the captured image with the help of intent and send image to the remote server. i am using following code.
String image_str;
String URL =**************/image.php?;
...
2
votes
0answers
107 views
Java Webservices running outside of container only allow one user to connect when authentication is enabled
I'm putting together a framework for some games via webservices, which for various reasons need to run without an application container.
At this point, all I'm after is that each player will ...
2
votes
0answers
231 views
Receive NSData from ios in Rest Web Service Java
ConfirmChallenge:(id)sender{
// NSError *err;
NSStringEncoding encoding;
NSError *error;
AppDelegate *appDelegate = [[UIApplication sharedApplication] delegate];
SBJsonWriter *jsonWriter = ...
2
votes
0answers
345 views
Cannot deploy simple web service to glassfish through eclipse
i trying to do an simple hello world webservice in eclipse. I managed to make and test webservice with netbeans + glassfish, but i have problems in eclipse. Im using that tutorial: ...