On Tuesday, March 27, 2012 12:35:56 PM Stephane Eybert wrote: > Thanks for the interest and support, it really is nice. > > Le Zhang, you described correctly my issue. > > In fact, even a simple String parameter is not shown in the generated wsdl > services list page. > > Daniel, I cannot say much on your suggestion because as a newbie I don't > understand these expressions: "wrapped endpoint" and "message part" that > you have used. > > As you can see in the wsdl file generated by the framework, there is no > parameters seen anywhere.
They are in the imported wsdl: <wsdl:import location="http://ws.nki.no/stas-ws-web/ginn?wsdl=StasGInnService.wsdl"... if you grab that wsdl, you'll likely see them there. The normal cause of this is different namespaces on the interface and the implementation. The "normal" fix for this is to make sure both the interface and the implementation have a @WebService annotation that specifies the targetNamespace attribute and make sure they are both the same. If either is missing, it's generated from the package name of that particular class. Thus, if the interface and impl are in different packages, that would cause this. Again, just make sure you specify the namespace on the @WebService annotation and it should just create one big wsdl. Dan > > <wsdl:definitions name="StasGInnServiceImplService" > targetNamespace="http://impl.service.common.ws.stas.nki.no/"><wsdl:import > location="http://ws.nki.no/stas-ws-web/ginn?wsdl=StasGInnService.wsdl" > namespace="http://service.common.ws.stas.nki.no/"> > </wsdl:import><wsdl:binding > name="StasGInnServiceImplServiceSoapBinding" > type="ns1:StasGInnService"><soap:binding style="document" > transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation > name="gUtFakturaFindAll"><soap:operation soapAction="" > style="document"/><wsdl:input name="gUtFakturaFindAll"><soap:body > use="literal"/></wsdl:input><wsdl:output > name="gUtFakturaFindAllResponse"><soap:body > use="literal"/></wsdl:output></wsdl:operation><wsdl:operation > name="gInnNettbrukerInsert"><soap:operation soapAction="" > style="document"/><wsdl:input name="gInnNettbrukerInsert"><soap:body > use="literal"/></wsdl:input><wsdl:output > name="gInnNettbrukerInsertResponse"><soap:body > use="literal"/></wsdl:output></wsdl:operation><wsdl:operation > name="gInnPostFJInsert"><soap:operation soapAction="" > style="document"/><wsdl:input name="gInnPostFJInsert"><soap:body > use="literal"/></wsdl:input><wsdl:output > name="gInnPostFJInsertResponse"><soap:body > use="literal"/></wsdl:output></wsdl:operation><wsdl:operation > name="gInnProspektiveInsert"><soap:operation soapAction="" > style="document"/><wsdl:input name="gInnProspektiveInsert"><soap:body > use="literal"/></wsdl:input><wsdl:output > name="gInnProspektiveInsertResponse"><soap:body > use="literal"/></wsdl:output></wsdl:operation><wsdl:operation > name="gInnKontraktFJInsert"><soap:operation soapAction="" > style="document"/><wsdl:input name="gInnKontraktFJInsert"><soap:body > use="literal"/></wsdl:input><wsdl:output > name="gInnKontraktFJInsertResponse"><soap:body > use="literal"/></wsdl:output></wsdl:operation><wsdl:operation > name="gInnProgramInsert"><soap:operation soapAction="" > style="document"/><wsdl:input name="gInnProgramInsert"><soap:body > use="literal"/></wsdl:input><wsdl:output > name="gInnProgramInsertResponse"><soap:body > use="literal"/></wsdl:output></wsdl:operation><wsdl:operation > name="gUtKundedataAgrFindAll"><soap:operation soapAction="" > style="document"/><wsdl:input name="gUtKundedataAgrFindAll"><soap:body > use="literal"/></wsdl:input><wsdl:output > name="gUtKundedataAgrFindAllResponse"><soap:body > use="literal"/></wsdl:output></wsdl:operation><wsdl:operation > name="gInnBesvarelserInsert"><soap:operation soapAction="" > style="document"/><wsdl:input name="gInnBesvarelserInsert"><soap:body > use="literal"/></wsdl:input><wsdl:output > name="gInnBesvarelserInsertResponse"><soap:body > use="literal"/></wsdl:output></wsdl:operation><wsdl:operation > name="gInnOrdreInsert"><soap:operation soapAction="" > style="document"/><wsdl:input name="gInnOrdreInsert"><soap:body > use="literal"/></wsdl:input><wsdl:output > name="gInnOrdreInsertResponse"><soap:body > use="literal"/></wsdl:output></wsdl:operation><wsdl:operation > name="gInnOrdreInsertCollection"><soap:operation soapAction="" > style="document"/><wsdl:input name="gInnOrdreInsertCollection"><soap:body > use="literal"/></wsdl:input><wsdl:output > name="gInnOrdreInsertCollectionResponse"><soap:body > use="literal"/></wsdl:output></wsdl:operation><wsdl:operation > name="gInnOrdreInsertSimple"><soap:operation soapAction="" > style="document"/><wsdl:input name="gInnOrdreInsertSimple"><soap:body > use="literal"/></wsdl:input><wsdl:output > name="gInnOrdreInsertSimpleResponse"><soap:body > use="literal"/></wsdl:output></wsdl:operation><wsdl:operation > name="gInnTilsendingInsert"><soap:operation soapAction="" > style="document"/><wsdl:input name="gInnTilsendingInsert"><soap:body > use="literal"/></wsdl:input><wsdl:output > name="gInnTilsendingInsertResponse"><soap:body > use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service > name="StasGInnServiceImplService"><wsdl:port > binding="tns:StasGInnServiceImplServiceSoapBinding" > name="StasGInnServiceImplPort"><soap:address > location="http://ws.nki.no/stas-ws-web/ginn"/></wsdl:port></wsdl:service>< > /wsdl:definitions> > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/How-to-show-method-input-parameters-in-th > e-wsdl-file-I-m-totally-stuck-tp5597248p5598726.html Sent from the > cxf-user mailing list archive at Nabble.com. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
