Error when service provider imports metadata from wso2IS 5.3.0 - wso2

We are working with a service provider and they are having issues importing the metadata we exported from wso2. The error that they are seeing trying to import the metadata that was exported from wso2.
"Unexpected error during metadata import, likely caused by invalid XML: Invalid XML - errors: [error: cvc-complex-type.2.4a: Expected element 'AttributeService#urn:oasis:names:tc:SAML:2.0:metadata' instead of 'NameIDFormat#urn:oasis:names:tc:SAML:2.0:metadata' here in element AttributeAuthorityDescriptor#urn:oasis:names:tc:SAML:2.0:metadata, error: cvc-complex-type.2.4a: Expected element 'AttributeService#urn:oasis:names:tc:SAML:2.0:metadata' instead of 'NameIDFormat#urn:oasis:names:tc:SAML:2.0:metadata' here in element AttributeAuthorityDescriptor#urn:oasis:names:tc:SAML:2.0:metadata, error: cvc-complex-type.2.4c: Expected element 'AttributeService#urn:oasis:names:tc:SAML:2.0:metadata' before the end of the content in element AttributeAuthorityDescriptor#urn:oasis:names:tc:SAML:2.0:metadata
They are saying it is a configuration problem on our end but we many other working Service providers.
Edit adding metadata:
https://idp-dev.westga.edu/authenticationendpoint/idp-dev-metadata.xml

Related

Angular Module Federation issue in different Repo

Currently, I am working on an architect set-up for a project using Module Federation. I am able to connect different ports under the same package.json. However, I am failing to use each project as a separate application.
Code Base: https://github.com/Giridharan-k/FullStackCodePractice
How to connect projects from different Repo?
Getting Below Error:
module federation SyntaxError: Unexpected token 'export'
webpack-dev-server] Live Reloading enabled.
remoteEntry.js:4873 Uncaught SyntaxError: Unexpected token 'export'
core.mjs:6476 ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'init')
TypeError: Cannot read properties of undefined (reading 'init')
at angular-architects-module-federation-runtime.js:26:1
at Generator.next ()
at fulfilled (tslib.es6.js:73:43)
at ZoneDelegate.invoke (zone.js:372:1)
at Object.onInvoke (core.mjs:25483:33)
at ZoneDelegate.invoke (zone.js:371:1)
at Zone.run (zone.js:134:1)
at zone.js:1276:1
................

Error while importing an API, where as API is getting reflected in api publisher but throwing an error in APIMCLI

Migrating API from one environment to other environment, where as export is working fine and while importing it is throwing an error besides I can find the APP is getting reflected in API Publisher.
java.lang.RuntimeException: org.apache.cxf.interceptor.Fault: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 6 path $
org.apache.cxf.interceptor.Fault: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 6 path $

Pentaho Zimbra Web Service (zimbra.xsd not found)

I am trying to implement a database integration on a system that triggers, after a user creation, a account creation on Zimbra service through ZimbraAdminService.
The server version is 8.6
On Pentaho Web Service Lookup step, when I fill the URL field with https://example.com/service/wsdl/ZimbraAdminService.wsdl and hit "Load" button, I get the following error:
Could not load WSDL file: WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at 'zimbra.xsd'.: java.io.FileNotFoundException: This file was not found: file:/C:/Program Files/Pentaho/data-integration/zimbra.xsd
I already checked the documentation on https://wiki.zimbra.com/wiki/Wsdl
Anyone faced such problem and has a solution? Thanks.
To solve the problem above, I had to go to the browser, access the following addresses, load and save the XML generated of the xsd services as .xsd extension:
https://example.com/service/wsdl/zimbra.xsd
https://example.com/service/wsdl/zimbraAdmin.xsd
https://example.com/service/wsdl/zimbraAdminExt.xsd
https://example.com/service/wsdl/zimbraMail.xsd
https://example.com/service/wsdl/zimbraRepl.xsd
https://example.com/service/wsdl/zimbraSync.xsd
https://example.com/service/wsdl/zimbraVoice.xsd
Put this files on /your-program-install-folder/Pentaho/data-integration (on Windows - C:\Program Files\Pentaho\data-integration)
After doing that, the problem will be solved.

Referenced security token could not be retrieved (Reference "Issuer/Serial data element missing")

I am facing issue while integrating a spring base web service framework. A stand alone instance of the framework works perfectly fine.But after integrating with web-logic it gives the following exception. My assumption is conflicting jars while parsing the security header of the response.
Could not validate request: Referenced security token could not be retrieved
(Reference "Issuer/Serial data element missing"); nested exception is:
org.apache.xml.security.exceptions.XMLSecurityException:
Cannot create a http://www.w3.org/2000/09/xmldsig#:X509IssuerSerial from a http://www.w3.org/2000/09/xmldsig#:X509IssuerSerial element; nested exception is org.apache.ws.security.WSSecurityException: Referenced security token could not be retrieved (Reference "Issuer/Serial data element missing");
ultimately resulting in
javax.xml.bind.UnmarshalException: unexpected element (uri:"http://schemas.xmlsoap.org/soap/envelope/", local:"Fault").

WSO2 Governance Registry - Error Creating registry extension file (RXT)

When I am trying to upload the registry extension file (RXT) as Add resource - Create text content, I am getting the following error
Failed to add resource
with text based content to path /_system/governance/repository/components/org.w
so2.carbon.governance/types/myuri.rxt. An exception occurred while executing han
dler chain. java.lang.String cannot be cast to [B
I even tried to copy the same contents from an exisitng RXT for API or URI and tried to upload it and got the same error
I also referred to the Issue Tracker sample around creating extensions, still got the same error
Do you get this error when trying to upload the RXT file via the management console? If so, please try adding the RXT file to the following location:
G-Reg_home/repository/resources/rxts