Thank you … tried this method in the end … From: Malintha Amarasinghe [mailto:[email protected]] Sent: Sunday, May 06, 2018 10:15 AM To: Ishara Cooray <[email protected]> Cc: Mintu Eapen <[email protected]>; WSO2 Developers' List <[email protected]> Subject: Re: [Dev] Support for WSDLs with WSDL/XSD imports with relative paths when creating an API using the WSDL
Hi Mintu, Currently, there is no way to import external XSDs in API Manager. At the moment, as Ishara mentioned the best way is to create a single WSDL by embedding all the dependencies. If it is not possible for you, we will need to create a WSDL with putting the full locations for XSDs over HTTP(s). i.e we cannot use file paths or relative paths. The HTTP locations should be available for API Manager server instance in order to import the WSDL. Once you published the particular API, the API's WSDL will be available in the store under API's overview. For any consumer to download the WSDL and create a client out of it, he will also need to have access to the particular XSD locations over HTTP(s). Thanks! Malintha 2018-05-06 6:05 GMT+05:30 Ishara Cooray <[email protected]<mailto:[email protected]>>: Hi Mintu, You can embed the xsd into wsdl itself so that you will not get dependency issues. Thanks & Regards, Ishara Cooray Senior Software Engineer Mobile : +9477 262 9512 WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware 2018-04-26 14:27 GMT+05:30 Mintu Eapen <[email protected]<mailto:[email protected]>>: Hi I am using the API Manager 2.2.0.. Recently I got a SOAP endpoint wsdl.. which is in turn referring to an external xsd. How do I import the xsd chema to API manager ?, in which file directory do I keep the xsd schema , so that my service works fine, with no dependency issues ? Mintu Eapen T: F: P.O.BOX: 4700, Dubai U.A.E E: [email protected]<mailto:[email protected]> Main building - MAKANI# 3089993465 Personal Status building - MAKANI# 3427491952 [cid:[email protected]] [cid:[email protected]]<https://twitter.com/DUBAICOURTS> [cid:[email protected]] <http://www.facebook.com/DubaiCourt?ref=hl> [cid:[email protected]] مينتو ايبان هاتف: فاكس: ص.ب: 4700 دبي إ.ع.م البريد الإلكتروني: [email protected]<mailto:[email protected]> [cid:[email protected]] [cid:[email protected]] هذه الرسالة و مرفقاتها تمثل وثيقة سرية قد تحتوي على معلومات تتمتع بحماية وحصانة قانونية، إذا لم تكن الشخص المعني بهذه الرسالة يجب عليك إبلاغنا فورا عن طريق صفحة التواصل<https://www.dc.gov.ae/PublicServices/ContactUs.jsf#form> على موقع المحاكم ، و حذف الرسالة و مرفقاتها من الحاسب الآلي الخاص بك. ولا يجوز لك نسخ هذه الرسالة و مرفقاتها أو أي جزء منها، أو البوح بمحتوياتها لأي شخص أو استعمالها لأي غرض. علماً بأن الإفادات و الآراء التي تحويها هذه الرسالة تعبر فقط عن رأي المُرسل و ليس بالضرورة رأي محاكم دبي، ولا تتحمل ( محاكم دبي) أي مسئولية عن الأضرار الناتجة عن أي فيروسات قد يحملها هذا البريد يرجى التفكير في البيئة قبل طباعة هذا البريد الالكتروني ومرفقاته Disclaimer: This message and its attachment are confidential and may contain legally privileged information. If you are not the intended recipient, please notify us immediately on our Contact Us<https://www.dc.gov.ae/PublicServices/ContactUs.jsf#form> page or delete this message and its attachment. You should not copy this message or disclose its contents to any other person or use it for any purpose. Statements and opinions expressed in this e-mail are those of the sender, and do not necessarily reflect those of Dubai Courts. Dubai Courts accepts no liability for damage caused by any virus transmitted by this email Please consider the environment before printing this e-mail and attachments _______________________________________________ Dev mailing list [email protected]<mailto:[email protected]> http://wso2.org/cgi-bin/mailman/listinfo/dev _______________________________________________ Dev mailing list [email protected]<mailto:[email protected]> http://wso2.org/cgi-bin/mailman/listinfo/dev -- Malintha Amarasinghe WSO2, Inc. - lean | enterprise | middleware http://wso2.com/ Mobile : +94 712383306
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
