Hello here a sample with several web services (from binary sources wss4j)
Hophe this helps! José <definitions xmlns:s1=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd " xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://xmlsoap.org/Ping" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://xmlsoap.org/Ping" xmlns="http://schemas.xmlsoap.org/wsdl/"> <types> <s:schema elementFormDefault="qualified" targetNamespace=" http://xmlsoap.org/Ping"> <s:import namespace=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd "/> <s:element name="Ping" nillable="true" type="tns:ping"/> <s:complexType name="ping"> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="ticket" type="tns:ticketType"/> <s:element minOccurs="1" maxOccurs="1" name="text" nillable="true" type="s:string"/> </s:sequence> </s:complexType> <s:complexType name="ticketType"> <s:simpleContent> <s:extension base="s:string"> <s:attribute ref="s1:Id"/> </s:extension> </s:simpleContent> </s:complexType> <s:element name="PingResponse" nillable="true" type="tns:pingResponse"/> <s:complexType name="pingResponse"> <s:sequence> <s:element minOccurs="1" maxOccurs="1" name="text" nillable="true" type="s:string"/> </s:sequence> </s:complexType> </s:schema> <s:schema elementFormDefault="qualified" targetNamespace=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd "> <s:attribute name="Id" type="s:string"/> </s:schema> </types> <message name="PingRequest"> <part name="ping" element="tns:Ping"/> </message> <message name="PingResponse"> <part name="pingResponse" element="tns:PingResponse"/> </message> <portType name="PingPort"> <operation name="Ping"> <input message="tns:PingRequest"/> <output message="tns:PingResponse"/> </operation> </portType> <binding name="PingBinding" type="tns:PingPort"> <soap:binding style="document" transport=" http://schemas.xmlsoap.org/soap/http"/> <operation name="Ping"> <soap:operation soapAction="Ping" style="document"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> </binding> <service name="PingService"> <port name="Ping1" binding="tns:PingBinding"> <soap:address location="http://localhost:9080/pingservice/Ping1 "/> </port> <port name="Ping2" binding="tns:PingBinding"> <soap:address location="http://localhost:9080/pingservice/Ping2 "/> </port> <port name="Ping2a" binding="tns:PingBinding"> <soap:address location="http://localhost:9080/pingservice/Ping2a "/> </port> <port name="Ping3" binding="tns:PingBinding"> <soap:address location="http://localhost:9080/pingservice/Ping3 "/> </port> <port name="Ping4" binding="tns:PingBinding"> <soap:address location="http://localhost:9080/pingservice/Ping4 "/> </port> <port name="Ping5" binding="tns:PingBinding"> <soap:address location="http://localhost:9080/pingservice/Ping5 "/> </port> <port name="Ping6" binding="tns:PingBinding"> <soap:address location="http://localhost:9080/pingservice/Ping6 "/> </port> <port name="Ping7" binding="tns:PingBinding"> <soap:address location="http://localhost:9080/pingservice/Ping7 "/> </port> <port name="STPing1" binding="tns:PingBinding"> <soap:address location=" http://localhost:9080/pingservice/STPing1"/> </port> <port name="STPing3" binding="tns:PingBinding"> <soap:address location=" http://localhost:9080/pingservice/STPing3"/> </port> <port name="STPing4" binding="tns:PingBinding"> <soap:address location=" http://localhost:9080/pingservice/STPing4"/> </port> </service> </definitions> On 4/11/07, biswadip saha <[EMAIL PROTECTED]> wrote:
hi it will help http://www.w3.org/TR/wsdl.html On 4/11/07, biswadip saha <[EMAIL PROTECTED]> wrote: > > > hi friend, > one service is related to one wsdl. > thats why in url?wsdl is used. > to see wsdl for that service. > my answer was that only. > > > On 4/11/07, Vikas <[EMAIL PROTECTED] > wrote: > > > > Hi friends, > > > > It doesn't related to class with same name. > > I mean, > > > > can we have multiple > > > > <wsdl:service name="someWSName"> > > <wsdl:port></wsdl:port> > > </wsdl:service> > > > > tags in one WSDL file with different service name? > > > > *and* also can we have multiple <wsdl:portType></wsdl:portType> tags > > in one WSDL file? > > > > > > > > With best regards > > > > From > > Vikas R. Khengare > > > > > > ----- Original Message ----- > > *From:* biswadip saha <[EMAIL PROTECTED]> > > *To:* [email protected] > > *Sent:* Wednesday, April 11, 2007 4:22 PM > > *Subject:* Re: Can we define multiple web services in single WSDL? > > > > > > Hi all can you create two class in same directory with same name.??? > > its like that > > > > > > On 4/11/07, Nilesh Ghorpade <[EMAIL PROTECTED] > wrote: > > > > > > Hi Vikas, > > > > > > As per my knowledge you can define multiple services in a single > > > wsdl. > > > > > > > > > Regards > > > > > > Nilesh > > > > > > > > > ----- Original Message ---- > > > From: Vikas < [EMAIL PROTECTED]> > > > To: axis user <[email protected]> > > > Sent: Wednesday, April 11, 2007 3:59:04 PM > > > Subject: Can we define multiple web services in single WSDL? > > > > > > Hi Friends, > > > > > > Can we define multiple web services in single WSDL? > > > [Means If I want to define more than one web services in one WSDL, > > > can we do so? If "No", why so?] > > > > > > With best regards > > > From > > > Vikas R. Khengare > > > > > > > > > > > > ------------------------------ > > > Now that's room service! Choose from over 150,000 hotels > > > in 45,000 destinations on Yahoo! Travel<http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--%0A>to find your fit. > > > > > > > > > > > -- > > ################################## > > Sr. Software Developer > > +919899566690 > > ################################## > > > > > > > > > > o o o o o o o . . . ______________________________ > > o _____ || | > > .][__n_n_|DD[ ====_____ | | > > >(________|__|_[_________]_|____________________________| > > _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` > > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > > > > > > > -- > ################################## > Sr. Software Developer > +919899566690 > ################################## > > > > > o o o o o o o . . . ______________________________ > o _____ || | > .][__n_n_|DD[ ====_____ | | > >(________|__|_[_________]_|____________________________| > _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > -- ################################## Sr. Software Developer +919899566690 ################################## o o o o o o o . . . ______________________________ o _____ || | .][__n_n_|DD[ ====_____ | | >(________|__|_[_________]_|____________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-- José Ferreiro EPFL Communication Systems engineer ing.sys.com.dipl.EPFL
