Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Modifying the WSDD of a web service deployed in Axis

Posted on 2004-09-22
3
Medium Priority
?
161 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

TCP/IP Network Protocol Cheat Sheet

TCP/IP is a set of network protocols which is best known for connecting the machines that make up the Internet. The truth is that TCP/IP is one of the oldest network protocols and its survival is mainly based on its simplicity and universality.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 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…
This video teaches viewers about errors in exception handling.
Suggested Courses

730 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