Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > multiple classes in axis deploy.wsdd

Reply
Thread Tools

multiple classes in axis deploy.wsdd

 
 
Jeremy
Guest
Posts: n/a
 
      04-24-2008
I've created several classes to be used as an axis web service, and I've
created the deploy.wsdd file which specifies the service elements (one for
each class), class nanes, methods and parameters. In the wsdd file I've
specified one service element for each class I've created. Is it possible
to specify one service element with multiple "className" parameter methods?
Basically I want all my web service classes to be part of one service.


example:

mywebservice1.java:

public class mywebservice1
{
public method1(int iParameter1)
{
...
}
}

mywebservice2.java:

public class mywebservice1
{
public method2(int iParameter2)
{
...
}
}

deploy.wsdd:
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="test/mywebservice1" provider="java:RPC">
<parameter name="className" value="mywebservice1"/>
<parameter name="allowedMethods" value="*"/>
<operation name="method1">
<documentation>Test method</documentation>
<parameter name="iParameter1">
<documentation>Test parameter</documentation>
</parameter>
</operation>
</service>

<!-- How do I combine these two service elements? -->

<service name="test/mywebservice2" provider="java:RPC">
<parameter name="className" value="mywebservice2"/>
<parameter name="allowedMethods" value="*"/>
<operation name="method2">
<documentation>Test method</documentation>
<parameter name="iParameter2">
<documentation>Test parameter</documentation>
</parameter>
</operation>
</service>
</deployment>






 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Axis question: what is the correct way to use Axis? ed Java 2 12-08-2006 07:31 PM
Calling a Web Service using Axis, from within an Axis Web Service running under Tomcat hocho888 Java 1 04-29-2005 08:26 PM
AXIS jars org.apache.axis.wsi.* and org.apache.axis.transport.jms.* unkwb@web.de Java 0 02-23-2005 04:02 PM
Axis 1.1 don't delete attachments in the axis attachment cache Stefan Java 0 05-06-2004 08:00 PM
axis.jar does not contain org.apache.axis.client.ServiceClient? Joey Vendetta Java 0 04-01-2004 05:51 PM



Advertisments