Solved

Modifying the WSDD of a web service deployed in Axis

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tomcat not starting 6 45
how to install java on RHEL image on EC2 4 27
How to convert from xls to xlsx using java 7 39
How to determine if a string is a valid SHA value 7 31
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…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

770 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