Switch to wrapped/literal style.
On Wed, 23 Mar 2005 17:27:33 -0500, Asthana, Rahul <[EMAIL PROTECTED]> wrote: > Hi Guys, > > Earlier I was trying by deploying a jws file, but now I have deployed it > using a jarfile. > Now from the wsdl file that I got by doing java2wsdl, I edited the entry of > the wsdl message name, and then created the plumbing code by doing > wsdl2java. But to no avail. > Axis is still appending "Response" to the response message name. Is there > any configuration in axis through which I can change this behaviour? > > Any help would be greatly appreciated. > > Rahul > > > -----Original Message----- > > From: Asthana, Rahul > > Sent: Wednesday, March 23, 2005 1:22 PM > > To: '[email protected]' > > Subject: Question regarding changing the name of the element in wsdl > > > > Hi All, > > I want to generate soap responses from axis; but I cant change the format > > in which my client consumes the soap responses.It has its own > > interpretation mechanism and won't use axis specific classes. > > My present problem is that this is the generated wsdl for a service that I > > deployed as .jws is like this- > > > > I specifically want to change this line which has come from appending > > "Response" to the name of my service. > > <wsdl:message name="BillerInqRqResponse"> > > to > > <wsdl:message name="BillerInqRqRes"> > > In short I want to change the generated wsdl for the service.Can I do it? > > Or if that is not possible, can I deploy a service with an existing wsdl ? > > regards > > Rahul > > > > <?xml version="1.0" encoding="UTF-8" ?> > > - <wsdl:definitions targetNamespace="http://127.0.0.1/axis/BillerInq.jws" > > xmlns:apachesoap="http://xml.apache.org/xml-soap" > > xmlns:impl="http://127.0.0.1/axis/BillerInq.jws" > > xmlns:intf="http://127.0.0.1/axis/BillerInq.jws" > > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > - <!-- > > WSDL created by Apache Axis version: 1.2RC3 > > Built on Feb 28, 2005 (10:15:14 EST) > > --> > > - <wsdl:message name="BillerInqRqRequest"> > > <wsdl:part name="MsgType" type="xsd:string" /> > > <wsdl:part name="ProcCode" type="xsd:string" /> > > <wsdl:part name="TerminalID" type="xsd:string" /> > > <wsdl:part name="OperatorID" type="xsd:string" /> > > <wsdl:part name="ClientDt" type="xsd:string" /> > > <wsdl:part name="RqVerNum" type="xsd:string" /> > > <wsdl:part name="LowVerNum" type="xsd:string" /> > > <wsdl:part name="HighVerNum" type="xsd:string" /> > > <wsdl:part name="DataSize" type="xsd:string" /> > > <wsdl:part name="LastPayeeID" type="xsd:string" /> > > <wsdl:part name="LastMdfyDt" type="xsd:string" /> > > </wsdl:message> > > - <wsdl:message name="BillerInqRqResponse"> > > <wsdl:part name="BillerInqRqReturn" type="xsd:string" /> > > </wsdl:message> > > - <wsdl:portType name="BillerInq"> > > - <wsdl:operation name="BillerInqRq" parameterOrder="MsgType ProcCode > > TerminalID OperatorID ClientDt RqVerNum LowVerNum HighVerNum DataSize > > LastPayeeID LastMdfyDt"> > > <wsdl:input message="intf:BillerInqRqRequest" name="BillerInqRqRequest" /> > > > > <wsdl:output message="intf:BillerInqRqResponse" name="BillerInqRqResponse" > > /> > > </wsdl:operation> > > </wsdl:portType> > > - <wsdl:binding name="BillerInqSoapBinding" type="intf:BillerInq"> > > <wsdlsoap:binding style="rpc" > > transport="http://schemas.xmlsoap.org/soap/http" /> > > - <wsdl:operation name="BillerInqRq"> > > <wsdlsoap:operation soapAction="" /> > > - <wsdl:input name="BillerInqRqRequest"> > > <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > > namespace="http://DefaultNamespace" use="encoded" /> > > </wsdl:input> > > - <wsdl:output name="BillerInqRqResponse"> > > <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > > namespace="http://127.0.0.1/axis/BillerInq.jws" use="encoded" /> > > </wsdl:output> > > </wsdl:operation> > > </wsdl:binding> > > - <wsdl:service name="BillerInqService"> > > - <wsdl:port binding="intf:BillerInqSoapBinding" name="BillerInq"> > > <wsdlsoap:address location="http://localhost:8080/axis/BillerInq.jws" /> > > </wsdl:port> > > </wsdl:service> > > </wsdl:definitions> > > >
