axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walter.Kwaan" <Walter.Kw...@target.com>
Subject RE: Using wsdd/dynamic deployment to generate WSDL with multiple serv ices
Date Mon, 02 Dec 2002 20:33:57 GMT
i was able to utilize the <operation/> element to create the new methods i
wanted exposed.
 
e.g.:
 
 
	<service name="myService" provider="java:RPC">	<!-- we're doing RPC
style -->

		<parameter name="className" value="com.foo.bar"/>	<!--
the class we're exposing -->



		<operation name="methodOne" returnType="rtns:short"
xmlns:rtns="http://www.w3.org/2001/XMLSchema">	<!-- our method returns a
short -->

			<parameter name="line1" type="tns:string"
xmlns:tns="http://www.w3.org/2001/XMLSchema" mode="INOUT" />	<!-- note
the INOUT mode attribute -->

		</operation>

		

		<operation name="methodTwo" returnType="rtns:short"
xmlns:rtns="http://www.w3.org/2001/XMLSchema">	<!-- a second method - the
exact same layout as the first, but the data is processed a bit differently.
-->

			<parameter name="line1" type="tns:string"
xmlns:tns="http://www.w3.org/2001/XMLSchema" mode="INOUT" />	<!-- again,
note the INOUT mode attribute -->

		</operation>



		<parameter name="allowedMethods"
value="methodOne,methodTwo"/>	<!-- our service only allows these 2 methods
or operations. -->

	</service>
-----Original Message-----
From: Tom Jordahl [mailto:tomj@macromedia.com]
Sent: Monday, December 02, 2002 2:26 PM
To: 'axis-user@xml.apache.org'
Subject: RE: Using wsdd/dynamic deployment to generate WSDL with multiple
serv ices


 
There is a <wsdlFile>/path/to/file</wsdlFile> element in the service
declaration in WSDD.
Axis will return this file instead of generating WSDL on the fly if this is
set.
 
-- 
Tom Jordahl 
Macromedia Server Development 
-----Original Message-----
From: ajbanck@informatica.com [mailto:ajbanck@informatica.com]
Sent: Monday, December 02, 2002 2:49 PM
To: axis-user@xml.apache.org
Subject: Using wsdd/dynamic deployment to generate WSDL with multiple serv
ices


 
Hello,
I am looking for a way to dynamically create a single WSDL with multiple
services.
 
I succeeded in generating a static WSDL having multiple services with
Java2WSDL, but can't find a way to specify this with WSDD.
 
Is there a way to do this with WSDD, if yes, how can I do it?
 
If not, is there a 'best practice' for this, maybe it's possible to import
the dynamic WSDL's into a single 'wrapper', or hints on extending the wsdd
format? I really  want to do this dynamically.
 
(we are trying to do this to share lots of complex data types between
services, and this has to work easily with .NET)
 
Thanks,
ArentJan
 

Mime
View raw message