Yes, I tried this. Is this working with aegis ? I added geronimo-ws-metadata in my classpath with no success !
I tried also the following file with no success. <?xml version="1.0" encoding="UTF-8"?> <mappings xmlns:sample="http://DefaultNamespace"> <mapping name="sample:MathService"> <method name="add"> <return-type name="sum"/> </method> </mapping> </mappings On Jan 8, 2008 6:52 PM, Eric Rodriguez <[EMAIL PROTECTED]> wrote: > @WebResult(name="sum") > double sum(double arg0, double arg1) { > return (arg0 + arg1) > } > > > tog wrote: > > Thanks Eric, > > > > but what I want to change is in the schema not in the part i.e. > > > > <xsd:complexType name="addResponse"> > > <xsd:sequence> > > <xsd:element name="return" type="xsd:double"/> > > </xsd:sequence> > > </xsd:complexType> > > > > Cheers > > Guillaume > > > > > > On Jan 8, 2008 6:00 PM, Eric Rodriguez <[EMAIL PROTECTED]> wrote: > >> Try @WebParam > >> > >> http://cwiki.apache.org/CXF20DOC/how-do-i-develop-a-service.html > >> > >> Regards, > >> > >> > >> tog wrote: > >>> When publishing a service using aegis, the name of the output message > >>> is "return" when my code is doing something like: > >>> > >>> double sum(double arg0, double arg1) { > >>> return (arg0 + arg1) > >>> } > >>> > >>> I mean the wsdl is this: > >>> <xsd:complexType name="addResponse"> > >>> <xsd:sequence> > >>> <xsd:element name="return" type="xsd:double"/> > >>> </xsd:sequence> > >>> </xsd:complexType> > >>> > >>> Is there a way to change the name - I would like it not to be a java > >>> keyword :-) ? > >>> > >>> Cheers > >>> > > > > > > > -- Best Regards Guillaume http://cheztog.blogspot.com
