You can do this, however it works best with "simple types" and not complex types (if you are using rpc. The problem with complex types is you need an instance of the class to hand to the serializer/deserializer. The get the class instange a java file would need to be generated and compiled on the fly. Maybe someone else has a better suggestion for dealing with complex types in and rpc service.
Using WSDL4J api you can examime a wsdl programatically and discover the defined operations and etc about a service and create a call to the service dynamically. WSDLFactory wsdlFactory = WSDLFactory.newInstance(); WSDLReader wsdlReader = wsdlFactory.newWSDLReader(); wsdlReader.setFeature("javax.wsdl.verbose", true); wsdlReader.setFeature("javax.wsdl.importDocuments", true); wsdlDef = wsdlReader.readWSDL("", new InputSource(stream)); I have done this for rpc style but not yet looked at this with document style services as 1.1 had several errors relating to document style and have not had time to play around with 1.2Aphha. Ross -----Original Message----- From: Mohd Al Mahmood [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 9:25 AM To: [EMAIL PROTECTED] Subject: Question about dynamic deployement of Web services Hello. I have a question that I need to post, and thus I guess I need to subscribe. I am new to the AXIS world, but I am well familiar with Web Services. I have installed AXIS with Tomcat successfully, and I have run some examples that were supplied with the AXIS documentation. My question is, is there a tool or a program that enables me to dynamically read a WSDL file of a certain service and generate the according SOAP message as a request to use that service. I guess that is the true aim of Web Services, dynamic deployment of services. If this task could not be accomplished using AXIS, could please suggest other tools? Thank you. Yours; Mohd Al Mahmood _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus