Solved

Modifying the WSDD of a web service deployed in Axis

Posted on 2004-09-22
3
144 Views
Last Modified: 2010-03-31
I'm trying to modify the output WSDL of a web service so that an application that a client is using can utilise it. Currently the response elements look like this:

<wsdl:message name="AddBookingResponse">
  <wsdl:part name="AddBookingReturn" type="xsd:string" />
</wsdl:message>

And what I need is for that to read:

<wsdl:message name="AddBookingResponse">
  <wsdl:part name="AddBookingResult " type="xsd:string" />
</wsdl:message>

Obviously we've been playing with the WSDD, and we've played around with the <operation> tag in that but to no avail... In fact we haven't found anything anywhere that tells us how to change the name of the output/response parameter from a web method.

Any idea???

Ged
0
Comment
Question by:gedmatt
3 Comments
 

Author Comment

by:gedmatt
ID: 12132097
I've answered my own question...

The client had a very specific WSDL, so I pulled this down, saved it out as a file pointed the Axis application  org.apache.axis.wsdl.WSDL2Java  at this.

It generated a load of Java classes and some WSDD, then I ignored the classes (i'd already written my own), edited the WSDD slightly, and BINGO... It looks the same, works properly and the client's happy!

I probably should have used this utility in the first place but, hey ho there we go...

Ged
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12446008
PAQed, with points refunded (250)

modulo
Community Support Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now