Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am exposing a webservice using Axis 1.4. Below is my server-config.wsdd file.


com.member.service.RequestInfo contains

com.member.service.MemberInfoRequest contains


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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!