• 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

How to specify the tag name to start with capital letter in Axis webservice

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am exposing a webservice using Axis 1.4. Below is my server-config.wsdd file.

server-config.wsdd



com.member.service.RequestInfo contains



com.member.service.MemberInfoRequest contains



Similarly

com.member.service.ResponseInfo contains



com.member.service.MemberInfoResponse contains



For this configuration I am getting the request and response body xml as below

Request xml:



Response xml:



The tag memberInfoRequest in Request xml is starting with small letters but I want that tag to start with Capital letter as MemberInfoRequestsimilarly for response I want the tag name as MemberInfoResponse. Where I went wrong? Is there any way to make this happen?
I am defining the parent body tag Get_Member_Info_Request in “server-config.wsdd” so I am able to get that tag as I required. But for the tags that present below the parent root tag I am not able to control the tag in such a way that it starts with capital letter. By default it is starting with small letter.

Help is required for changing the tag name memberInfoRequest in request xml to MemberInfoRequest and memberInfoResponse in response xml to MemberInfoResponse

Thanks for your time.

 
This cake looks terrible, but it tastes great! Now take a bite out of this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic