Tagged Questions
16
votes
4answers
7k views
REST HTTP Authentication - How?
So, I'm developing a REST webservice using RESTeasy and Google App Engine. My question isn't related to GAE, but I mentioned it just in case it matters. It happens that naturally I need to secure my ...
0
votes
1answer
14 views
generating client jar from SOAP wsdl
i am trying to interact with some SOAP web service which has the basic authentication and I have the url, username and password. Now I want to use this web service in my java code and so i need to ...
0
votes
0answers
8 views
WCF - Java - Service Factory - Recommendations
Current Environment:
.Net WCF Services built utilizing Web Service Factory
Background:
Soon we will be taking on a task to wrap Java web services around a 3rd party .JAR files.
Advice Needed:
As ...
1
vote
2answers
33 views
Communication between rest services hosted on different tomcat servers
I have a scenario where i am hosting different java Rest Services on different Tomcat instances (different machines). These projects running on the tomcats do not have any UI. For simplicity's sake, ...
0
votes
0answers
14 views
how to print “” without single space in soap request in jax-ws
SOAPElement soapElement = soapbodyElement.addChildElement(new QName(
"", "sPassword"));
i am using the above code to make a node to print
<sPassword ...
0
votes
2answers
2k views
Java Web Services video tutorials [on hold]
Are there video tutorials for Java Web Services with the same caliber as asp.net and windowsclient.net Learn section?
0
votes
1answer
20 views
accessing a java webservice from the webservice client
I am trying to access a java webservice by sending a soap request to the service
the strange part is that until recently it worked fine, and now it gives me an internal server error
what am i doing ...
0
votes
0answers
10 views
Byte type not getting recognised in WSDL
While creating a WSDL, one of the getter is defined as
@XmlElement(required=true)
@Facets(enumeration={"S"})
public Byte getType(){
return Type;
Type has only one valid value i.e. S. SOAP is ...
0
votes
2answers
3k views
“java.lang.NoClassDefFoundError: IllegalName” error when generating JAX-WS artifacts using wsgen
I am relatively new to both java and webservices so it has to be something obvious. Most probably something with classpath. My class files are under the directory 'src/ibmwebservicetutorial/service/' ...
0
votes
1answer
25 views
how return an output type date in web services? any solution
i try to return an output (type date ) in a web service but i receive a weird result
@WebMethod
public Date testDate(String arg) throws ParseException{
System.out.println(arg);
...
0
votes
1answer
38 views
Running web project with tomcat server from eclipse
i was doing a web service using jersey framework and i was following this example. I installed tomcat and and also tomcat plug in into the eclipse. But while i tried to run the project by right click ...
1
vote
1answer
26 views
How to know if the connection is over HTTPS in a web service call?
Using Jetty 7.0.2. The service listening on both 80 and 443 port. In a one special API, we need connect to another server, which scheme is determined by the incoming call: if the incoming call is ...
2
votes
2answers
3k views
How correctly produce JSON by RESTful web service?
I am writing a web service the first time. I created a RESTful web service based on Jersey. And I want to produce JSON. What do I need to do to generate the correct JSON type of my web service?
...
0
votes
0answers
17 views
Difference between core java based client and axis2 based client
I am novice to java based webservices.
I have learnt how to create and consume webservice using core java libraries but now I came to know that Apache Axis2 is a good tool for java webservices.
...
0
votes
0answers
13 views
How to test web service with list input?
Hey I'm using NetBeans and I am using it's Test feature.
It works fine when input is string but how can I test it with when input is java.util.list?
All I see is an open textbox, I tried doing ...