Re: Can't generate a Java interface from a WSDL portType

2008-06-10 Thread Simon Nash
Scott Kurz wrote: Simon, The question is do we look at the definitions of the WSDL document defining the imported portType or the definitions of the document defining a WSDL service in terms of the imported portType (since the TNS of each are different). I haven't read all of JAX-WS either

Re: Can't generate a Java interface from a WSDL portType

2008-06-10 Thread Mike Edwards
Folks, I tend to agree with Simon, that the package name would rightly be derived from the target namespace of the wsdl:definitions/ containing the portType definition, since it's the port type that defines the interface. So +1 to the CXF interpretation. On the other hand, there is a

Re: Can't generate a Java interface from a WSDL portType

2008-06-10 Thread Scott Kurz
On Tue, Jun 10, 2008 at 4:59 AM, Simon Nash [EMAIL PROTECTED] wrote: I tried this with the Sun RI and was surprised that it took the targetNamespace for the @WebService annotation from the portType's wsdl:definitions, even though it took the targetNamespace for the package name from the

Re: Can't generate a Java interface from a WSDL portType

2008-06-09 Thread Simon Nash
Jean-Sebastien Delfino wrote: Scott Kurz wrote: Sebastien, I'm surprised the package names would be different.What is the namespace you're using that isn't mapping to the same package in each tool? Just curious... My app is an order processing app with the following: WSDL service

Re: Can't generate a Java interface from a WSDL portType

2008-06-09 Thread Jean-Sebastien Delfino
Simon Nash wrote: Jean-Sebastien Delfino wrote: Scott Kurz wrote: Sebastien, I'm surprised the package names would be different. What is the namespace you're using that isn't mapping to the same package in each tool? Just curious... My app is an order processing app with the following:

Re: Can't generate a Java interface from a WSDL portType

2008-06-04 Thread Scott Kurz
The Apache CXF tool issues a warning but still gens Java w/ JAXB databindings from a portType WSDL. On Wed, Jun 4, 2008 at 5:00 PM, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: SCA allows you to define service interfaces using either WSDL or Java (and potentially other languages too). The

Re: Can't generate a Java interface from a WSDL portType

2008-06-04 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, I got the CXF code-gen plugin 2.1 working after debugging the plugin source code :-(. Here is the pom.xml snippt I figured out. Please note I had to override wsdlRoot/testWsdlRoot to be a non-existing file to avoid NPE (I assume it's CXF bug if the wsdl files are in

Re: Can't generate a Java interface from a WSDL portType

2008-06-04 Thread Scott Kurz
Sebastien, I'm surprised the package names would be different.What is the namespace you're using that isn't mapping to the same package in each tool? Just curious... On Wed, Jun 4, 2008 at 7:25 PM, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Raymond Feng wrote: Hi, I got the CXF