Read WSDL from URL

Hi ,
I want to access the WSDL file on a given URL(e.g. http://localhost:8181/WSWeb/services/WS?wsdl) and I want to diplay the methods exposed.How to do this ?
Please give reference to some sample code for doin the same.
Thanking you

Hi,
Regarding the Complex Tpyes, I had loads of problems too and took me very long to understand something on how to parse them successfully!
Breifly, the best approch, IMHO, is the following:
Get the the java.wsdl.Types from the java.wsdl.Definition object (that I assume you have).
One you have the Type object, its easy to get a schema element (org.w3c.dom.Element):
ExtensibilityElement schemaExtElem = findExtensibilityElement(pWSDLDefinition.getTypes().getExtensibilityElements(), "schema");
if ((schemaExtElem != null) && (schemaExtElem instanceof UnknownExtensibilityElement)) {
schemaElement = ((UnknownExtensibilityElement) schemaExtElem).getElement();
I then transformed my schemaElement into a JDOM element (org.jdom.Element) using org.jdom.input.DOMBuilder:
DOMBuilder domBuilder = new DOMBuilder();
org.jdom.Element jdomSchemaElement = domBuilder.build(schemaElement);
Once you have the JDOM element, it's easy to transform it into a Castor Schema (org.exolab.castor.xml.schema.Schema) using the SchemaReader (org.exolab.castor.xml.schema.reader.SchemaReader).
With Castor, its relativly easy to get what you need:
ElementDecl elementDecl = gTypesSchema.getElementDecl(part.getElementName().getLocalPart());
XMLType xmlType = elementDecl.getType();
if (xmlType.isComplexType()) {
// It's a complex type
ComplexType complexType = (ComplexType) xmlType;
There are probably other ways to do it (eg: PSVI), but I never found somebody in the mood to help!! ;)
All the best!
Xserty

Similar Messages

  • Unable to read WSDL from URL

    This is my first web service. I thought I read that the
    service registers itself when first run, but it's just not jumping
    for me. I'd try registering it, but I'm not sure how to fill in all
    the blanks in the CF Administrator's Register Web Service form.
    I believe I'm doing this pretty plain and simple. Any ideas
    why this won't work? Tried both methods, both give the same error
    -- "Unable to read WSDL from URL"
    Calling URL:
    http://prod.trollsoftware.com/echotest.cfm
    Is looking at:
    http://prod.trollsoftware.com/trollws.cfc?wsdl
    which looks fine to me, but what do I know? This is my
    first....
    RLS

    I found this wonderful forum post
    {HERE}">http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=7&threadid=881689[/S
    and have been tyring to get it to run without removing the "/"
    mapping in case that would "break" something on my production
    server. I've tried hard to get Approach #2 to work as listed in
    that item, but to no avail. I can almost always see the XML code,
    but CF never wants to find it as an object reference.
    To answer your questions -- and thank you for your help on
    this! --
    1. Yes. I can see the XML code just fine.
    2. No. I get unknown host, connection failure, status not
    available.
    3. Doesn't work with IP, but that was expected as there are
    many domains on this server, not just this one.
    So, to continue, I thought I'd back up and try it on my CF7
    server. The program runs from here [
    http://www.saphea.com/echotest.cfm
    against the WSDL/CFC file here [
    http://components.findaportal.com/wsdl/trollws.cfc?wsdl
    I can see the XML file just fine, but the echotest does not work
    (code attached).
    I created a mapping of "/wsdl" to
    "d:\clients\components\wsdl" in trying to emulate Approach #2, and
    created a web subdomain of
    http://components.findaportal.com
    to "d:\clients\components", but no dice. Approach #2 may have to be
    abandoned.
    Why would it work for you and not me? That's the weird part.
    RLS

  • DCA-40002: Failed to read WSDL from xsd

    Hi,
    I am a newbie to JDeveloper, we are using Oracle JDeveloper 11g to consume a web service from PeopleSoft 9.0.
    We have a WSDL based on a PeopleSoft Component Interface. We can view the wsdl document through the PeopleSoftServiceListeningConnector URL and it appears ok.
    However, when we create a new Web Service Data Control in JDeveloper, it presents us with the following error:
    DCA-40002: The WSDL document is invalid due to the following reason: java.io.IOException: Failed to read WSDL from
    http://machine:port/PSIGW/PeopleSoftServiceListeningConnector/M999999.V1.xsd:
    HTTP connection error code is 500.
    Any advice would be appreciated.
    Thanks in advance.
    Regards,
    Dan

    Hi, after 1 1/2 years you can assume the thread to be closed. So please open your own thread and make sure the WSDL file is accessible from a browser URL.
    Frank

  • Can not read data from URL!

    Hello,
    I want to read data from URL (http://84.100.130.82:8000/;stream.nsv). But can not do it. Because when try to call function openDataInputStream() shows this error: java.io.IOException: response does not start with HTTP it starts with: ICY. How I can fix this bug?
    HttpConnection c = null;
    InputStream is = null;
    OutputStream os = null;
    StringBuffer b = new StringBuffer();
    String           response,
    responseLitle;
    c = (HttpConnection)Connector.open(“http://84.100.130.82:8000/;stream.nsv”);
    os = c.openOutputStream();
    os.flush();
    is = c.openDataInputStream();     // ERROR CODE HERE
    int ch;
    // receive output
    while ((ch = is.read()) != -1)
    b.append((char) ch);
    response = b.toString();Regards, Ramunas

    Hi, I�m trying to do the same as above, get MP3 from a Shoutcast server.
    I got the same fault ("response does not start with HTTP it starts with: ICY") when I tried to open an HttpConnection as bellow:
    ============================================
    HttpConnection conn = (HttpConnection) Connector.open("http://64.236.34.196/stream/1074");
    Then I tried to open a socket connection as bellow:
    ======================================
    SocketConnection conn = (SocketConnection) Connector.open("socket://64.236.34.196:80");
    String get = "GET /stream/1074 HTTP/1.1";
    DataOutputStream os = conn.openDataOutputStream();
    os.writeUTF(get);
    InputStream is = conn.openInputStream();
    But then I got the following error:
    =========================
    java.lang.SecurityException: Target port denied to untrusted applications
    Could someone help me to find out what is going on?
    Thanks a lot!

  • Can not read file from URL

    I have this code for loadbitmap() function:
    String s = getCodeBase()+sdir+sfile;
    System.out.println("codeBase is=" + s);
    URL url = new URL(s);
    InputStream fs = url.openStream();
    BufferedInputStream bs = new BufferedInputStream(fs);
    And the file is a .bmp file, so I go on decoding this etc. It works fine within VisualCafe.
    When I created a virtual directory in IIS and run this applet from
    http://localhost/ImageApplet/ImageApplet.html address:
    I get in 1.3.1 Plug-in this error:
    codeBase is=http://localhost/ImageApplet/duke/some1.BMP
    Caught exception in loadbitmap!java.io.FileNotFoundException: http://localhost/ImageApplet/duke/some1.BMP
    If a type this as address in browser, it shows the image.
    Could any one tell me what I am doing wrong here?

    You can try this, even though it is not supposed to be different from your original code:
    URL url = new URL(getCodeBase(), sdir+sfile);
    System.out.println("getting image from " + url);
    InputStream fs = url.openStream();
    BufferedInputStream bs = new BufferedInputStream(fs);
    I could understand a SecurityException but a FileNotFoundException... A FileNotFoundException... You are reading from a stream originating from a URL, not a file!!!
    Which line causes the exception?

  • WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from

    Hi all,
    I enabled inbound security for a process using SSL for Certificate-Based Authentication.Security is successfully enabled but I am getting warning "WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL" when initiating test using HTML form as well as XML form.

    I have done the config based on bpel admin guide -> bpel_admin_10.1.3.1.0.pdf. and one more thing is after enabling SSL , I was not able to deploy from JDeveloper. however I deployed the application from console(bpel_*.jar).

  • Read file from URL and save to FTP

    Hi,
    I have worked in java few years back, now I am out of touch. My friend asked me to create an applet program for him which he can use to download a file from remote location to his ftp server.
    For e.g.
    File
    http://www.demo.com/filename.avi
    Saved to
    ftp://username:password@ftpsite_address/foldername
    I was searching for the classes which I can use to achieve this functionality.
    To save to FTP
    URL url = new URL("ftp://username:[email protected]/folder/filename");
    URLConnection urlconnection = url.openConnection();
    long l = urlconnection.getContentLength();
    OutputStream outputstream = null;
    outputstream = urlconnection.getOutputStream();Using the above code I can get the outputstream to which I can write.
    I am now stuck here, have some doubts.
    What all classes should I use to read a file like
    http://www.demo.com/filename.avi
    I know I can use URL to open connection to URLS and then streams to read the url.
    I am interested in knowing the class which I should use to read any type of file. File can be zip/avi/rar or anything else.
    What all method of the class should I use to read the file which will support all type of files.
    Which classes should I use to write the files. The files are going to be huge in terms of size.
    I have searched everywhere but every place different classes are used.
    Any help is appreciated.

    Ok now I have started coding but facing a problem.
    [PHP]try {
         URL url = new URL("http://url_to_file/test.txt");
         URLConnection urlconnection = url.openConnection();
         long l = urlconnection.getContentLength();
         fTextArea.append("Content Length = " + l);
         BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
         String line;
         while ((line = in.readLine()) != null)
              fTextArea.append("\n"+line);
         in.close();
    } catch (Exception e) {
    fTextArea.append(e);
    return;
    [PHP]
    When I run this code locally it works fine but when run in browser it shows security exception
    java.security.AccessControlException: access denied (java.net.SocketPermission site:80 connect,resolve)
    What should I do to resolve this error. Sorry for being such a noob but do not have much info about this.

  • Reading images from URL without knowing the format

    I have an image url like this: http://example.com/image.php?id=5605. How do I get the actual image from such an URL? I have tried using ImageIO.read and loading the url directly into an ImageIcon without success.

    yeah,
    I knew a little about linearization and but the idea was to help quick loading the very first page of a document while the rest of the data still is arriving. Not exactly what I needed here.
    Anyway, you have just confirmed my fears, I will have to know the document size, where exactly it ends on my stream, in order to correctly load it.
    I appreciate your help sir. Thanks for your time.
    Best regards.

  • Read xml from url

    Hello all,
    I am trying to get the data from this particular url : http://api.openweathermap.org/data/2.5/weather?q=London&mode=xml
    I have no problem to parse it directly from a .xml or in xml chain. But I can't read the data directly from labview or even save the file at the url under a .xml.
    I already looked for the example like read http website and other but didn't succeed to adapt to my url.
    If any of you can help me
    thank you
    Solved!
    Go to Solution.

    Both of these seem to work just fine here in LV 2011:
    Note that the second one will require adding Datasocket support if you're building an installer and that the HTTP client VIs were only added around 2011.
    Try to take over the world!

  • Urgent: Failed to read WSDL

    Hi,
    I am getting error in our production system similar to below error whenever the load in the server is very high. How do I resolve this problem?
    The process domain encountered the following errors while loading the process "myOrderBooking" (revision "1.0"): Failed to read wsdl.
    Failed to read wsdl at "http://127.0.0.1:9700/orabpel/default/CreditRatingService/CreditRatingService?wsdl", because "Failed to read WSDL from http://127.0.0.1:9700/orabpel/default/CreditRatingService/CreditRatingService?wsdl: HTTP connection error code is 502".
    Thanks,
    Ravi

    are you getting the HTTP 502 error?
    If so it looks like you have proxy issues getting out the external service. Either you are not going through a proxy service when one is required, or the traffic is being routed through a proxy server for an internal address.
    To try and solve it start a browser session on the server and test the URL. If successful configure the SOA proxy setting the same as the brower.
    cheers
    James

  • WSDLException: faultCode=INVALID_WSDL: Error reading import from oramds

    Hi,
    We are currently facing a strange problem. We have two composites that needs to be deployed on to the 11g SOA server.
    composite A and composite B. A is a dependent composite of composite B and we are referring the WSDL of composite B in composite A using oramds.
    Our oramds is pointing to DB based metadata repository and for the deployment time there is no issue encountered. Also during the deployment time we follow the order like deploy B and then deploy A. But when we need to restart our SOA Server , after restarting we see that though composite B is up and running state but composite A goes in pending state. Not able to diagnose the issue. Please note that the after the sucessful deployment both the composites are coming as up and running state. Below is the error we encountered in SOA diagnostic log .
    ####<Aug 31, 2010 1:00:09 PM EST> <Notice> <WebLogicServer> <serverhost> <WLS_SOA1> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1283223609404> <BEA-000332> <Started WebLogic Managed Server "WLS_SOA1" for domain "soadev1_domain" running in Development Mode>
    ####<Aug 31, 2010 1:00:13 PM EST> <Notice> <WebLogicServer> <serverhost> <WLS_SOA1> <main> <<WLS Kernel>> <> <> <1283223613150> <BEA-000365> <Server state changed to RUNNING>
    ####<Aug 31, 2010 1:00:13 PM EST> <Notice> <WebLogicServer> <serverhost> <WLS_SOA1> <main> <<WLS Kernel>> <> <> <1283223613152> <BEA-000360> <Server started in RUNNING mode>
    ####<Aug 31, 2010 1:00:33 PM EST> <Error> <oracle.integration.platform> <serverhost> <WLS_SOA1> <weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@2d6d72f7> <<anonymous>> <> <> <1283223633787> <SOA-20020> <Deployment of composite "CreateDisbursedPaymentJDEGlobalReqABCSImplV1" failed: [JCABinding] [CreateDisbursedPaymentJDEGlobalReqABCSImplV1.WriteBOFAFileDetails/1.0]Unable to complete load due to: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/apps/AIAMetaData/Banking/wsdl/DisbursedPaymentEBSV1.wsdl: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://serverhost:port/soa-infra/services/default/DisbursedPaymentEBSV1/DisbursedPaymentsEBSV1_ep?WSDL: HTTP connection error code is 503: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/apps/AIAMetaData/Banking/wsdl/DisbursedPaymentEBSV1.wsdl: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://serverhost:port/soa-infra/services/default/DisbursedPaymentEBSV1/DisbursedPaymentsEBSV1_ep?WSDL: HTTP connection error code is 503: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/apps/AIAMetaData/Banking/wsdl/DisbursedPaymentEBSV1.wsdl: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://serverhost:port/soa-infra/services/default/DisbursedPaymentEBSV1/DisbursedPaymentsEBSV1_ep?WSDL: HTTP connection error code is 503: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/apps/AIAMetaData/Banking/wsdl/DisbursedPaymentEBSV1.wsdl: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://serverhost:port/soa-infra/services/default/DisbursedPaymentEBSV1/DisbursedPaymentsEBSV1_ep?WSDL: HTTP connection error code is 503.>
    ####<Aug 31, 2010 1:01:23 PM EST> <Error> <oracle.integration.platform> <serverhost> <WLS_SOA1> <weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@2d6d72f7> <<anonymous>> <> <> <1283223683770> <SOA-20020> <Deployment of composite "UpdateDisbursedPaymentWBCReqABCSImplV1" failed: [JCABinding] [UpdateDisbursedPaymentWBCReqABCSImplV1.Delete_CO_DELETE_WSTP_DATA/1.0]Unable to complete load due to: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/apps/AIAMetaData/Banking/wsdl/DisbursedPaymentEBSV1.wsdl: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://serverhost:port/soa-infra/services/default/DisbursedPaymentEBSV1/DisbursedPaymentsEBSV1_ep?WSDL: HTTP connection error code is 503: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/apps/AIAMetaData/Banking/wsdl/DisbursedPaymentEBSV1.wsdl: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://serverhost:port/soa-infra/services/default/DisbursedPaymentEBSV1/DisbursedPaymentsEBSV1_ep?WSDL: HTTP connection error code is 503: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/apps/AIAMetaData/Banking/wsdl/DisbursedPaymentEBSV1.wsdl: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://serverhost:port/soa-infra/services/default/DisbursedPaymentEBSV1/DisbursedPaymentsEBSV1_ep?WSDL: HTTP connection error code is 503: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds:/apps/AIAMetaData/Banking/wsdl/DisbursedPaymentEBSV1.wsdl: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://serverhost:port/soa-infra/services/default/DisbursedPaymentEBSV1/DisbursedPaymentsEBSV1_ep?WSDL: HTTP connection error code is 503.>
    Appreciate a response.
    Thanks
    Soumya

    Thanks both of you for your response.
    @user13268867: Yes. I am using Stored Procedure.But The same thing is used in Provider as well. But EBS is not going in pending state.
    There is no migration as you mentioned. It is pure development from scratch on AIA 11gR1.
    @Pavan :
    Please find the dependency in the composite.
    In the Requestor:
    <reference name="DisbursedPaymentEBSV1"
    ui:wsdlLocation="oramds:/apps/AIAMetaData/Banking/wsdl/DisbursedPaymentEBSV1.wsdl">
    <interface.wsdl interface="http://xmlns.oracle.com/EnterpriseServices/Core/DisbursedPayment/V1#wsdl.interface(DisbursedPaymentEBS)"/>
    <binding.ws port="http://xmlns.oracle.com/EnterpriseServices/Core/DisbursedPayment/V1#wsdl.endpoint(DisbursedPaymentEBSV1_ep/DisbursedPaymentEBS_pt)"
    location="oramds:/apps/AIAMetaData/Banking/wsdl/DisbursedPaymentEBSV1.wsdl"/>
    </reference>
    In the EBS:
    <reference name="DisbursedPaymentBOFAProvABCSImplV1Service"
    ui:wsdlLocation="http://host:port/soa-infra/services/default/DisbursedPaymentBOFAProvABCSImplV1/DisbursedPaymentBOFAProvABCSImplV1.wsdl">
    <interface.wsdl interface="http://xmlns.fostersgroup.com/intg/COBankOfAmerica/DisbursedPaymentBOFAProvABCSImplV1#wsdl.interface(DisbursedPaymentBOFAProvABCSImplV1)"/>
    <binding.ws port="http://xmlns.fostersgroup.com/intg/COBankOfAmerica/DisbursedPaymentBOFAProvABCSImplV1#wsdl.endpoint(DisbursedPaymentBOFAProvABCSImplV1Service/DisbursedPaymentBOFAProvABCSImplV1_pt)"
    location="http://host:port/soa-infra/services/default/DisbursedPaymentBOFAProvABCSImplV1/DisbursedPaymentBOFAProvABCSImplV1Service?WSDL"/>
    </reference>
    When the EBS is up after restarting the server but Requestor is not.
    Please note that in the EBS composite I have referred the Provider WSDL directly using Server URL where as in the Requestor i have provided the Oramds path reference of the EBS runtime WSDL.
    Thanks
    Soumyajit

  • Inside EM Console Test Service button-- Parse WSDL Failed to read WSDL

    Hi,
    I have SOA 11.1.1.5 installed. Have HTTPS setup also. I have multiple partitions and am facing an issue to access wsdls of all the processes deployed under that partition.
    In EM Console when I click any Process under the partition in question then click Test and get a screen whith a button Parse WSDL when I select that button
    I get the below error
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from
    https://host:port/soa-infra/services/SServices/ServiceFileList/ServiceFileList_client_ep?WSDL:WSDL not found
    at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:157)
    at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:87)
    at oracle.sysman.emas.model.wsmgt.WSTestModel.init(WSTestModel.java:226)
    at oracle.sysman.emas.view.wsmgt.WSView.parseWSDL(WSView.java:166)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ............................All the Processes deployed in other partitions works fine and can access the wsdl just fine it's only this one partition where I am facing the above issue.
    Any help is appreciated.
    Thanks

    Here are the steps I took so far but no luck
    I went ahead deleted the custom folder that holds all xsds, wsdls from MDS and re-imported into MDS.
    Undeployed all the processes and deleted the partition through EM.
    Logged into MDS and ran delete from MDS_PATHS where path_fullname like '/deployed-composites/CustomServices%';
    Again created the same partition through EM and deployed the Process but ran into the same issue.
    As all the processes deployed in this partition have there schemas stored in MDS and are not part of the Project. So looks like it's not able to access the MDS for the referenced objects and so the wsdl load fails. But even if I deploy any other simple process that doesn't refer to MDS this also doesn't load the wsdl but if deploy the same process in other partition it works fine so wondering if there's anything with the Partition even though I deleted and re-created but somewhere it still keeps something.
    But any process that refers MDS if deployed in any other partition also doesn't work.
    So facing 2 issues why anything deployed in that particular partition doesn't work and second why any process that reference MDS for any objects doesn't work regardless of which Partition it gets deployed.
    I really want to solve this rather than doing a complete reinstall which to me may endup in the same scenario.
    When a paste the wsdl url in a browser this is what I get
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding addressInside the EM when click Test->Parse WSDL I get the below error
    The WSDL document could not be parsed
    The following error occured while parsing the WSDL location -
    WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL
    from https://hostname/soa-infra/services/CustomServices/CustomServicesNotification/customserviceemailnotification_client_ep?WSDL:WSDL not found
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from https://hostname/soa-infra/services/CustomServices/CustomServicesNotification/customserviceemailnotification_client_ep?WSDL:WSDL not found
    oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:157) at
    oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:87) at
    As am not sure if this could be due to MDS or something is corrupted on the mid-tier.
    Any help is really appreciated.
    Thanks

  • "HTTP500 - OTHER_ERROR: Failed to read WSDL" creating a Web Service in OBPM

    I'm currently experiencing a problem with OBPM 11g when trying to consume a Web service into my composite application.
    I have created a BPM Application and have previously been able to consume Web Services from our service bus. Since a recent restart of my client however, I can nolonger consume the same (or indeed any) service from any location as JDeveloper gives nme the following error when trying to access the WSDL file...
    Error while reading wsdl file
    http://<server>:<port>/<service>).wsdl
    Exception:
    WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from
    http://<server>:<port>/<service>).wsdl:
    HTTP Connection error code is 500
    I can navigate to the WSDL within IE on the same client and I have switched off the "Use HTTP Proxy Server" within the "Web Browser and Proxy" preferences'. Are there any other preferences or settings that could be causing this issue?
    Steps to reproduce...
    Open the cmpsite.xml view of the application
    Drag a Web service component from the Service Adapters within the SOA Componet pane
    Enter the name of the Service
    Paste the WSDL location into the WSDL URL
    Try to select port type
    At this point the error is received
    Thanks to anyone who can assist
    Darren
    Edited by: 784610 on 27-Jul-2010 02:32
    Edited by: 784610 on 27-Jul-2010 02:32

    Hi,
    I am facing the same issue while generating the client java class from IBM RAD 6.0.
    Here is the error I am getting.
    WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:
         [java] at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
         [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
         [java] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
         [java] at java.lang.Thread.run(Thread.java:571)
    Please guide me to resolve this issue.
    Thanks & Regards,
    Vijay

  • ORABPEL-10903 failed to read wsdl

    I have a process flow that was working nicely. I added one property in an XML document and now the process won't compile. I have removed the new line and I still receive this error. The error is:
    Error: [Error ORABPEL-10903]: failed to read wsdl [Description]: in "bpel.xml", Error loading schemas from wsdl. Error while loading schemas from wsdl file at location "file:/C:/OraBPELPM_1/integration/jdev/jdev/mywork/SalesForceDemo/SalesForceCreate/SalesForceCreate.wsdl". The reason is no protocol: XMLSchema.dtd. Please verify the schemas defined in wsdl. . [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    I don't know where to look to fix this problem. Does JDev keep some compiled classes around somewhere that need to be cleaned up? This is the second process that this has occurred on. The last time I had to recreate the entire process to get it working again.
    Any help would be greatly apprecated.

    Hi
    I am getting this error when I am trying to invoke a synshronous "CreditRating" service.
    A problem occured while connecting to server "localhost" using port "9700": bpel_myOrderBooking_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "myOrderBooking" (revision "1.0"): Failed to read wsdl.
    Failed to read wsdl at "http://127.0.0.1:9700/orabpel/default/CreditRatingService/CreditRatingService?wsdl", because "Failed to read WSDL from http://127.0.0.1:9700/orabpel/default/CreditRatingService/CreditRatingService?wsdl: HTTP connection error code is 502".
    Make sure wsdl is valid. You may need to start the OraBPEL server, or make sure the related bpel process is deployed correctly.
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    Also,my Integration server connection is showing
    Application Server: OK
    BPEL Process Manager Server: OK
    ESB Server: FAILED
    Please help me out...

  • Restart causing Failed to read wsdl and BaseScheduledWorker null pointer

    Hoped that 10.1.3.3.1 patchset would fix this but doesn't seem to have done so. I'm doing a test whereby I restart the application server under simulated load conditions, two BPEL domain log files are created, possibly indicating it has had a problem coming back up, domain.log.1 contains this :
    <2007-12-06 10:39:37,758> <ERROR> <default.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception
    java.lang.NullPointerException
         at com.collaxa.cube.engine.dispatch.InstanceQueue.acknowledge(InstanceQueue.java:285)
         at com.collaxa.cube.engine.dispatch.BaseDispatchSet.acknowledge(BaseDispatchSet.java:241)
         at com.collaxa.cube.engine.dispatch.Dispatcher.acknowledge(Dispatcher.java:650)
    <2007-12-06 10:39:40,764> <ERROR> <default.collaxa.cube.engine> <CubeEngine::checkExpirable> Failed to unschedule work item "140957-BpInv3-BpSeq1.3-4" from the expiration agent.
    ORABPEL-00025
    Cannot unschedule agent.
    An attempt to unschedule the "expiration" agent with the scheduler has failed. The exception reported is: org.quartz.SchedulerException: Scheduler with name 'BPELPMRamScheduler' already exists.
         at org.quartz.impl.SchedulerRepository.bind(SchedulerRepository.java:87)
         at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:967)
    Async processes caught up in this are getting errors trying to pass back a response back to their invoking process as follows (note these processes work fine when I'm not restarting the app server underneath them) :
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>when invoking locally the endpoint 'http://pukldr00000.whatever.co.uk:7833/orabpel/default/invoker_name/1.0/processname/rolename', ; nested exception is:
         ORABPEL-00000
    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-08003
    Failed to read wsdl.
    Failed to read wsdl at "http://pukldr00000.whatever.co.uk:7833/orabpel/default/processname/processname?wsdl", because "Failed to read WSDL from http://pukldr00000.whatever.co.uk:7833/orabpel/default/processname/processname?wsdl: HTTP connection error code is 500"
    Any help gratefully appreciated.

    SR has been filed for some time and includes an example. My example is as follows, async process A calls async process B, async process B just does a 20 second sleep in java before doing callback to A. To demonstrate the issue I just set off process A and shut down the oc4j through Enterprise Manager, process B hits the failed to read wsdl when it tries to callback to A. It seems like some of the infrastructure has been taken down before all of the in-memory processes have hit a dehydration point, which is not good !
    SR # is 6615784.993 I am now escalating.

Maybe you are looking for