aspose file tools*
The moose likes Web Services and the fly likes Edit Soap tags response using Axis2 in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Edit Soap tags response using Axis2 in eclipse" Watch "Edit Soap tags response using Axis2 in eclipse" New topic
Author

Edit Soap tags response using Axis2 in eclipse

sweety kamal
Greenhorn

Joined: Feb 04, 2011
Posts: 4
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 .
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Edit Soap tags response using Axis2 in eclipse