Layer7 API Management

  • 1.  System Id of Global resource

    Posted Mar 29, 2017 05:36 AM

    Hi Team,

     

    I have downloaded all the dependent schemas by providing a url in system ID column of Validate XML Schema.

    But in system ID column of Manage Global resourse,i am able to see just relative path and not complete path of XSDs i.e for example ../abc.

    Below is the screenshot for same:-

     

    When i am trying to send request to my soap service using soap ui ,i am getting a schema validation error.Can you please provide me the reason for it,whether the problem is lying with relative path of xsd or it is a problem with the provided schema?



  • 2.  Re: System Id of Global resource

    Broadcom Employee
    Posted Mar 29, 2017 05:48 AM

    Hi Sonia,

     

    Can you please paste the error that you have received in schema validation and also screen shot of the schema validation assertion. Thanks.

     

    Regards,

    Ruchi



  • 3.  Re: System Id of Global resource

    Posted Mar 29, 2017 05:56 AM

    Thanks for prompt reply.

    the error is as :

    <l7:detailMessage id="5604">Schema validation failure: src-resolve: Cannot resolve the name 'prdVtG3:SparePartCode.Abstraction' to a(n) 'type definition' component.</l7:detailMessage>.

    We are using Validate XML Schema assertion.



  • 4.  Re: System Id of Global resource

    Broadcom Employee
    Posted Mar 29, 2017 08:15 AM

    Hi Sonia,

     

    Looks like the xsd file has some missing dependency. Have you verified all imports in the xsd file?

     

    Regards,

    Ruchi



  • 5.  Re: System Id of Global resource

    Posted Mar 29, 2017 08:18 AM

    yes..It did import all the dependent schemas without any prompt or errors.



  • 6.  Re: System Id of Global resource

    Broadcom Employee
    Posted Mar 29, 2017 08:42 AM

    Hi Sonia,

    One way to check would be to copy paste content of root xsd file in assertion text area and try to save it. Options that you should choose in "schema location" is "configure in advance". 

     

    Regards,

    Ruchi



  • 7.  Re: System Id of Global resource

    Posted Mar 29, 2017 09:48 AM

    Hi Ruchi,

    We observed that  the schemas are downloaded and one schema got created and remaining schemas were in ignored state in action column in Resource wizard.Can you please suggest why this is happening.What may be the reason ?



  • 8.  Re: System Id of Global resource

    Broadcom Employee
    Posted Mar 29, 2017 10:30 AM

    Hi Sonia,

    Just one more clarification, have you imported the wsdl file into the global resource and seen if this resolves the error?

    Regards,

    Ruchi



  • 9.  Re: System Id of Global resource

    Posted Mar 31, 2017 01:42 AM

    Yes i did.still not working



  • 10.  Re: System Id of Global resource
    Best Answer

    Posted Apr 04, 2017 03:41 AM

    Hi Sonia Mehta,

    At this stage, I suggest a new case be raised with CA support to look into this one.

    Regards

    Seenu mathew



  • 11.  Re: System Id of Global resource

    Posted Apr 04, 2017 04:29 AM

    Thanks Seenu Mathew  for your reply.