Solved

Modifying the WSDD of a web service deployed in Axis

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
eclipse apache tomcat admin console 52 147
Error in @AspectJ Based AOP with Spring 2 23
Selenium docs api java index 3 63
How to log java errors in tomcat 8 23
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…
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…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

679 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