logo
down
shadow

WSO2 ESB: XML response in WSO2 REST API call not parsed


WSO2 ESB: XML response in WSO2 REST API call not parsed

Content Index :

WSO2 ESB: XML response in WSO2 REST API call not parsed
Tag : xml , By : cautionsign
Date : November 23 2020, 01:01 AM

this one helps. In the end the main problem showed up to be in proper MessageBuilder configuration. As long as the service response was a simple XML and as such it was marked in the response header, WSO2 passed it to the client just fine. Once the response was marked differently - in my case it was application/atom+xml, the default MessageBuilder did not applied and thus WSO2 expected the contnent to be SOAP. I added a builder configuration to the \repository\conf\axis2\axis2.xml:
<messageBuilder class="org.apache.axis2.builder.ApplicationXMLBuilder" contentType="application/atom+xml"/>

Comments
No Comments Right Now !

Boards Message :
You Must Login Or Sign Up to Add Your Comments .

Share : facebook icon twitter icon

wso2 - should I implement my services as WSO2 Carbon OSGi Custom Components or by using the WSO2 Product stack?


Tag : development , By : Sergio Rudenko
Date : March 29 2020, 07:55 AM
I wish did fix the issue. If you're providing the UI for your service in the Carbon admin console itself, which probably means you're extending/enhancing product functionality then yes, you must go down the path of writing OSGi bundles. Example: you're adding a new throttling algorithm which allow users to configure new throttling policies through the admin console which accepts many different parameters.
If you're developing functionality which will be used in a user level application, then you're not suppose to go down the OSGi path. Unless you're enhancing/modifying the platform you don't have to know anything about OSGi. For end users, when configuring the ESB, you don't have to write custom code unless your scenario cannot be configured with the existing mediators. ESB and DSS therefore follows a configuration driven approach (for end users) when you have to develop new services.

How to Secure REST Service using OAuth2 with WSO2 ESB 4.9.0 & WSO2-IS 4.5.0


Tag : development , By : Stone
Date : March 29 2020, 07:55 AM
wish help you to fix your issue As you can see in this class, OAuth2TokenValidationRequestDTO does not have a method setTokenType. But it's inner class OAuth2AccessToken has.

Howto call management services on WSO2 DAS if using SAML SSO federated authentication provided by WSO2 IS


Tag : web-services , By : nickthecook
Date : March 29 2020, 07:55 AM
Hope this helps Well. Until now there is no way to do this. The only workaround i can fin was to avoid using SAML by configuring the same user and tenant database used by the SSO provider to be used by the WSO2 product.

WSO2 IS 5.2.0 Admin SOAP Services response time compared to WSO2 IS 5.0.0


Tag : wso2 , By : Shitic
Date : March 29 2020, 07:55 AM
it helps some times It turned out to be a configuration issue. In the following file:
"[wso2is-5.2.0_HOME]\repository\conf\identity\identity.xml"
        <EventListener type="org.wso2.carbon.user.core.listener.UserOperationEventListener" name="org.wso2.carbon.identity.mgt.IdentityMgtEventListener" orderId="50" enable="true"/>

WSO2 IS - How to get custom claims from WSO2 Identity Server via user-info rest service


Tag : development , By : jch
Date : March 29 2020, 07:55 AM
Related Posts Related QUESTIONS :
  • Why must XML documents have a single root element?
  • Can root element have text in it?
  • Navigation concept in Roku
  • Removing new line between xml tags in unix shell script
  • How to output <ul> and <li> elements from XML to XSL?
  • SVG tag mismatch
  • xml schema list of incremental element name
  • Overwrite files with XSLT
  • Extract value statement using XML
  • What is the meaning of <xml lang="..">
  • XML Transformation - move childNode to another parentNode if hit maximum occurrence
  • Lateral view / explode in Spark with multiple columns, getting duplicates
  • How to transform xml data using datafactory pipeline
  • Ignore Namespace in XML document using Powershell
  • How can I get data from nested xml which doesn't use end tag in repeat items?
  • Formatter function doesn't work in XML Fragment
  • How to show nested entries within the playlist window in VLC?
  • XPath to get a full node except one child
  • XSLT - Root element not set
  • How to unencode escaped XML with xQuery
  • Find position of a node within a nodeset using xpath
  • Getting XML parse error in ColdFusion. Can the packet returned be validated?
  • Describe repeating XML nodes in W3C XML Schema?
  • Java/XML: Good "Stream-based" Alternative to JAXB?
  • Eclipse complains android:scrollbars and android:fadingEdge do not allow Strings - includes code
  • DTD (or XSD) problem with duplicate name element having different scopes
  • Most efficient way to store list structure in XML
  • What is the correct syntax for XSD to restrict attrributes values in the elements list?
  • Web based XML Editor
  • Looking for a free xsd scheme editor
  • Use XSLT to arrange a list of items in a table
  • XML: Check if anything exists between two nodes
  • Metatool for automatic xml code generation
  • Looking for a library of XSLT to create SVG charts
  • How to decide when to use XSD or DTD?
  • BlackBerry - Extract data from 3rd nesting level of xml
  • XSD schema for recursive XML
  • nokogiri xml unescape
  • How to visualize an XML schema?
  • NSString to NSData Failing in Encoding
  • XmlTextWriter.WriteFullEndElement tags on the same line
  • The case of "id" attribute when signing an element in a XML file
  • Increment a counter in VXML
  • how to build xml schema
  • How define several elements with same name, but different type in xsd:choice element?
  • How can you tell if an XMLlist object in AS3 contains a node?
  • Can XML schema be written to allow xs:attribute of either xs:date or xs:dateTime?
  • how to insert a SAML Assertion to SOAPHeader
  • How to migrate from XslTransform to XslCompiledTransform
  • Is there any better IDOMImplementation other than MSXML?
  • Indesign and XML - how to auto flow into multiple pages with differing styles?
  • XSLT - Add a XML node as header
  • Would like to validate a reference to a container in an XML
  • Dataweave - Trying to write END_DOCUMENT when document has no root
  • How can i export Orbeon form data into xml
  • Using XMLQUERY to retrieve specific XML data
  • Is there a semantical difference between <tag /> and <tag></tag> in XML?
  • Importing xml with nested nodes into Access (and needing to transform the xml into a 'flat' structure with xsl)
  • Why is my modified XML not saving the modified values?
  • How to ensure certain immediate siblings always appear in a specific order?
  • shadow
    Privacy Policy - Terms - Contact Us © scrbit.com