Open sergiofm opened 9 years ago
Try and set client=true Sometimes the interface isn't named what you would expect. Just look for the class marked as interface in your IDE.
On Monday, December 15, 2014 3:11 PM, Sergio Mendonça <notifications@github.com> wrote:
Hi,I had configurated the plugin, the wsdl2java runs without problems, but the clientInterface is not genereted. The other classes are genereted, but the interface is'nt. Any ideas what's happening?Here's my configuration and wsdl file:cxf {
client {
sigrhServiceClient {
wsdl = "grails-app/conf/sigrh-wsdl.xml" //only used for wsdl2java script target
namespace = "br.gov.sc.sea.sigrh"
client = false
clientInterface = br.gov.sc.sea.sigrh.SigrhServicePortType
serviceEndpointAddress = "${sigrh.webservice.url}"
wsdlArgs = ['-autoNameResolution','-frontend','jaxws21']
}
}
}<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns<
/span>:tns="http://sigrh.sea.sc.gov.br/SIGRH/SOA/Integracao/SAU_CIASC" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://sigrh.sea.sc.gov.br/SIGRH/SOA/Integracao/SAU_CIASC" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
wsdl:types
Your're right @ctoestreich, the interface was generated as SAUCIASCSoap.java, so a rename in the confuguration for that name and it's working. But, is that a bug? It should generate with the name I had configurated, right?
Thanks for the answer.
The name is defined by the endpoint through cxf. I am not sure off the top of my head if it can be renamed through a binding file. Maybe?!
Sent from Yahoo Mail on Android
Hi,
I had configurated the plugin, the wsdl2java runs without problems, but the clientInterface is not genereted. The other classes are genereted, but the interface is'nt. Any ideas what's happening?
Here's my configuration and wsdl file:
Thanks very mutch!