Hey again!
First of all thanks for your suggestions!

I've found some more errors in my wsdl file, and managed to get it to
work,
and so I was able to generate a service out of my wsdl file using
wsdl2java.

But I was wondering about the generated code.

First of all considering my messages and PortTypes...

<wsdl:message name="calculateRequest">
                <wsdl:part name="parameters" element="hh:Household"/>
        </wsdl:message>

        <wsdl:message name="calculateResponse">
                <wsdl:part name="body" element="hh:Result"/>
        </wsdl:message>

        <wsdl:message name="getInputObjectsRequest"/>
        <wsdl:message name="getInputObjectsResponse">
                <wsdl:part name="parameters" element="hh:Household"/>
        </wsdl:message>
        
        <wsdl:portType name="CalculableHouseholdServicePortType">
                <wsdl:operation name="getInputObjects">
                        <wsdl:input message="tns:getInputObjectsRequest"/>
                        <wsdl:output message="tns:getInputObjectsResponse"/>
                </wsdl:operation>
                <wsdl:operation name="calculate">
                        <wsdl:input message="tns:calculateRequest"/>
                        <wsdl:output message="tns:calculateResponse"/>
                </wsdl:operation>               
        </wsdl:portType>
... I wasn't expecting the Skeleton to look like

public void getInputObjects() (expected: public Household
getInputObjects() )
public void calculate() (expected: public Result calculate( Household
h )

Also I was wondering about the generated Messagereceiver class....
It is never invoked, and extended from a deprecated class....

If I'm not missing the point of generating the java classes, I could
simply write the "skeleton" class on my own, cause I don't see the
benefit of it.

Thanks again
Greets
Roman


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to