Solved

Modifying the WSDD of a web service deployed in Axis

Posted on 2004-09-22
3
143 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

744 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

15 Experts available now in Live!

Get 1:1 Help Now