axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18848] - Wrong WSDL generated from wrapped web service
Date Thu, 17 Apr 2003 08:55:47 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18848>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18848

Wrong WSDL generated from wrapped web service





------- Additional Comments From kevinj@develop.com  2003-04-17 08:55 -------
If I add the operation element I get an exception at the server

"java.lang.Exception: The OperationDesc for add was not synchronized to a method
of kevinj.Math."

My wsdd looks like this

    <service name="axismaths" provider="java:RPC" style="wrapped" use="literal">
        <namespace>http://localhost/axismaths/services/axismaths</namespace>
        <parameter name="className" value="kevinj.Math"/>
        <parameter name="allowedMethods" value="*"/>
        <beanMapping qname="ns:local" xmlns:ns="urn:kevinj:axismath"
            languageSpecificType="java:kevinj.MathException"/>
        <operation name="add" qname="add" returnQName="return"
returnType="java:double">
            <parameter name="d1" type="java:double"/>
            <parameter name="d2" type="java:double"/>
        </operation>
    </service>
</deployment>

and my impl class has a maths method that looks like this

package kevinj
public class Math
{
    public double add(double d1, double d2)
etc..

What should the <operation> look like?

Mime
View raw message