• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Edit Soap tags response using Axis2 in eclipse

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic