sweety kamal

Greenhorn
+ Follow
since Feb 04, 2011
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sweety kamal

please post the solution I am stuck with .lck
6 years ago
Right click on project ->select webservices regenertae client and server again and it will automatically generate the rest of the thing
7 years ago
I am using eclipse to create Web Service server server and client.
How I go over doing it is create a Java class right click on it and create a web service and client using Axis2.

In my Java class I create a function which returns ArrayList/ Primitive data it works fine .

Question1: If I return resultset in the fuction it gives me error so is it not possible to pass resultset as a return type.

Question2: * The client in it's response return Soap with tags I want to edit the tag:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
- <soapenv:Body>
- <ns:resResponse xmlns:ns="http://sdsdd">
<ns:return>1</ns:return>
<ns:return>Reya</ns:return>
<ns:return>Application</ns:return>
<ns:return>4</ns:return>
<ns:return>riys</ns:return>
<ns:return>Application</ns:return>
<ns:return>5</ns:return>
<ns:return>riva</ns:return>
<ns:return>application</ns:return>
<ns:return>6</ns:return>
<ns:return>uiyrur</ns:return>
<ns:return>application</ns:return>
<ns:return>7</ns:return>
<ns:return>rahul</ns:return>
<ns:return>application</ns:return>
<ns:return>8</ns:return>
<ns:return>rita</ns:return>
<ns:return>application</ns:return>
<ns:return>9</ns:return>
<ns:return>rima</ns:return>
<ns:return>application</ns:return>
</ns:resResponse>
</soapenv:Body>
</soapenv:Envelope>

How it Says<ns:return> instead of that I want it to be like<id> where shall I make the changes .
7 years ago

public String getMessage(){
SOAPMessage message = messageFactory.createMessage();(line1)
............................some more code.....

//Save the message
message.saveChanges();(line 2)

message.writeTo(System.out);(line 3)

return String;}(line 4)

It prints the soap message to the console from line 3. I want the whole soap message as String as my function should return a String on line 4 which should be the whole soap message.
7 years ago