You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ocurbelo <oc...@wfscorp.com> on 2016/02/17 23:59:25 UTC

Unable to import schemas when generating WSDL

I created a cxf endpoint:

     <cxf:cxfEndpoint id="wsServerCanonicalRegistry" 
                address="/canonical/"
		serviceClass="com.wfs.api.ws.service.CanonicalService"  
		loggingFeatureEnabled="true" loggingSizeLimit="20">
	</cxf:cxfEndpoint>

and the SEI :

@WebService(name = "CanonicalService", serviceName = "CanonicalService",
targetNamespace = "http://xmlns.wfscorp.com/CanonicalService")
@BindingType(SOAPBinding.SOAP12HTTP_BINDING)
public interface CanonicalService {

  @WebMethod()
  @WebResult(targetNamespace = "http://xmlns.wfscorp.com/CanonicalService")
  TransmitsCollection getCanonicalByConversationId(@WebParam(name =
"conversationId", targetNamespace =
"http://xmlns.wfscorp.com/CanonicalService") String conversationId);
}

The result is related to the schema namespace
http://xmlns.wfscorp.com/WFSCanonicalFuelInvoice/100 and local defined xsd
file

My issue is that I want the wsdl generated without the schemas embedded and
instead an import to them

I have tried many ways and it is not working for me. Any help please?



--
View this message in context: http://camel.465427.n5.nabble.com/Unable-to-import-schemas-when-generating-WSDL-tp5777824.html
Sent from the Camel - Users mailing list archive at Nabble.com.