Because you named your type "submitReqType" in your schema.
If your type is also named as SubmitReq, the generated method should look like what 
you want.
Regards, Aki

> -----Original Message-----
> From: egemen kalyoncu [mailto:[EMAIL PROTECTED]
> Sent: Donnerstag, 29. Juli 2004 15:41
> To: [EMAIL PROTECTED]
> Subject: wrong method generation with WSDL2Java
> 
> 
> 
> i can't generate method that i want with WSDL2Java
> 
> i want to generate  method like this
> 
> public SubmitRsp mm7_response(SubmitReq)
> 
> but  WSDL2Java generate
> 
> public submitRspType  mm7_response(submitReqType)
> 
> is there anyone who suggest any idea?
> 
> Thanks.
> 
> Egemen
> 
> *************  related  part from my schema****************
> .........
> ............
> ..............
> 
> xs:element name="SubmitReq" type="tns:submitReqType">
> <xs:annotation>
> <xs:documentation>VASP to MMS : Sending MM from the VASP to 
> one or more 
> recipients</xs:documentation>
> </xs:annotation>
> </xs:element>
> <xs:element name="SubmitRsp" type="tns:submitRspType">
> <xs:annotation>
> <xs:documentation>MMS  to VASP: Response to a VASP after MM 
> submission 
> request</xs:documentation>
> </xs:annotation>
> </xs:element>
> ...........
> ......
> ....
> *****************my  wsdl file ****************
> 
> <definitions 
> targetNamespace="http://localhost:8080/axis/mm7/submitrsp";
> xmlns="http://schemas.xmlsoap.org/wsdl/";
> xmlns:tns="http://localhost:8080/axis/mm7/submitrsp";
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
> xmlns:types="http://www.3gpp.org/ftp/Specs/archive/23_series/2
> 3.140/schema/REL-5-MM7-1-2"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
> >
> 
> <import 
> namespace="http://www.3gpp.org/ftp/Specs/archive/23_series/23.
> 140/schema/REL-5-MM7-1-2" 
> location="REL-5-MM7-1-2.xsd" />
> 
> <message name="SubmitOut">
> <part name="mm7_out" element="types:SubmitRsp"/>
> </message>
> 
> <message name="SubmitIn">
> <part name="mm7_in" element="types:SubmitReq"/>
> </message>
> 
> <portType name="MM7SubmitRspPortType">
> <operation name="mm7_response">
> <input message="tns:SubmitIn" />
> <output message="tns:SubmitOut" />
> </operation>
> </portType>
> 
> <binding name="MM7SubmitRspSOAPBinding" 
> type="tns:MM7SubmitRspPortType">
> <soap:binding style="document" 
> transport="http://schemas.xmlsoap.org/soap/http"; />
> <operation name="mm7_response">
> <soap:operation style="document" soapAction="" />
> <input>
>     <soap:body  use="literal" />
> </input>
> <output>
> <soap:body use="literal" />
> </output>
> </operation>
> </binding>
> 
> <service name="MM7SubmitRspService">
> <port name="MM7SubmitSOAPPort" binding="tns:MM7SubmitRspSOAPBinding">
> <soap:address 
> location="http://localhost:8080/axis/services/MM7SubmitSOAPPort"; />
> </port>
> </service>
> 
> </definitions>
> 
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE* 
> http://join.msn.com/?page=features/virus
> 

Reply via email to