Web services call directly from SAP ?

Hi ESA Experts,
Is it possible to make a web service call directly from a SRM or SAP R3 system without using SAP XI ?. If so, have you some code samples ?
Thanks a lot for your response.
Best regards
Etienne

Hi, Etienne.
  There are two things to do.
  1. Prepare Service Provider
  For providing services, there are many tools to publish as web services
from BAPI, RFC and Enterprise Services.
  Please look at here.
  help.sap.com - Web Service Toolset
  http://help.sap.com/saphelp_nw04s/helpdata/en/db/99c04ba22fe64f96a8651df68eab92/frameset.htm
  i recommend Web Service Creation Wizard as first step.
  2. Prepare Service Consumer
  Also has many tools. What i like is WS Navigator for basic test of web services.
  help.sap.com - Web Service Homepage
  http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/d7baaf1481a349ab723e3acd7334b3/frameset.htm
  Best Regards.

Similar Messages

  • Error in calling a web service of primavera from sap MII

    Hi All,
    I am trying to consume a web service of primavera p6 from SAP XMII 12.1
    I tested the web service from SOAP UI ,its working fine for me,but when I tested with MII ,connection is unsuccessful
    I have used the HTTP_Post Action block and entered the required information as specified correctly
    Error is:
    [ERROR] Post Action: error occured while trying to connect to the server Exception: [Connect timed out]
    I tested with web service action block of MII also but no luck now.
    Please explain me reason for hte error and how to get rid of it,
    Its very urgent,please help

    Hey,
    I think this is an authentication issue. Are you passing the user credentials in Web Service action block.
    Regards,
    Gita

  • Connect to Secure web service with certificate from SAP EP

    Hi Experts,
    Here is the current situation:
    1. Our business requirement is to connect 3rd party RESTful web service which requires secure connection with private client certificate attached
    2. I've tested in my Java test application and successfully attached private certificate to HttpsURLConection request to the web service and made a connection. No problem at all.
    KeyStore keyStore  = KeyStore.getInstance("PKCS12");
    InputStream inputStream = new FileInputStream("privateKeyCert.p12");
    keyStore.load(inputStream, "myPassword".toCharArray());
    KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
    keyManagerFactory.init(keyStore, "myPassword".toCharArray());
    KeyManager[] kms = keyManagerFactory.getKeyManagers();
    SSLContext sslContext = SSLContext.getInstance("SSL");
    sslContext.init(kms, null, new SecureRandom());
    SSLSocketFactory sockFact = sslContext.getSocketFactory();
    URL url = new URL("https://www.thirdpartywebservice.com/testroot/");
    HttpsURLConnection conn = (HttpsURLConnection) url.openConnection();
    conn.setSSLSocketFactory(sockFact);
    conn.setRequestMethod("POST");
    conn.setDoOutput(true);
    conn.setDoInput(true);
    conn.setUseCaches(false);
    conn.setDefaultUseCaches (false);
    conn.setRequestProperty("Content-Type", "text/xml");
    3. Next, I tried to apply my Java application to SAP EP NetWeaver, and found that I have to use SecureConnectionFactory:
    https://help.sap.com/saphelp_nw70ehp1/helpdata/en/e2/71c83edf72e16be10000000a114084/content.htm
    4. So, I modified my Java code for SAP EP:
    KeyStore keyStore  = KeyStore.getInstance("PKCS12");
    InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("privateKeyCert.p12");
    keyStore.load(inputStream, "myPassword".toCharArray());
    SecureConnectionFactory scFactory = new SecureConnectionFactory(keyStore);
    HttpURLConnection conn = scFactory.createURLConnection("https://www.thirdpartywebservice.com/testroot/");
    conn.setRequestMethod("POST");
    conn.setDoOutput(true);
    conn.setDoInput(true);
    conn.setUseCaches(false);
    conn.setDefaultUseCaches (false);
    conn.setRequestProperty("Content-Type", "text/xml");
    And I'm facing the following error message:
    Exception: java.security.UnrecoverableKeyException: ja
    va.security.GeneralSecurityException: Unable to decrypt private key: javax.crypto.BadPaddingException: Invalid PKCS#5 padding length: 253
    Could you please help me what this error message means?
    Do you think do I need to to do some other configuration to make connection to web service with client certificate?
    This is our first approach. Please help...
    Thank you in advance.

    SunJSSE implement SSL server CertificateRequest in a strict mode, if client failed to find a proper certificate corresponding the server request, it does not guess what's the proper certificate and send to the server. In your case, because there is no intermediate certificate in the client context, so there is no way to make the decision which certificate would be acceptable by server, so client does not send any cert to server. That's why you got a handshaking error.
    I guess your client key store does not contains a full certificate path from the client end-entity certificate to the root CA. Please import the full certificate path into the key store.
    BTW, these approaches should work, but I found no reason why one does not adopt #1:
    1. import the full certification path of client certificate into client key store.
    2. as a workaround, configure the server to send a list including the intermediate certificates;
    3. as a workaround, you will have to customize the client KeyManager if you don't want to or are not able to configure the server to send a list including the intermediate certificates.

  • SAP Web Services Call with MQSeries

    Hi all,
      Our system is ECC 6.0 NW 7.0 SP15 with no PI and XI. Currently we can connect between SAP and Third party using web services call directly. However, our network & infrastructure team want to use MQseries as a message queue and broker.
      We can connect to MQ using IDOC for asynchronous method. But for synchronous method, how can we connect to MQ? Can SAP call web services to MQ  or pass the message to MQ synchronously? How to do that?
    Thanks,
    Chaiphon

    First of all, I do not think a Queueing system supports synchronous calls (Please correct me if I am wrong). The name it self says that, the system queues messages instead of immediately responding. May be if MQ seriese supports giving a transportation acknowledgement thus simulating the synchronous calls, it might support.
    As per my understanding, queuing systems only support async messages.
    VJ

  • Configuring SSL to make a HTTPS web Service call from XI

    Hi All,
    We are making a <b>https web service call</b> using soap adapter from XI. Looking at the various posts and SAP help links, we are configuring SSL for the same.
    The procedure given in SAP help has been followed to configure SSL but with no luck. If someone had done this could you please give a <b>step by step procedure</b> to configure SSL, we might have missed out on something.
    Also are there are <b>any other settings apart from SSL</b> to be done to make a  https web service call using soap adapter from XI.
    Cheers,
    Chandra

    user13046122 wrote:
    I have an old pl/sql "helper" package, originally written to make SOAP Web Service calls from the database - it uses UTL_HTTP to invoke the target services.
    I now need to make SOAP Web Service calls - from an 8.1.7.4 database
    But the version of UTL_HTTP inside 8.1.7.4 does not contain the functions needed in the helper package
    Can anybody suggest a means of making SOAP Web Service calls from an 8.1.7.4 database ?I think you'll be very lucky to find anyone here who still has access to a version of Oracle that is that old.... I mean... that's like what? 15 years old at least? I'm surprised you've still got hardware that can run that.
    It would probably help if you could post what code you've got and explain which function(s) it's complaining about, as I doubt people will want to guess.

  • Web Service call - XI - SAP  and  SAP - XI  - Web Service response ???

    Hi ALL,
    Need some  guidance on the following Scenario :
    A Legacy system  would  transfer some data to SAP thoruhg a Web Service call and  would expect a response from SAP by way of a response to the same Web service call
    A synchronous Interface , inbound to sap via a Web service call and back  to the legacy system through the response to the same Web Service .
    Need to provide WSDL to the Legacy system
    Any help on how to do the above mentioned will be apreciated
    thanks in advance

    SD,
    Check this weblog for step by step procedure:
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    Here instead of deploying in XI you will deploy your webservice in the legacy system.
    If you want to test this webservice then check this weblog:
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    ---Satish

  • Occasional SOAP errors when making web service calls from C#

    We have a C# application making web service calls to RFCs (non-NCO, SAP 4.7, WAS 6.40) and occasionally getting the following error:
    The 'SOAP-ENV:Envelope' start tag on line '1' does not match the end tag of 'SOAP-ENV:Envel'. Line 1, position 34560.
    This error happens randomly and can occur, not occur, and occur again for the exact same call (same data, same web service call).  I anticipate that we might have a missing configuration on one of our application servers, but don't know where to tell BASIS to look.  Any ideas or other help would be appreciated.

    That's going to be difficult.  The random nature of the error makes it impossible to reproduce (so far) in our Development and Test environments.  Since the error is coming from the SAP side, I believe I would need a sniffer on each production application server in order to try to catch this and that would result in some very large log files.  Is there any log file or other SAP transaction that might already be capturing these failures?

  • Special Character XML Web Service call from Flex

    Hi,
    Let me first give a little background.
    I have to query and return data in XML format. To do so, I have created a custom DSC component. In cases where XML has special characters, LC throws error saying that XML is not properly formed. To over come this issue I used CDATA tag at DSC component. Now LC works as it should and I returns correct result.
    I have a web service call from Flex to get this XML result. Every time i trigger this web service I get an error message saying </document> tag is missing.
    I understand in Flex, web service returned data is wrapped in CDATA tag, thats what i causing all this issue.
    I am not sure, how to handle this situation, I am sure this is a common problem and there should be ways to work around it.
    I would really appreciate if any one could point me in the right direction.
    Thank you ..

    The web service has four operations in it, I need pingQuery operation execution code since it doesnot need any input value.
    I have used code something like this.. Any one please correct me if I am wrong..
    <mx:WebService 
    <mx:WebService> id="webService" wsdl=""https://hydrogen.csd.sc.edu/axis2/services/AcademicHistoryService?wsdl
    >
    <mx:operation name="pingQuery"resultFormat="
    object"result="resultHandler(event);"
    fault="faultHandler(event);"
    >
    <mx:request>
    <PingQuerySpecification>
    <value>
    fsdf
    </value>
    </PingQuerySpecification>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    private function resultHandler(evt:ResultEvent):void {Alert.show(ObjectUtil.toString(evt.result));
    private function faultHandler(evt:FaultEvent):void {Alert.show(evt.message.toString());

  • Web Service call from VB Macros & web service for logging in

    Hi All,
    Is it possible to call a SAP web services from a Visual Basic macro?
    1) If yes, how to do so?
    2) Is there a standard web service through which we can login to an R/3 system?
    3) Once we are logged in can we call other web services?
    Thanks in advance!!
    Regards,
    Saurabh

    Hi Saurabh,
    ad 1) It is possible. In this Excel to SAP R/3 I posted some examples on how to call webservices from within Office 2003 applications.
    The posts are very detailed, I just didn't create a blog since feedback to scripting languages blogs is so low that I didn't find it worth to carefully author a blog.
    ad 2) Web service calls are stateless so you have to authenticate each time you call a service. Either by single sign on mechanisms or by simply hardcoding the credentials.
    hope it helps,
    anton

  • HOW TO CALL A WEB SERVICE OR EJB FROM BPEL

    HI
    i want to call java web service or ejb from my bpel process. how can i do this.
    i am using oracle soa10.1.3.1.0 and jdeveloper 10.1.3.1.0 and oracle database xe 10g.
    thanks in advance K ROY

    You could deploy your EJB or Java under a web service into your OC4J, after that, you invoke a partnerlink from BPEL to the destination of wsdl will do. Also don't forget to add in your XSD schema as well.
    Thanks,
    Jyno

  • ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http

    I am getting error message ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http PL/SQL package,
    when browsed through some of the messages they point to setting Oracle Wallet Manager.
    I am trying to connect
    Any idea on how to resolve this issue ?
    your input is appreciated.
    Thanks
    Ravi

    Duplicate post ... please ignore.

  • Web Service Call from PL/SQL

    Hi Gurus,
    I am calling a Web Service(RoadNet Application) from Oracle PL/SQL(11g Database). My code is working for simple xml type to get the response. But when I tried with a complex XML type, I am getting the response, but it does not have the complete output.
    Working Sample Code
    Here is the code and the calling block which I am using to call. This does not have any input parameters, just one output parameter.
    -----------------Start of the procedure----------------------------------------------------------------------
    create or replace
    PROCEDURE ORACLE_TO_ROADNET_PROC_TEST (p_input IN NUMBER,
                                      l_out_return OUT NUMBER)
    AS
      l_service          UTL_DBWS.service;--TransportationWebService.Service?? what is DB data service?
      l_call             UTL_DBWS.call;--TransportationWebService.
      l_wsdl_url         VARCHAR2(32767);
      l_namespace        VARCHAR2(32767);
      l_soap_env         VARCHAR2(32767);
      l_soap_enc         VARCHAR2(32767);
      l_instance         VARCHAR2(32767);
      l_schema           VARCHAR2(32767);
      l_service_qname    UTL_DBWS.qname;
      l_port_qname       UTL_DBWS.qname;
      l_operation_qname  UTL_DBWS.qname;
      l_xmltype_in       SYS.XMLTYPE;
      l_xmltype_out      SYS.XMLTYPE;
    l_xsdoc     DBMS_XMLDOM.DOMDocument;
      l_dn        DBMS_XMLDOM.DOMNode;
      l_return           NUMBER;
    BEGIN
      l_wsdl_url        := 'http://10.81.8.39:80/TransportationWebService.wsdl';
      l_namespace       := 'http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService';
      l_service_qname   := UTL_DBWS.to_qname(l_namespace, 'TransportationWebService');
      l_port_qname      := UTL_DBWS.to_qname(l_namespace, 'TransportationWebService');
      l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'VersionInformation');
      l_service := UTL_DBWS.create_service (
        wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
        service_name           => l_service_qname);
      dbms_output.put_line('Created the Web Service');
      l_call := UTL_DBWS.create_call (
        service_handle => l_service,
        port_name      => l_port_qname,
        operation_name => l_operation_qname);
        dbms_output.put_line('Created the Web Service Operation');
    --UTL_DBWS.set_target_endpoint_address(l_call, 'http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService/');
    UTL_DBWS.set_property(l_call, 'USERNAME', 'SAE');
    UTL_DBWS.set_property(l_call, 'PASSWORD', 'CxzMte22');
    --UTL_DBWS.set_property(l_call, 'DOMAIN', 'rhea');
    UTL_DBWS.set_property(l_call, 'OPERATION_STYLE', 'document');
    UTL_DBWS.set_property(l_call, 'SOAPACTION_USE', 'true');
    UTL_DBWS.set_property(l_call, 'SOAPACTION_URI', 'http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService/');
    l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
        <VersionInformation xmlns="' || l_namespace || '">
        <parameters>' || p_input || '</parameters>
        </VersionInformation>');
        dbms_output.put_line('Prepared the XML String to pass');
      l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call ,
                                       request     => l_xmltype_in);
    dbms_output.put_line('Invoked the Web Services');
      UTL_DBWS.release_call (call_handle => l_call);
      UTL_DBWS.release_service (service_handle => l_service);
    dbms_output.put_line('Before Reading the XML output data');
    l_return := l_xmltype_out.extract(''//ns1:VersionInformationResponse/ns1:version/text()','xmlns:ns1="http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService">').getNumberVal();
    --dbms_output.put_line('After Reading the XML output data'||l_xmltype_out);
    --dbms_output.put_line('l_return'||l_return);
    -- l_out_return := l_return;
      --dbms_output.put_line('l_dn '||l_dn);
    END ORACLE_TO_ROADNET_PROC_TEST;
    -------------------------------End Of Procedure----------------------------------------------------
    ---Call to Web Service----------------------------------------
    declare
    x_return NUMBER;
    Begin
    Oracle_to_RoadNet_proc_test (p_input => 1,
                           l_out_return => x_return);
    dbms_output.put_line(  ' x_return'||x_return);                   
    end;         
    -----------------------------------------------------------------------------Sample Code Which is not giving output
    Here is the other one which is not returing the right output. It got 3 input parameters and multiple output parameters, looks like it is not reading the inputs and not able to get the response.
    -----------------------Start of the procedure---------------------------------------------
    create or replace
    PROCEDURE ORACLE_TO_ROADNET_PROC(p_region_id IN NUMBER,
                                     p_location_type NUMBER,
                                     p_location_id   NUMBER,
                                     l_out_return OUT varchar2)
    AS
      l_service          UTL_DBWS.service;
      l_call             UTL_DBWS.call;
      l_wsdl_url         VARCHAR2(32767);
      l_namespace        VARCHAR2(32767);
      l_soap_env         VARCHAR2(32767);
      l_soap_enc         VARCHAR2(32767);
      l_instance         VARCHAR2(32767);
      l_schema           VARCHAR2(32767);
      l_service_qname    UTL_DBWS.qname;
      l_port_qname       UTL_DBWS.qname;
      l_operation_qname  UTL_DBWS.qname;
      l_xmltype_in       SYS.XMLTYPE;
      l_xmltype_out      SYS.XMLTYPE;
      l_xsdoc     DBMS_XMLDOM.DOMDocument;
      l_dn        DBMS_XMLDOM.DOMNode;
      l_locationinfo      varchar2(100);
    BEGIN
      l_wsdl_url        := 'http://10.81.8.39:80/TransportationWebService.wsdl';
      l_namespace       := 'http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService';
      l_service_qname   := UTL_DBWS.to_qname(l_namespace, 'TransportationWebService');
      l_port_qname      := UTL_DBWS.to_qname(l_namespace, 'TransportationWebService');
      l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'RetrieveLocationByIdentity');
      l_service := UTL_DBWS.create_service (
        wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
        service_name           => l_service_qname);
      dbms_output.put_line('Created the Web Service');
      l_call := UTL_DBWS.create_call (
        service_handle => l_service,
        port_name      => l_port_qname,
        operation_name => l_operation_qname);
        dbms_output.put_line('Created the Web Service Operation');
    --UTL_DBWS.set_target_endpoint_address(l_call, 'http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService/');
    UTL_DBWS.set_property(l_call, 'USERNAME', 'SAE');
    UTL_DBWS.set_property(l_call, 'PASSWORD', 'CxzMte22');
    --UTL_DBWS.set_property(l_call, 'DOMAIN', 'rhea');
    UTL_DBWS.set_property(l_call, 'OPERATION_STYLE', 'document');
    UTL_DBWS.set_property(l_call, 'SOAPACTION_USE', 'true');
    UTL_DBWS.set_property(l_call, 'SOAPACTION_URI', 'http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService/');
    l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
        <RetrieveLocationByIdentity xmlns="' || l_namespace || '">
        <identity>
        <regionID>' || p_region_id || '</regionID>
        <locationType>' || p_location_type || '</locationType>
        <locationID>' || p_location_id || '</locationID>
        </identity>
        </RetrieveLocationByIdentity>');
        dbms_output.put_line('Prepared the XML String to pass');
      l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call ,
                                       request     => l_xmltype_in);
    dbms_output.put_line('Invoked the Web Services');
      UTL_DBWS.release_call (call_handle => l_call);
      UTL_DBWS.release_service (service_handle => l_service);
    dbms_output.put_line('Before Reading the XML output data');
    insert into  utldbws.EBH_XMLDATA
    values
    (l_xmltype_out, sysdate);
    commit;
    select extractvalue(l_xmltype_out,'//ns1:RetrieveLocationByIdentityResponse/ns1:location/ns1:description', 'xmlns:ns1="http://www.roadnet.com/RTS/TransportationSuite/TransportationWebService">' )
    into l_locationinfo
    from dual;
    l_out_return := l_locationinfo;
    dbms_output.put_line('l_locationinfo '||l_locationinfo);
    END ORACLE_TO_ROADNET_PROC;
    ----------------------End Of the Procedure-------------------------------------------------------
    ----------------Calling Block------------------------
    DECLARE
      p_region_id VARCHAR2(50);
      p_location_type VARCHAR2(50);
      p_location_id VARCHAR2(50);
      L_OUT_RETURN VARCHAR2(100);
    BEGIN
      ORACLE_TO_ROADNET_PROC(
        p_region_id => '310',
        p_location_type => '200',
        p_location_id => '499022',
        L_OUT_RETURN => L_OUT_RETURN
      DBMS_OUTPUT.PUT_LINE('L_OUT_RETURN = ' || L_OUT_RETURN);
    END;
    -----------------------------------------------------------------------------------------------Looks like this is not reading the input parameters and not returning the output but execution is successful. Please go throguh this and let me know, if I am missing anything. If you have worked on similar Web Services, please let me know.
    Thanks in advance!
    Ravi
    Edited by: BluShadow on 16-May-2013 15:19
    added {noformat}{noformat} tags for readability.  Please read the FAQ: {message:id=9360002} and do this yourself in future posts.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    1006367 wrote:
    I am calling a Web Service(RoadNet Application) from Oracle PL/SQL(11g Database). I would not use UTL_DBWS. I had to do another web service interface recently, had a look at UTL_DBWS, and again decided not to use it. Simply put. It lacks.
    I use SOAPUI (OpenSource/free version) to interrogate the web service (read wsdl) and format a sample SOAP envelope to use.
    I then use UTL_HTTP and code a HTML POST for that web service, using the SOAPUI generated envelope as template. Supporting WSSE is also not a problem (easily done using PL/SQL).
    I posted an example of my approach in {message:id=10448611} almost a year ago - and recent experience having looked at both UTL_DBWS and the plan vanilla PL/SQL HTTP approach, I still recommend the latter.

  • How to see http response from an axis web service call (Eclipse)

    Hello,
    I would like to see the raw http response which is returned from web service calls. I have a dynamic web project in Eclipse which uses a local instance of Tomcat 6. I'm using all of the default setting for a top-down web service generated from a WSDL file. I've generated the client using the built-in "generate client" using default settings.
    I've tried using the Eclipse plugin TCP/IP monitor and apache's TCPMON, but I am only able to see the http request, not the http response returned from the web server I am querying.
    I've seen some sparse documentation outlining how to use logging handlers and a client-config.wsdd file, but I haven't been able to get that working.
    So to recap, I'm looking for a way to view raw http responses using a web service client and server generated from a WSDL file in eclipse. I don't mind creating a new project using different code-generating libraries if someone has an easy way to do this using a different configuration.
    Thanks very much,
    Craig

    908794 wrote:
    Hello,
    I would like to see the raw http response which is returned from web service calls.Why the HTTP response? Isn't the soap message body enough? If it is, you probably want to check out SoapUI.
    A simple google query for "apache axis2 http response" also return this article:
    http://blogs.cocoondev.org/dims/archives/004668.html
    And finally, you did go through the Axis2 website right? It has a wiki with a rather staggering amount of articles in there.
    http://wiki.apache.org/ws/FrontPage/Axis2/

  • Initiating BPM Process Instances from External Web Service Call

    I'm attempting to update the HelloWorld example so that I can create an instance of the process from an External Web Services Call rather than via the Workspace. Our current SOA Architecture is configured so that all BPM instances are managed through a .NET SmartClient via the Service Bus and the use of PAPI W/S and so I'm wishing to recreate this capability in the new BPM.
    I understand the replacement for PAPI W/S is Human Workflow so I've therefore updated and republished the HelloWorld Example with an Exposed 'TaskService' Service for the Human Task within the BPM Process.
    I've then attempted to reference the TaskService through our existing BPM, and have been able to import a number of generic WSDL's as follows:
    Task Service
    http://vmaquatestapp2:7001/integration/services/TaskService/TaskServicePort?WSDL
    Task Metadata Service
    http://vmaquatestapp2:7001/integration/services/TaskMetadataService/TaskMetadataServicePort?WSDL
    Task Query Service
    http://vmaquatestapp2:7001/integration/services/TaskQueryService/TaskQueryService?WSDL
    When I examine the available operations for these generic services, there are quite a lot, each of which have a fairly complex schema. I believe I should be using the TaskService: InitiateTask Operation to create an instance of my BPM Process but my questions are:
    - Is the above the correct method of interacting with BPM Instances from an external system such as the Service Bus?
    - Does anyone have any examples of a basic XML payload that would initiate a process instance?

    I created an process with a message start event and can call it from an external web service call. I can also pass input arguments and map those to process data objects. However I can not find how to return data as response to the external web service call as e.g. the process instance id.
    Is it possible to this?
    Gr,
    Gert Jan Kersten

  • Making Web Service calls from a Form in the WorkSpace

    I am getting conflicting information about this, so I hope someone here could clarify it. TIA.
    This is what I want to do:
    after a form is displayed/launched in the WorkSpace,
    when the user Tabs out of a field (Exit event) on the form,
    I want to make a Web Service call from the form,
    get the result from the WebService,
    and use the Result to populate another field on the form.
    I know for certain that this works if I Reader-Extend the form,
    and I set the JavaScript at the Exit event (to execute WebService call)
    as "Run At Client".
    The question is:
    can I make the WebService calls without Reader-Extending the form???
    I have been told that, yes you can,
    but *only if* you let the JavaScript "Run At Server".
    I tried that, but it caused the Reader to crash.
    Some other people told me,
    no you can not,
    even if you "Run At Server", the form still needs to be Reader-Extended,
    when using it in the WorkSpace environment.
    So, what is the truth? can someon tell me?
    Can I make WebServers calls from the Server-side at all?
    Do I really need to Reader-Extend the form even if calling it from server side?
    What exactly is it SUPPOSED to work?
    thanks

    yes, thank you both. I got the fix from Adobe Tech Support last week. It's working.
    The fix I got included a rather complex looking "Submit Service" though. Makes me wonder how a regular user would know that he needs to write such a Submit Service?? and even if he knows that he needs a special Submit Service, would he know how to write it??? I found no documentation for this type of things either.
    Shouldn't this solution be published somewhere in Adobe's website? Dev Lab perhaps?

Maybe you are looking for

  • How do i add my own film to itunes?

    I have films from DVD's I just want to know how to put them on my iTunes or IPod?

  • Problem with a Dell Monitor - stopped working yesterday, just a flashing orange light. Monitor or Mac Mini issue?

    I've been using an old Dell monitor with my Mac Mini ever since I got it, however yesterday evening my monitor stopped working - however I'm not sure whether the issue is with the monitor or the Mac Mini. It just doesn't seem to respond when I try to

  • Hard lock when waking from sleep

    I have a nVidia 9400m MacBook Pro 13 and I've been having consistent problems waking the machine from sleep. Once the computer goes to sleep and I wake it (either by opening the lid or pressing the power button if the lid is open,) I get a display of

  • Restful Webservice and German Umlaut

    Hello, i'm trying to setup a restful webservice using Apex 4.2 and Apex Listener 2, but i have problems regarding german unlaute in the json response. To see if its a configuration error on my side, i did setup an exmaple on apex.oracle.com and there

  • IBook G4 not recognizing external drive

    I have an iBook G4 w/OS10.3.9. Up until the past couple of days, I have been able to regularly backup my internal drive to both my Iomega and Maxtor USB drives. Now when I connect them, I either get a message indicating that they are not readable and