Forum Discussion

soagang's avatar
soagang
New Contributor
15 years ago

Error importing WSDL

I am using soapUI 2.5 beta1
I am not able to import a WSDL that points to an asynchronous web service.

I am getting Error importing WSDL

Here is what all I have tried
1. I tried the WSDL url on web browser.  It works
2. The webservice is developed using Oracle BPEL.  It works fine when tested from Oracle BPEL Console
3. I made a local copy of the WSDL file and pointed to that in the WSDL dialog, still got same error

Is it like - the free SOAPUI does not support Async processes, and we need to use the pro version?


Here is my WSDL File



     name="AsyncProcess"
     targetNamespace="http://xmlns.oracle.com/AsyncProcess"
     xmlns="http://schemas.xmlsoap.org/wsdl/"
     xmlns:tns="http://xmlns.oracle.com/AsyncProcess"
     xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
     xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
     xmlns:client="http://xmlns.oracle.com/AsyncProcess"
    >
   
       
           
       

       
           
       

   

   
       
   

   
       
   

   
       
   

   
       
   

   
       
   

   
       
           
       

   

   
       
           
       

   

   
       
       
           
           
               

               
           
       

   

   
       
       
           
           
               

               

               
           
       

   

   
       
           

       

   

   
       
           

       

   

 

   

     

   


   

     

   


 


3 Replies

  • soagang's avatar
    soagang
    New Contributor
    This is what I found in the error log

    2009-06-26 13:51:05,718 ERROR [errorlog] javax.wsdl.WSDLException: WSDLException (at /definitions/types/schema[2]): faultCode=OTHER_ERROR: Unable to locate with a locator the schema referenced at 'http://personal:80/orabpel/xmllib/ws-addressing.xsd' relative to document base 'http://personal/orabpel/default/AsyncProcess/1.0/AsyncProcess?wsdl'
    javax.wsdl.WSDLException: WSDLException (at /definitions/types/schema[2]): faultCode=OTHER_ERROR: Unable to locate with a locator the schema referenced at 'http://personal:80/orabpel/xmllib/ws-addressing.xsd' relative to document base 'http://personal/orabpel/default/AsyncProcess/1.0/AsyncProcess?wsdl'
    at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
    at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlInterfaceDefinition.load(WsdlInterfaceDefinition.java:46)
    at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinition(WsdlContext.java:65)
    at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinition(WsdlContext.java:30)
    at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.cacheDefinition(AbstractDefinitionContext.java:251)
    at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.access$400(AbstractDefinitionContext.java:42)
    at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:217)
    at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
    at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
    at java.lang.Thread.run(Unknown Source)
  • soagang's avatar
    soagang
    New Contributor
    ok...I got around it now...but I am not satisfied.

    1. I created a copy of this WSDL file in C:\
    2. The above error shows it cant find ws-addressing.xsd.  So I placed this file directly under c:\
    3. It next gave error it cant find the xsd file (which has been imported in the WSDL).  So I manually copied that file too to the C:\

    Now it is able to parse.  But this is ridiculous.  Obviously I must be doing something wrong.  Can somebody guide me.

    So while its not exactly a problem with Asynchronous services, the problem is soapui is not able to find the imported schemas.