Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Edit Soap tags response using Axis2 in eclipse

 
sweety kamal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic