This week's book giveaway is in the Cloud forum.
We're giving away four copies of Terraform in Action and have Scott Winkler on-line!
See this thread for details.
Win a copy of Terraform in Action this week in the Cloud forum!

Arun Kumar

Ranch Hand
+ Follow
since Oct 10, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Arun Kumar

could you provide the stack trace?
9 years ago
you could follow the same steps mentioned in the link/video (copy your java file content to the new file and create a web service out of it)
9 years ago
You could use a soap UI tool to test your web services or with the following code snippet


9 years ago
where can i find scdjws 5 quiz or sample questions?
9 years ago
Try this in your code
@SOAPBinding
(
style = SOAPBinding.Style.DOCUMENT,
use = SOAPBinding.Use.LITERAL,
parameterStyle = SOAPBinding.ParameterStyle.WRAPPED
)
9 years ago
one of the ways is by using handlers on client/server side.
handlers would have access to both request and response.
9 years ago
do not think it can be done.
experts please advise
9 years ago
Answers in-line


1. If I want to send data as a String data, how to send that from the function (say sendData()) in my Java class as examples on the internet have shown sending only one String as a response?
Yes, you can send it (String can have values with some delimiter)

2. Is it possible/OK to send/return POJO as a response?
Yes, you can send POJO.

3. If I want to send data as POJO, how client which is a Android application can know which type of data is this and retrieve data from POJO?
You can use XML to send the data

10 years ago
could you provide more details on how the client is generated?

do you see any exceptions

10 years ago
you can use jdbc/hibernate to get the data from database and pass it as POJO/String response via apache-cxf
10 years ago
Vijaykumar, may be posting the complete error would help
10 years ago
Xolan, did you get this to work? I have same issue with Axis2.
10 years ago
You are getting a WARNING. I think you can still continue to create web service.

To resolve the warning, provide more info on com.tcee.myapps.WebService
10 years ago