I got the "dynamic" wsdl import to work, thx guys - however, the wrong namespace is still sent out to the webservice and hence causes the error reported.
/clemens -----Original Message----- From: Simon Nash [mailto:[EMAIL PROTECTED] Sent: Friday, February 15, 2008 12:58 PM To: tuscany-dev@ws.apache.org Subject: Re: Tuscany: Axis2 codegen bug? - java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is not honoring the namespace [EMAIL PROTECTED] wrote: > Jean-sebastien, > Qualified = target namespace?or wsdl name? > > Say my wsdl is named aaa.wsdl do I reference it by http://aaa ? > Sorry for the slow response. I have been out sick for the last few days. The following definitely works. Other things might work as well, but I haven't tried them. The filename can be anything.wsdl as Sebastien says. (The "anything" part isn't used by Tuscany.) When you reference the WSDL in your .composite using <interface.wsdl interface="mynamespace#wsdl.interface(myporttype)" /> you need to replace mynamespace and myporttype in the above line to correspond with the actual QName of the portType as defined in your .wsdl file. Simon > Thx clemens > -----Original Message----- > From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> > To: tuscany-dev@ws.apache.org > Sent: 2/11/08 6:33 PM > Subject: Re: Tuscany: Axis2 codegen bug? - java interface exposed as service, > annoted with javax.xml.ws.RequestWrapper(...) is not honoring the namespace > > Clemens Utschig - Utschig wrote: >> shouldn't an <include> do it, so that I could potentially store the wsdl >> anywhere .. >> >> I'll try that later today - thx for the advise.. >> > > You don't even need an include, just place the WSDL file anywhere inside > your SCA contribution (JAR or folder), reference its qualified name from > your .composite and we should find it. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]