http://localhost:8080/aml/AmlService?wsdl is the WSDL which is generated from your service.

You still need to open the WSDL file to find out the service name and the port name.

BTW, can I have a look of URI of you CXF endpoint?
Maybe it shows something we are just missing.

On 7/7/11 10:56 PM, kmoens wrote:
Hi Willem,

yes, I double checked.
Got this also from the generated code:

package com.mycomp.aml;

import...

@WebServiceClient(name = "AmlService",
                   wsdlLocation =
"http://localhost:8080/aml/AmlService?wsdl";,
                   targetNamespace = "http://aml.mycomp.com/";)
public class AmlService extends Service {

     public final static URL WSDL_LOCATION;
     public final static QName SERVICE = new QName("http://aml.mycomp.com/";,
"AmlService");
     public final static QName AmlServicePort = new
QName("http://aml.mycomp.com/";, "AmlServicePort");
...



--
View this message in context: 
http://camel.465427.n5.nabble.com/Using-cxf-bean-to-invoke-external-webservice-tp4561146p4561318.html
Sent from the Camel - Users mailing list archive at Nabble.com.



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Reply via email to