All,

Could someone comment as to just what my WSDD file may look like if I've implented a 
document style service that looks like the following?  I'm specifically curious as to 
how I describe the "someInstance" parameter to the method "method" -- and, will the 
WSDL generated from this source basically tell the client "Build an XML message with 
root name "SomeInstance" containing child "age" that is of type xsd:int, etc?

I'm really needing to get this squared away and it seems as if the Axis User Guide 
just kinda neglects this point -- is there an example in the samples?

Thanks!
Cory

-----------------------------------------------------
package com.somepackage;

public class MyService() {

     public void method(SomeInstance someInstance) {

     }
}
------------------------------------------------------
package com.somepackage;

public class SomeInstance() {

    private int age = 0;

    public SomeInstance() {
        
    }

    public void setAge(int age) {
        this.age = age;
    }
}
-------------------------------------------------------
WSDD for document style service

<deployment xmlns="http://xml.apache.org/axis/wsdd/"; 
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>

    <service name="SomeService" provider="java:RPC">
       <parameter name="className" value="com.somepackage.SomeInstance"/>
       <parameter name="allowedMethods" value="method"/>
    </service>
</deployment>

-------------------------------------------------------

Reply via email to