Getting 'Unexpected element : OPEN_TAG' Exception when loading CEM Web Services in SoapUI 5.0.

Document ID:  TEC1904657
Last Modified Date:  06/12/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Application Performance Management

Releases

  • CA Application Performance Management:Release:10.0
  • CA Application Performance Management:Release:10.1
  • CA Application Performance Management:Release:10.2
  • CA Application Performance Management:Release:10.3
  • CA Application Performance Management:Release:CA APM 9.7

Components

  • INTROSCOPE:APMISP
  • CUSTOMER EXPERIENCE MANAGER:APMCM
Issue:

When trying to load the CA CEM Web Services WSDL URL in a SoapUI 5.0 project, it throws the following exception:
 

Error loading [http://chear01-e7440:8081/wily/cem/webservices/ConfigurationDataOutService]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected element: OPEN_TAG
 

Below is a snippet of the error stacktrace in the SoapUI error.log file:

 
org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected element: OPEN_TAG

at com.eviware.soapui.support.xml.XmlUtils.createXmlObject(XmlUtils.java:210)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.readCleanWsdlFrom(WsdlLoader.java:123)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:101)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:488)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:477)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:94)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:209)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:131)
at java.lang.Thread.run(Unknown Source)

 

Steps to reproduce the issue:

1. Start the Introscope Enterprise Manager.

2. Expose all the CA CEM Web Services in a browser and make sure they have loaded successfully.

3. Open SoapUI 5.0 and create a new SOAP Project

4. Enter the CEM web service WSDL URL and click OK.

6.png

5. Observe the following error being thrown: 

7.png

NOTE: This problem only affects the CEM Web Services. The Introscope Web Services WSDL URL can be loaded successfully with SoapUI.

Environment:
SoapUI 5.0 All supported APM releases with CEM.
Cause:

The error is most probably due to certain formatting in the CEM Web Service WSDL not passing the SoapUI parse validation.

Workaround:

To work around the issue, save the successfully parsed xml from the browser window as a .xml file, and then open it with SoapUI.

Additional Information:

Although the above steps will address the exception, the user will still encounter problems with CEM Web Services authentication in SoapUI due to the nature of the CEM Web Services which uses Form-based authentication. To overcome this authentication problem, please see TEC1641303 for more details.

If using SoapUI is not required, a better alternative is to retrieve CEM data would be to write your own Web Service client code, use the CEMExportTool, or the CEM UI > Export Data tab.

 

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >

Chat with CA

Just give us some brief information and we'll connect you to the right CA ExpertCA sales representative.

Our hours of availability are 8AM - 5PM CST.

All Fields Required

connecting

We're matching your request.

Unfortunately, we can't connect you to an agent. If you are not automatically redirected please click here.

  • {{message.agentProfile.name}} will be helping you today.

    View Profile


  • Transfered to {{message.agentProfile.name}}

    {{message.agentProfile.name}} joined the conversation

    {{message.agentProfile.name}} left the conversation

  • Your chat with {{$storage.chatSession.messages[$index - 1].agentProfile.name}} has ended.
    Thank you for your interest in CA.


    Rate Your Chat Experience.

    {{chat.statusMsg}}

agent is typing