Web service reference problem

Hi, I am trying to create a web service reference from Windows Dynamic CRM web services. CRM uses windows authentication. I can open WSDL file with IE and firefox. But the same username and password don't work with APEX.
Does anyone have a clue? Many thanks!
Crystal
Edited by: user8991541 on Aug 4, 2010 8:40 AM

I was able to resolve the problem -- in the latest version of the RESTful web service that I created, I had left out the creation of the Header Parameter bind variable. Once I did that everything works fine!! I was able to test in the application and got the record of an individual student.
Thanks,
PM

Similar Messages

  • Web services references problem:  WSDL document was unretrievable

    I've tried to add a web service reference to my application. I followed the examples given in the user guide, but none of the web services are available. (IBM and Xmethods). I also tried the bookstore application from the studio (http://soap.amazon.com/onca/soap3), it didn't work either.
    Error message:
    "The WSDL document was unretrievable because either the URL you supplied was invalid, or your environment requires a valid proxy server address for HTTP requests and you have not defined one for this application."
    I am wondering perhaps I have to setup in somewhere such as proxy server (I don't use proxy for internet browsing though) to be able to use webservices.
    May somebody with htmldb webservice experiences shed some light on this?
    Thanks in advance.

    Thanks for the information Eric.
    I donot want to use Axis because Axis doesn't allow me to configure XMLBeans for serialization and deserialization. I am using XMLBeans to prepare my response in XML form.
    I am using XSDs to define my input and output XML structure. This way Client applications can use this XSD to build the input XML and to validate the output XML that they get from web service. I also defined WSDL on my own (using some editors)which will make use of these XSDs to
    define request and response. I wrote my own ANT script which will do the same processing as WebServiceAssembler.
    EAR file that is generated by my ANT script is working fine.. I was able to send the request and get the response from webservice.
    Now I have realized that Oracle is NOT doing the input and output validation eventhough I have specified my input and ouput XSD in WSDL. I can send any 'format' of XML input to my webservice and get any 'format' of XML output, which is NOT GOOD. Is there anyway that I can force Oracle to do the input XML and output XML validation ? or it has to be handled by developer?
    Sorry for long mail.
    Thanks for your time, Kiran

  • Problem when WSDL changes for a Web Service Reference

    Hi
    I have a Web Service Reference that is accessed by several reports and processes within APEX.
    The problem that I am experiencing is that, when the Web Service changes, as it has been doing quite often due to development, I can find no way of updating the Web Service Reference in order that the additional input and output parameters become available to the associated reports and processes. The only solution that I have found is to recreate the Web Service Reference going through the same wizard process and giving the Web Service Reference the same name as previously.
    However when the Web Service Reference has been recreated all reports and processes that accessed the old web service have blank values for source, input and output parameters. This means that I have to build the reports and processes again from scratch.
    Does anyone know of a better method of “refreshing” a web service in order to expose any new inputs or outputs defined with the WSDL without breaking existing functionality?
    Regards
    Ian

    Hi,
    My solution is simple: add new service reference, then new methods can be atached to the old service refernce with the followind block
    begin
    update WWV_FLOW_WS_OPERATIONS fo
    set
    FO.WS_ID = (select ws.ID from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvc')
    where
    FO.NAME not in
    (select
    FOO.NAME
    from WWV_FLOW_WS_OPERATIONS foo
    where FOO.WS_ID = (select ws.ID from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvc')
    and FO.WS_ID = (select ws.ID from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvcNEW')
    delete from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvcNEW';
    end;
    If you change only params it wont help. Ypu have to recreate the code that breaks again.
    I hope this helps.

  • Problem getting RESTful web service reference working with header value

    Hi,
    I posted this on Apex Listener forum but since I am not sure problem is with my Application RESTful web service reference or a Listener issue, I am posting here as well:
    I am on Apex 4.2.2 and Listener 2.1 and the listener is on WEblogic.
    I succeeded to get a RESTful web service working in an application with no header to obtain a full set of data. The data set is very large, so I am now just trying to set up a web service to get a set of data based on a student ID.
    I followed the examples shown in the RESTful web service module of SQL Workshop and set up a handler of this type:
    https://ourweblogicserver/apex/bnr/ace/students/course_grades/{stid}
    The test for this handler succeeded both for JSON output and CSV output in the Workshop test environment.
    However, when I try it from a Web Service Reference that I created for my application following what looked like the same approach used on the example video, I get NO data back. If I put a 'stid' directly into a URL of a web browser and do the basic authentication I get the data!!
    This is what I have for the Web service reference:
    https://ourweblogicserver/apex/bnr/ace/students/course_grades/{stid}
    Basic auth set to Yes -- and this is working -- I am able to authenticate
    HTTP method Get
    output format Text
    no response Xpath
    no response namespace
    defaults for new record and parameter delimiter
    NO REST input parameters
    Output set for all the fields in the data set queried (same set of data as in my rest service which does not have any http header)
    REST HTTP Header : Name stid
    I there something I am missing. I am not sure how to troubleshoot this further.
    I also tried exactly following the example shown on the Oracle Video for RESTFul web services at
    http://www.youtube.com/watch?v=gkCvd6P8_OU
    and I can't get the 2nd example to work either-- where the header has the bind variable parameter.
    Pat

    I was able to resolve the problem -- in the latest version of the RESTful web service that I created, I had left out the creation of the Header Parameter bind variable. Once I did that everything works fine!! I was able to test in the application and got the record of an individual student.
    Thanks,
    PM

  • Substitution strings not working in URLs for web service references (bug?)

    We have an environment where the url for our BPEL server is read from a variable. I've created an application item and a corresponding application-level computation. I'm using the ampersand-followed-by-dot (&BPEL_SERVER.) syntax as well as the hashmark syntax (#BPEL_SERVER#) and am unable to get this working.
    Is there a way for me to debug web service reference calls other than whether a call was successful? Is this a bug?
    edit:
    Here is the error message I get when I try to use a substitution:
    ORA-20001: The webservice was unreachable because either the URL you supplied was invalid, your environment requires a valid proxy server address for HTTP requests, or a wallet needs to be configured for HTTPS requests.

    No problem - let me try to lay this out a little differently, perhaps I'm just missing something.
    problem:
    * we have separate development, test, and production servers for our database and bpel servers.
    * The hostnames for these servers are stored in a table of key/value pairs
    * This means that (by policy) the hostnames in URLs calling BPEL web services should be the value corresponding to BPEL_SERVER so that the appropriate bpel server is used to call the web service
    attempted solution:
    1) I created an application item named BPEL_SERVER
    2) I have a before-header computation that sets BPEL_SERVER to 'http://bpeldev' using a static value assignment
    3) I have a web service reference whose URL is either &BPEL_SERVER./orabpel/default/callNotification/1.0 or #BPEL_SERVER#/orabpel/default/callNotification/1.0
    4) The web service reference is called in an after-submit process.
    5) An invalid URL exception is thrown for this process.when submitting on the page containing this process
    observations:
    * for (3) - I can set the URL to http://bpeldev/orabpel/default/callNotification/1.0 and everything occurs successfully
    * for (3) - If I use http://bpeldev/&BPEL_SERVER. then when I execute (4), I see a request for the exact string http://bpeldev/&BPEL_SERVER. in bpeldev's access logs
    * for (3) - If I use http://bpeldev/#BPEL_SERVER# then when I execute (4), I see a request for the exact string http://bpeldev/#BPEL_SERVER# in bpeldev's access logs
    * for (2) I've also used a function call RETURN get_const_value('BPEL_SERVER'); - same results for (5)
    * the item value has ben verified before (5)
    * for (1) and (2) I've tried defining substitution strings in the application definition instead - same results for (5)

  • Calling a web service reference from PL/SQL

    Hello,
    could anyone give me a hint how to call a web service that is defined as web service reference from a PL/SQL page process (PL/SQL anonymous block).
    Many thanks in advance
    Lukasz

    >
    The problem is that I have a PL/SQL page process that processes the result that was returned by a web service (triggered by web-service page process (-; ) and <b>need to call it again transparently for the user</b>. If there is a way to execute a page process from this PL/SQL block the question would be answered as well.
    >
    Same parameters and repeating at pre-defined time intervals? If yes, use Javascript as described here.
    Regards,

  • Basic auth with RESTful WEb service and Web Service reference

    Hi, All,
    We have made much progress on getting an application working wtih RESTful web services but now are trying to figure out how to lock down a RESTful Web service while making it available for a particular application.
    We are using one of the sample 'emp' table web services that come with Apex 4.2 and are trying to apply Basic Auth to the WEb Service via Weblogic filter defined in the web.xml file. That works fine. I now get challenged when I try to go to :
    https://wlogic.edu/apex/bnr/ace/hr/empinfo/
    And when I authenticate to that challenge I am able to get the data. (we are usiing LDAP authentication at the Weblogic level)
    However, I am not sure how to get same basic authentication to work with the Web Service reference in my application. I see the error message in the application when I try to call that Web Service:
    401--Unauthorized<
    And I see:
    "The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials"
    How do I provide the credentials in the Web REference or do I provide credentials in the Application?
    Web service works fine if I remove the RESTful web service basic auth from the Web.xml file.
    Should we NOT use Weblogic basic auth and instead use basic auth from Workspace RESTful web service definition. If so, how do we implement THAT basic auth in the Web Service definition and in the Web SErvice Reference on the application?
    Thanks,
    Pat

    What I mean is diid you try to use the PL/SQL package for APEX webservice. Here is an example I use (modified and shortened, just to show how much better this is than to use it from the application).
    CREATE OR REPLACE PACKAGE webservice_pkg
    IS
       PROCEDURE create_webservice (
          p_id            IN       NUMBER,
          p_message       OUT      VARCHAR2,
          p_workspace     IN       VARCHAR2 DEFAULT 'MY_WORKSPACE',
          p_app_id        IN       NUMBER DEFAULT v ('APP_ID'),
          p_app_session   IN       VARCHAR2 DEFAULT v ('SESSION'),
          p_app_user      IN       VARCHAR2 DEFAULT v ('APP_USER')
    END webservice_pkg;
    CREATE OR REPLACE PACKAGE BODY webservice_pkg
    IS
       PROCEDURE set_credentials (
          p_workspace     IN   VARCHAR2,
          p_app_id        IN   NUMBER,
          p_app_session   IN   VARCHAR2,
          p_app_user      IN   VARCHAR2
       IS
          v_workspace_id   NUMBER;
       BEGIN
          SELECT workspace_id
            INTO v_workspace_id
            FROM apex_workspaces
           WHERE workspace = p_workspace;
          apex_util.set_security_group_id (v_workspace_id);
          apex_application.g_flow_id := p_app_id;
          apex_application.g_instance := p_app_session;
          apex_application.g_user := p_app_user;
       END set_credentials;
       PROCEDURE create_webservice (
          p_id            IN       NUMBER,
          p_message       OUT      VARCHAR2,
          p_workspace     IN       VARCHAR2 DEFAULT 'MY_WORKSPACE',
          p_app_id        IN       NUMBER DEFAULT v ('APP_ID'),
          p_app_session   IN       VARCHAR2 DEFAULT v ('SESSION'),
          p_app_user      IN       VARCHAR2 DEFAULT v ('APP_USER')
       IS
          v_envelope          VARCHAR2 (32000);
          v_server            VARCHAR2 (400);
          v_url               VARCHAR2 (4000);
          v_result_url        VARCHAR2 (1000);
          v_collection_name   VARCHAR2 (40)    := 'PDF_CARD';
          v_message           VARCHAR2 (4000);
          v_xmltype001        XMLTYPE;
       BEGIN
          v_url := v_server || '.myserver.net/services/VisitCardCreator?wsdl';
          FOR c IN (SELECT *
                      FROM DUAL)
          LOOP
             v_envelope :=
                   '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" '
                || 'xmlns:bran="http://www.myaddress.com">'
                || CHR (10)
                || '<soapenv:Header/><soapenv:Body>'
                || CHR (10)
                || '<parameter:'
                || 'some_value'
                || '>'
                || CHR (10)
                || '<bran:templateID>'
                || p_id
                || '</bran:templateID>'
                || '</soapenv:Body>'
                || CHR (10)
                || '</soapenv:Envelope>';
          END LOOP;
          set_credentials (p_workspace, p_app_id, p_app_session, p_app_user);
          BEGIN
             apex_web_service.make_request
                                         (p_url                  => v_url,
                                          p_collection_name      => v_collection_name,
                                          p_envelope             => v_envelope
             p_message := 'Some message.';
          EXCEPTION
             WHEN OTHERS
             THEN
                v_message :=
                      v_message
                   || '</br>'
                   || 'Error running Webservice Request. '
                   || SQLERRM;
          END;
          BEGIN
             SELECT    v_result_url
                    || EXTRACTVALUE (VALUE (t),
                                     '/*/' || 'Return',
                                     'xmlns="http://www.myaddress.com"'
                    xmltype001
               INTO v_result_url,
                    v_xmltype001
               FROM wwv_flow_collections c,
                    TABLE
                        (XMLSEQUENCE (EXTRACT (c.xmltype001,
                                               '//' || 'Response',
                                               'xmlns="http://www.myaddress.com"'
                        ) t
              WHERE c.collection_name = v_collection_name;
          EXCEPTION
             WHEN OTHERS
             THEN
                v_message := v_message || '</br>' || 'Error reading Collection.';
          END;
       EXCEPTION
          WHEN OTHERS
          THEN
             p_message := v_message || '</br>' || SQLERRM;
       END create_webservice;
    END webservice_pkg;
    /If you use it this way, you will find out what the problem is much faster.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Creating Web Service Reference

    I have no experience whatsoever with web services/soap/etc.
    I am testing PayPal's Website Payments Pro to see if I can integrate it easily with HTML DB.
    I click on my application, then go to Shared Components --> Web Service Reference --> Create
    I select "No" for "Do you want to search a UDDI registry to find the WSDL?"
    For WSDL Location, I enter:
    http://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl
    and click Next.
    1 error has occurred
    The WSDL document could not be understood by the HTML DB engine. I found no references in the forum to either "soap" or "wsdl."
    Is there any documentation on this?
    HTML DB version 1.6, DB 10.1
    Thanks
    chet

    Apparently the search utility was broken the night/morning I posted this. I did find a few posts on others problems with WSDL. One in particular, Misunderstood WSDL file. suggested it might be Oracle's parsing or something like that.
    I have read that there is not a W3C standard yet.
    I really, really don't want to have to write java ever again. Please tell me there is a workaround...
    chet
    Message was edited by:
    Chet Justice
    Message was edited by:
    Chet Justice

  • ORA-06502 when trying to create a web service reference

    Hi,
    I want to create a reference to mail a report from BI Publisher.
    Apparently the e-mail option is no longer available in the v2 webservices so I tried to create a web service reference to:
    .../xmlpserver/services/PublicReportService?wsdl
    I had no problems creating references to the v2 web services however I don't manage to create a reference for this WSDL.
    The last step gives me:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Thanks for tips or advice.
    Other workarounds to email a report are welcome as well. I tried to use the v2 webservices runReport & scheduleReport before but they don't seem to support this.
    Thanks!

    Okay, so email is available in the v2 webservices I found out. (despite stated in many blogpost it is not)
    --- ScheduleService
    If you're going to use it to send emails you need to create your webservice manually. Otherwise it will not work as the scheduleReport also can print, fax or save your report to webdav and you will need to remove these elements from you soapenveloppe to get it to work.
    This is not possible with the services created using the WSDL wizard.

  • Issue while adding WCF Web Service reference using Oracle APEX

    Hi,
    We have an issue with creating the Web Service Reference for the WCF web service:
    http://dev.virtualearth.net/webservices/v1/metadata/geocodeservice/GeocodeService1.wsdl
    The APEX gives the following error
    “The WSDL document could not be understood by the rendering engine. Click Create Web Service Reference Manually to continue creating a reference for this service.”
    Can you please tell me if creating the Web Service Reference for WCF is supported on the “out of the box“ APEX?
    Environment information:
    APEX 4.0.2.00.07
    Database 11.2.0.3
    Please note that we have tried it in APEX 4.1.1 from apex.oracle.com and the error there is different, it can connect even to ASMX wsdl.
    Thank you.

    I don't think that is it specific to just .NET web services. I have tried with a web service created with TIBCO BusinessWorks (Middleware product) that did not work either. The wsdl validated correctly in soapUI, so I think it just must be the implementation of the parser which is looking for some specific format.
    When in doubt, go with either the manual reference or with pl/sql using one of the api's.

  • Error while creating web service reference

    Hi,
    I have very limited knowledge of web services. we have a BPEL implementation and I have been handed location to 3 wsdl files for which I am trying to create a web service reference(under shared component->logic) in apex(3.1.1). I am successfully able to create for 1 wsdl but for other two i get the below error.
    "1 error has occurred
    The WSDL document contains multiple SOAP bindings. Application Express only supports WSDL's with one SOAP binding. Click Create Web Service Reference Manually to continue creating a reference for this service."
    looking at the working and not working wsdls, i see the following difference. i collapsed all the xml tags in the wsdl file and found that the one that is not working and giving above error has the below two tags twice with data in it.
    <wsdl:portType name=
    <wsdl:binding name=
    any help to parse this wsdl in APEX be greatly appreciated.
    thanks,
    khan

    I have just read that " APEX does not support multiple binding web services currently" at http://oraclebizint.wordpress.com/category/apex/
    ..still reading it. though the post is dated back in 2008, I wonder why this functionality wasn't added to Apex.

  • Error when test a web service reference

    Hello,
    After creating a web service reference and when i make a test of any method, i get the fowling error:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request. ---&gt; Object reference not set to an instance of an object.</faultstring><detail /></soap:Fault></soap:Body>
    </soap:Envelope>
    This is the WSDL definition:
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="urn:webservices.x-arq.mind.pt/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="urn:webservices.x-arq.mind.pt/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="urn:webservices.x-arq.mind.pt/">
    <s:import namespace="urn:webservices.x-arq.mind.pt/ResultadosPesquisa.xsd" />
    <s:import schemaLocation="http://arquivomunicipal.cm-lisboa.pt/X-arqCRMWebService/XarqCRMWebService.asmx?schema=ResultadosPesquisa" namespace="urn:webservices.x-arq.mind.pt/ResultadosPesquisa.xsd" />
    <s:element name="ObterNumeroResultados">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Obra" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Processo" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Morada" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterNumeroResultadosResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="ObterNumeroResultadosResult" type="s:int" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterResultadosEmObjecto">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Obra" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Processo" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Morada" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterResultadosEmObjectoResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="ObterResultadosEmObjectoResult" type="tns:ArrayOfResultadoPesquisa" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="ArrayOfResultadoPesquisa">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="ResultadoPesquisa" nillable="true" type="tns:ResultadoPesquisa" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="ResultadoPesquisa">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Obra" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Processo" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Morada" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="ContemFicheirosDigitalizados" type="s:boolean" />
    <s:element minOccurs="0" maxOccurs="1" name="UrlFicheirosDigitalizados" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="EstadoCiarq" type="s:string" />
    </s:sequence>
    </s:complexType>
    <s:element name="ObterResultados">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Obra" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Processo" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Morada" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterResultadosResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="ObterResultadosResult">
    <s:complexType>
    <s:sequence>
    <s:any namespace="urn:webservices.x-arq.mind.pt/ResultadosPesquisa.xsd" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterResultadosPaginadosEmObjecto">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Obra" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Processo" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Morada" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="NumeroResultados" type="s:int" />
    <s:element minOccurs="1" maxOccurs="1" name="IndicePrimeiroResultadoDevolver" type="s:int" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterResultadosPaginadosEmObjectoResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="ObterResultadosPaginadosEmObjectoResult" type="tns:ArrayOfResultadoPesquisa" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterResultadosPaginados">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Obra" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Processo" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Morada" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="NumeroResultados" type="s:int" />
    <s:element minOccurs="1" maxOccurs="1" name="IndicePrimeiroResultadoDevolver" type="s:int" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ObterResultadosPaginadosResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="ObterResultadosPaginadosResult">
    <s:complexType>
    <s:sequence>
    <s:any namespace="urn:webservices.x-arq.mind.pt/ResultadosPesquisa.xsd" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    <wsdl:message name="ObterNumeroResultadosSoapIn">
    <wsdl:part name="parameters" element="tns:ObterNumeroResultados" />
    </wsdl:message>
    <wsdl:message name="ObterNumeroResultadosSoapOut">
    <wsdl:part name="parameters" element="tns:ObterNumeroResultadosResponse" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosEmObjectoSoapIn">
    <wsdl:part name="parameters" element="tns:ObterResultadosEmObjecto" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosEmObjectoSoapOut">
    <wsdl:part name="parameters" element="tns:ObterResultadosEmObjectoResponse" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosSoapIn">
    <wsdl:part name="parameters" element="tns:ObterResultados" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosSoapOut">
    <wsdl:part name="parameters" element="tns:ObterResultadosResponse" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosPaginadosEmObjectoSoapIn">
    <wsdl:part name="parameters" element="tns:ObterResultadosPaginadosEmObjecto" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosPaginadosEmObjectoSoapOut">
    <wsdl:part name="parameters" element="tns:ObterResultadosPaginadosEmObjectoResponse" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosPaginadosSoapIn">
    <wsdl:part name="parameters" element="tns:ObterResultadosPaginados" />
    </wsdl:message>
    <wsdl:message name="ObterResultadosPaginadosSoapOut">
    <wsdl:part name="parameters" element="tns:ObterResultadosPaginadosResponse" />
    </wsdl:message>
    <wsdl:portType name="XarqCRMWebServiceSoap">
    <wsdl:operation name="ObterNumeroResultados">
    <wsdl:input message="tns:ObterNumeroResultadosSoapIn" />
    <wsdl:output message="tns:ObterNumeroResultadosSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosEmObjecto">
    <wsdl:input message="tns:ObterResultadosEmObjectoSoapIn" />
    <wsdl:output message="tns:ObterResultadosEmObjectoSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="ObterResultados">
    <wsdl:input message="tns:ObterResultadosSoapIn" />
    <wsdl:output message="tns:ObterResultadosSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosPaginadosEmObjecto">
    <wsdl:input message="tns:ObterResultadosPaginadosEmObjectoSoapIn" />
    <wsdl:output message="tns:ObterResultadosPaginadosEmObjectoSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosPaginados">
    <wsdl:input message="tns:ObterResultadosPaginadosSoapIn" />
    <wsdl:output message="tns:ObterResultadosPaginadosSoapOut" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="XarqCRMWebServiceSoap" type="tns:XarqCRMWebServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="ObterNumeroResultados">
    <soap:operation soapAction="urn:webservices.x-arq.mind.pt/ObterNumeroResultados" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosEmObjecto">
    <soap:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultadosEmObjecto" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultados">
    <soap:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultados" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosPaginadosEmObjecto">
    <soap:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultadosPaginadosEmObjecto" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosPaginados">
    <soap:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultadosPaginados" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="XarqCRMWebServiceSoap12" type="tns:XarqCRMWebServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="ObterNumeroResultados">
    <soap12:operation soapAction="urn:webservices.x-arq.mind.pt/ObterNumeroResultados" style="document" />
    <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosEmObjecto">
    <soap12:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultadosEmObjecto" style="document" />
    <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultados">
    <soap12:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultados" style="document" />
    <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosPaginadosEmObjecto">
    <soap12:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultadosPaginadosEmObjecto" style="document" />
    <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ObterResultadosPaginados">
    <soap12:operation soapAction="urn:webservices.x-arq.mind.pt/ObterResultadosPaginados" style="document" />
    <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="XarqCRMWebService">
    <wsdl:port name="XarqCRMWebServiceSoap" binding="tns:XarqCRMWebServiceSoap">
    <soap:address location="http://arquivomunicipal.cm-lisboa.pt/X-arqCRMWebService/XarqCRMWebService.asmx" />
    </wsdl:port>
    <wsdl:port name="XarqCRMWebServiceSoap12" binding="tns:XarqCRMWebServiceSoap12">
    <soap12:address location="http://arquivomunicipal.cm-lisboa.pt/X-arqCRMWebService/XarqCRMWebService.asmx" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Thanks for your help!
    From Portugal,
    Helder Dinis
    Edited by: Helder Dinis on Oct 22, 2009 5:52 PM

    Hello,
    First, I would like to thank you for your help.
    Below is the SOAP envelope (request) that was created by the Application Express engine based on the Web service reference definition.
    Input parameters:
    Obra: 35078
    Processo: 2073/DCEOD/I/1960
    Morada: BECO BUGIO
    <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body><ns1:ObterResultadosEmObjecto xmlns:ns1="urn:webservices.x-arq.mind.pt/urn:webservices.x-arq.mind.pt/ResultadosPesquisa.xsd"><ns1:Obra>35078</ns1:Obra><ns1:Processo>2073/DCEOD/I/1960</ns1:Processo><ns1:Morada>BECO BUGIO</ns1:Morada></ns1:ObterResultadosEmObjecto></SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    From Portugal,
    Helder Dinis

  • Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING

    hello colleagues,
    In the phase Connect Diagnostics dont show the Agent available in SLD, but when go to SLD i have the agents,
    Error,
    Connect Diagnostics Agent
    The table does not contain any data
    Agent availables in all SLD
    SOAP:1.007 SRT: Unupported xstream found: ("HTTP Code 401 : Unauthorized")
    Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING
    Thanks

    OK, then pls follow below steps;
    - Go to step 'Create Users' in solman_setup System Preparation scenario and make sure the user SM_INTERN_WS has a green status. Use the 'Test Login' button to make sure the user is not locked and has correct credentials maintained in solman_setup
    - Immediately after checking the user status, navigate to Configure Connectivity->Enable Web Services and execute again the 'Create Logical Ports' automatic activity, in order to propagate the correct credentials to the Logical Port definitions.
    - If the above operation is not successful, repeat the two steps above, providing a different user Id in 'Create Users' step, eg SM_INTERN_W1. This will prevent situations where the user gets locked by Logical Ports using an obsolete password.
    Let me know the results.
    Regards,
    Vivek

  • REST Web Service References: Can't run Google APIS

    Hello Everyone!
    I am learning on how to integrate REST web service reference in APEX application. I found a tutorial video at YouTube on 'Creating and Using a RESTful Web Service in Application Express 4.2', which found to be very helpful and easy to do on my sample app. The REST Web Service URL:
    http://maps.googleapis.com/maps/api/geocode/xml?address=san%20fancisco&sensor=false
    But my application throws an error as below:
    1 error has occurred
    ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-24247: network access denied by access control list (ACL)
    After going through some of the posts here at OTN, I have granted access as follows:
    GRANT EXECUTE ON SYS.UTL_HTTP TO ETI;
    GRANT EXECUTE ON SYS.UTL_INADDR TO ETI;
    GRANT EXECUTE ON SYS.UTL_TCP TO ETI;
    GRANT EXECUTE ON SYS.UTL_SMTP TO ETI;
    GRANT EXECUTE ON SYS.UTL_URL to ETI;
    GRANT EXECUTE ON SYS.UTL_XML to ETI;
    Second thing I did was, created and assigned ACL:
    begin
      dbms_network_acl_admin.create_acl (
        acl         => 'googleapis.xml',
        description => 'Google Translate API',
        principal   => 'CONNECT',
        is_grant    => true,
        privilege   => 'connect',
        start_date  => null,
        end_date    => null
      dbms_network_acl_admin.add_privilege (
        acl       => 'googleapis.xml',
        principal => 'CONNECT',
        is_grant  => true,
        privilege => 'connect'
      dbms_network_acl_admin.assign_acl (
        acl  => 'googleapis.xml',
        host => 'ajax.googleapis.com'
      dbms_network_acl_admin.assign_acl (
        acl  => 'googleapis.xml',
        host => 'maps.googleapis.com'
    end;
    All these statements were executed on my database with out any error, even though not helping my web service reference to work.
    Any idea how can I get my Google API REST Web service working, what is the thing I'm missing here?

    I apologize for the lack of information.
    I thought I had included a list of schemas for you to try out.
    At first, (due to the GRANT ___ TO ETI;) I thought you were writing your own Web Service parser in PL/SQL.
    (If that was the case, than ETI would need be part with the ACL)
    Then, I realized,you were using the built in APEX functionality.
    In this case, try adding your APEX_{version} schema as part of the ACL.
    I'm not sure if this will work (I haven't tried it).
    However, I do know you need to add the APEX_{version} to the ACL if you use the LDAP Authentication.
    finding APEX_{version}
    select comp_id, version, status, schema
    from dba_registry
    where comp_id='APEX'
    MK

  • Web service execution problem

    We wrote a web service to authenticate against Windows active directory. I'm trying to use it in an APEX app. Userid/pswd are the input parms and it sends back a bunch of fields. I set up the web service reference and let apex generate a form using the web service for test purposes.
    The process with the WS is set to fire on submit. When I submit, I get an ora-01403, no data found error. If I then kick the page into edit mode and back out to display, the correct results from the WS are there.
    It seems like a session state issue. Any suggestions?

    I would like to be able to assist, but I would need to set up a test environment to try to replicate the issue you are encountering. Do you have a Visual Studio project that you can share so I can try to set up this environment?
    Regards,
    Jason

Maybe you are looking for

  • How to find duplicated values in rows obtained from multiple tables

    Hi. I need to find the duplicates stored in different tables of my database. I have some tables like the following model (I know it could be nonsense, but that's because it's simplified): table person { id, name, surname }. table zoo {id, owner, name

  • My battery decreases rapidly and iPhone won't charge.

    The battery started to drop very fast some month ago. When it is fully charged then i plug it out, and it dies in like 1 or 2 hours, when I'm only listening to music and nothing else. I turned the bluetooth and 3g off and only turned wifi. Actually i

  • Performance - DIM and FACT tables

    Experts, I have performance issues where my DIM tables are bigger than the FACT tables by 50 %. Can any one please let me know what should be done in order to solve this issue I have already done below steps 1)Kept the small dimensions together 2)kep

  • Bad date when pressing Reply

    Using Tiger 10.4.4 and Mail 2.0.5 (746/746.2). I've just noticed that when I press the Reply button to reply to an email it doesn't give me the current date and time. Tried re-booting but no change. Instead it gives me On 2006-Feb-06, at 1:16 PM, or

  • Program to activate the process chain in 3.5 version

    HI Experts, Like we are activatie jng the transfer strcturers_TRANSTRUC_ACTIVATE_ALL. I am having some problems ...I need the program to activate the process chain by using program in 3.5 Could any respond on this ASAP. Thanks KK