Spent a bunch of time playing with the JWS and JAXWS TCK's last night and digging though specs to figure out what can be done here.
1) For the simple frontend, I can definitely make the default "parameters" for all cases. 2) For jaxws, I can make the default parameters for MOST cases. There are one or two cases where I cannot, but they are edge cases. (Example: all the OUT parts are header="true". The resulting wrapper type is an empty complex type.) Anyway, I'm going to work on getting this committed today. Dan On Wednesday 10 October 2007, William Leung wrote: > Very annoyance :((( > > After quite a few trys, I finally make HelloWorld worked with vs net > (2005). > > just change these line in WDSL: ( wrapped DOC/LIT ) > > <wsdl:message name="sayHiResponse"> > <wsdl:part element="tns:sayHiResponse" name="result"> > </wsdl:part> > </wsdl:message> > > after change the name from "result" to "parameters" > vs net recognized the WSDL, and "string hello.sayHi(string)" is > finally available. > > Anyone could tell me why? > > William Leung wrote: > > I am testing CXF and sadlly found that our method parameters and > > returns are not recognized in vs net. > > > > VS NET recongnized the sayHi function as > > --- sayHi ( sayHi As sayHi ) As sayHiResponse > > it should be > > --- sayHi ( arg0 As string) as string > > > > > > When I change the wsdl manually from > > > > <xsd:element name="sayHi" type="tns:sayHi"/> > > <xsd:complexType name="sayHi"> > > <xsd:sequence> > > <xsd:element minOccurs="0" name="arg0" type="xsd:string"/> > > </xsd:sequence> > > </xsd:complexType> > > > > to > > > > <xsd:element> > > <xsd:complexType> > > <xsd:sequence> > > <xsd:element minOccurs="0" name="arg0" > > type="xsd:string"/> </xsd:sequence> > > </xsd:complexType> > > </xsd:element> > > > > It worked, but I have no idea how could I make this changes without > > switch to "wsdl first" (I dont want to, I have just too many methods > > to export) > > > > Any help will be very appreciated -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] http://www.dankulp.com/blog