Tagged Questions
-1
votes
0answers
22 views
Webservice from a WSDL file
I'm given a WSDL file and asked to create WebService to handle incoming requests at a url <Context-Root>/CallBack. My project is already using Springs and Hibernate. How do I implement this. ...
0
votes
1answer
31 views
Java Web Service & XML
I would need to build a simple program for my homework purposes that will retrieve data from an XML attribute based on the user input in a web service. To that end, I assumed I would start building a ...
-1
votes
1answer
27 views
Webservice to validate for a given string if it is a city name [closed]
I have the following use case: Given a string return true/false if it is a city name.
I was wondering if there is an available online webservice that provides this information.
-6
votes
0answers
29 views
Webservice server doesnt work [closed]
I'm trying to write the server that makes webservice. Unfortunately I can not deal with it. Can someone see what I'm doing wrong? I'm running out of ideas :/
Here is a link to the project in eclipse.
...
0
votes
1answer
14 views
Can web service testing done using SOAPUI tool be done in Java completely?
In SOAP UI Web service testing,
User imports the Project in to the work space and mentions the End point. Enters the required data in the Request xml and runs to get the resulting response in xml ...
0
votes
0answers
30 views
Wsgen class not found
I have little problem with wsgen, everytime when I use it, I get error "class not found".
I want use it for class StudentServiceEndpoint in directory webservices. Any ideas how should I do it?
Here ...
0
votes
1answer
39 views
need to return value from AsyncTask [duplicate]
I am calling soap webservice and need to display what is returned. but I couldnt do it because AsyncTask is complex and I dont know how to use it properly. would you please tell me how to return data ...
0
votes
1answer
21 views
java.lang.ClassCastException: com.sun.xml.bind.v2.runtime.JAXBContextImpl cannot be cast to com.sun.xml.bind.api.JAXBRIContext
I created a jaxws web service. I totally followed the url
The service was up perfectly without any error. But the server having errors when request hit it.
SEVERE: caught throwable
...
0
votes
0answers
13 views
KSOAP2-Android SoapEnvelope Errors
hey am new in android programming trying to make a simple connection to a small webservice from an android app using KSOAP 2.4
here is my java code :
package com.example.wsclint;
import ...
0
votes
3answers
43 views
Generate Java objects from JSON
I need to generate a Java class from a JSON response recieved from a web service. I've used JAXB to handle xml, but I don't know how to handle JSON. Does anyone know if a tool exists for this job? ...
0
votes
0answers
22 views
Axis2 web-service in a multi module maven project
I've got an axis2 web-service generated from the WSDL file in a multi module maven project.
wsdl2java has generated the stubs and basic skeleton for me.
What's the best way to integrate those ...
0
votes
0answers
10 views
WSS4JInInterceptor or JAX WS Handler:which gets executed first?
I want to do some SOAP request validations in JAX WS Handler. I have also configured security via WSS4JInInterceptor. Will security be applied before call reaches JAX WS Handler or will Handler be ...
0
votes
2answers
28 views
Unable to locate NamespaceHandler for namespace [http://www.springframework.org/schema/context]
When I try run my application, i always get error: Unable to locate NamespaceHandler for namespace [http://www.springframework.org/schema/context]. I dont know whats is wrong.
So this is my ...
0
votes
0answers
12 views
Getting Session Information in Axis Framework
Background
I login the application and a session is created and then I make a web service request via axis, now in web service I need to get all the default data that current user has been assigned ...
0
votes
2answers
23 views
CXF Custom Validation Interceptor with custom response not working
I am trying to write a Custom CXF Interceptor to do some validations on SOAP request to a web service. Based on the validation results, I want to block the request to web service and return the ...