> I'm trying to figure out how exactly to return a custom type using
> Apache Axis.
[quoted text clipped - 10 lines]
> After I use Java2WSDL and WSDL2Java, what file do I need to look at in
> order to setup my service?
I really don't understand your problem: String is *not* a custom type.
Rhino
Jeffrey.Rodriguez@gmail.com - 29 Apr 2005 17:51 GMT
I was trying to create a complex type which contained 2 strings, but
decied to use two <part> tags instead.
I couldn't find an easy to get Java2WSDL to generate either, instead I
had to resort to editing the WSDL after I generated a basic WSDL with
JavaWSDL. After doing so I modified my method to return a 2 part
response:
<wsdl:message name="getServiceStatusResponse">
<wsdl:part name="status" type="xsd:string"/>
<wsdl:part name="comment" type="xsd:string"/>
</wsdl:message>
Now I need to figure out how to get that response into my client :)