{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • API Design /
avatar image
0
Question by Sunandita Dam · Apr 18, 2016 at 04:35 AM · 656 Views wsdlvalidations

Message validation policy - Doesn't accept wsdl URL

We use SOAP message validation policy to validate the message against XSD/WSDL definition, but the limitation that I'm able to observe in this policy is that it doesn't accept the actual URL of XSD/WSDL , we are required to store the definition file in resources folder. The problem with this approach is that if in future definition/specification changes then it needs to be manually updated in resources folder.

I'm trying to understand the rational behind not supporting this.

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

2 Answers

  • Sort: 
avatar image
1
Best Answer

Answer by gnanasekaran · Apr 20, 2016 at 02:06 AM

Hi @Sunandita Dam, I think this is just an optimization for the runtime performance.

Let's say if the policy did accept URLs - then at runtime - it would have to make a http call to fetch the schemas. This would be expensive to do that at runtime, affecting the performance of every API call.

Ok the next immediate suggestion could be - why not cache it - then the next question is how long to cache it? when to invalidate the cache etc.. this adds a whole resource management aspect to it.

or the next best solution could be - you could implement a webhook in Apigee to Invalidate cache in Apigee when the schema changes -

So anyways, you [or some mechanism] should let Apigee know that schema has changed - for optimal runtime performance -

So I think the rationale is - if you are going to anyway notify Apigee - which is invoke an http endpoint - which is an API - for changes, then why not include the schema itself with the API. This is exactly the functionality Management API provides to import and deploy new proxies using just an API call.

I think this is a reasonable approach that optimizes both runtime performance and change management, do you agree?

Comment
Add comment Show 1 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Sunandita Dam   · Apr 20, 2016 at 04:32 AM 0
Link

@Mukundha Madhavan Thanks for the reply. It make sense.

avatar image
0

Answer by Sunandita Dam   · Apr 20, 2016 at 04:31 AM

@Mukundha Madhavan Thanks for the reply. It make sense.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

More than 2 WSDL to Same Proxy 1 Answer

Is it possible to return a WSDL using the WSDL/XSD resources within a proxy 1 Answer

Is there a way to determine if user belongs to a specific LDAP group? 0 Answers

How to Validate an Externally-generated OAuth token 2 Answers

Any out-of-box solution for validating request json in the api proxy? 0 Answers

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges