Hi All,

When I try to write a carbon component, the WSDL file which generates from
the server component is as follows.

<wsdl:definitions targetNamespace="http://mgt.order.carbon.wso2.org";>
   <wsdl:documentation>OrderProcessor</wsdl:documentation>
     <wsdl:types>
       <xs:schema attributeFormDefault="qualified"
elementFormDefault="qualified" targetNamespace="
http://mgt.order.carbon.wso2.org";>
         <xs:import namespace="http://data.mgt.order.carbon.wso2.org/xsd"/>
           <xs:element name="getOrder">

But when I try to do a maven build from the service stub, I get the
following error.

[INFO] Executing tasks
     [java] Retrieving document at 'src/main/resources/OrderProcessor.wsdl'.
     [java] [Fatal Error] OrderProcessor.wsdl:1:70: The prefix "wsdl" for
element "wsdl:definitions" is not bound.
     [java] Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL


I appreciate you help in in this matter.

Thank you,
Regards,
Nishali

--
Nishali Wijesinghe
Intern - Engineering
WSO2, Inc.
lean.enterprise.middleware.
Tel: +94716913495
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to