On Nov 13, 2007 4:50 PM, Roman Schönbichler <[EMAIL PROTECTED]> wrote: > 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 ) > can you send your complete wsdl? just attach it as a file.
> Also I was wondering about the generated Messagereceiver class.... > It is never invoked, and extended from a deprecated class.... > Message receiver is invoked from the axis2 server when you deploy it. > 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. It depends on your wsdl. So it is better to try. thanks, Amila. > > Thanks again > Greets > Roman > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Amila Suriarachchi, WSO2 Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]