Forum Discussion

shail41's avatar
shail41
New Contributor
13 years ago

Error while loading/consuming WSDL

I am loading WSDL of Oracle Fusion CRM Application but i am not able to import into my project.

here is the wsdl link : https://fusionappsoer.oracle.com/oer/custom/oer/oracle/apps/sales/opptyMgmt/opportunities/opportunityService/OpportunityService.wsdl

I am getting the following error:

Error loading [https://fusionappsoer.oracle.com/oer/custom/oer/oracle/apps/sales/opptyMgmt/opportunities/opportunityService/OpportunityService.wsdl]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected element: OPEN_TAG

I have SoapUI version 4.5.1.

Can you please guide me through this error.

1 Reply

  • nmrao's avatar
    nmrao
    Icon for Champion Level 1 rankChampion Level 1
    Yes, there seemed to be error with underline schemas in the wsdl. It requires to get in touch with service provider.

    with targetNamespace http://www.w3.org/2003/05/soap-encoding
    15:07:06,635 DEBUG [WsdlLoader] Getting wsdl component from [https://fusionappsoer.oracle.com/oer/custom/oer/oracle/apps/sales/opptyMgmt/opportunities/opportunityService/OpportunityService.wsdl]
    org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected element: OPEN_TAG
    at com.eviware.soapui.support.xml.XmlUtils.createXmlObject(XmlUtils.java:211)
    at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:121)
    at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:535)
    at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:524)
    at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:97)
    at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:226)
    at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
    at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:149)
    at java.lang.Thread.run(Thread.java:722)
    15:07:12,524 ERROR [WsdlLoader] Failed to load url [https://fusionappsoer.oracle.com/oer/custom/oer/oracle/apps/sales/opptyMgmt/opportunities/opportunityService/OpportunityService.wsdl]
    15:07:12,525 ERROR [SoapUI] An error occured [com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException], see error log for details


    Also noticed that when you type in the wsdl in a browser, it is prompting for login page. I believe, they are secured services.