Oracle SMS web service

Has anyone got this demo SMS web service to work?
http://otn.oracle.com/tech/webservices/htdocs/series/mobile/content.html
I tried using many different ways: Oracle's SOAP lib, Apache SOAP, Apache Axis, ASP.NET. None of them work.
When I used Oracle's SOAP lib within Jdev9i (as illustrated by the demo code), I get a MainClassNotFound, when using all the other libraries. I get errors with SOAP message encapsulation (I think other libs have trouble encoding the ArrayOfString data type).
I'd like to hear from someone who successully used this web service.
The WSDL is at http://otn.oracle.com/ws/9iasmobile?WSDL

Has anyone got this demo SMS web service to work?
http://otn.oracle.com/tech/webservices/htdocs/series/mobile/content.html
I tried using many different ways: Oracle's SOAP lib, Apache SOAP, Apache Axis, ASP.NET. None of them work.
When I used Oracle's SOAP lib within Jdev9i (as illustrated by the demo code), I get a MainClassNotFound, when using all the other libraries. I get errors with SOAP message encapsulation (I think other libs have trouble encoding the ArrayOfString data type).
I'd like to hear from someone who successully used this web service.
The WSDL is at http://otn.oracle.com/ws/9iasmobile?WSDL

Similar Messages

  • SMS Web Services Using ADF BC

    We would like to implement SMS web services using ADF BC. Could u please help us to point us to the right path to start this. The SMS web services will send the logs, errors or exception generated by Oracle ADF based application to mobile phones. The recipient of this is an IT administrator or those who will maintain the application.
    Aside from the software architecture, what are necessary technical implementation or hardware infrastructure needed to implement this? Is the Oracle wireless already integrated with the Oracle 10g AS?

    Are you already familiar with ADF BC and just trying to implement a web service with it?
    I'm not familiar with what special facility an "SMS Web Service" would need. If you can implement it as a simple java class, you can implement it as a simple java class that uses ADF Business Components for sure.

  • Oracle 9i Web Services Quickstart Install TCP tunneling problem

    When I try to run the OTNGUIDGenerator example using the TCP Tunneling portion of the Oracle 9i Web Services Quickstart
    Install I get this in the From localhost8900 tunnel window:
    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:getGUID xmlns:ns1="oracle.otn.ws.emarket.OTNGUIDGenerator" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    </ns1:getGUID>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I get this in the From 127.0.0.1:8888 window:
    HTTP/1.1 404 Not Found
    Date: Mon, 28 Oct 2002 20:38:06 GMT
    Server: Oracle9iAS (9.0.2.0.0) Containers for J2EE
    Content-Length: 171
    Connection: Close
    Content-Type: text/html
    <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>404 Not Found</H1>Resource /j2ee-web/oracle.otn.ws.emarket.OTNGUIDGenerator not found on this server</BODY></HTML>
    This is my webservices stub
    public class OTNGUIDGeneratorStub
    /** public String endpoint = "http://otn.oracle.com/ws/oracle.otn.ws.emarket.OTNGUIDGenerator"; */
    public String endpoint = "http://127.0.0.1:8900/j2ee-web/oracle.otn.ws.emarket.OTNGUIDGenerator";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    public OTNGUIDGeneratorStub()
    System.setProperty("oracle.soap.transport.noHTTPClient", "true");
    m_httpConnection = new OracleSOAPHTTPConnection();
    Properties props = new Properties();
    /** props.put(OracleSOAPHTTPConnection.PROXY_AUTH_TYPE, "basic");
    props.put(OracleSOAPHTTPConnection.PROXY_HOST, "proxy.scott.af.mil");
    props.put(OracleSOAPHTTPConnection.PROXY_PORT, "375");
    props.put(OracleSOAPHTTPConnection.PROXY_USERNAME, "fowlerji");
    props.put(OracleSOAPHTTPConnection.PROXY_PASSWORD, "F1234567*g"); */
    m_httpConnection.setProperties(props);
    Not sure what to call the server - this works okay when I'm not using tunneling and using our proxy server??

    I think your problem is that you have a proxy user/password and the TCP Monitor (both the command line and built-in 9.0.3 version) do not support that - they only support specification of the proxy server itself :-(
    It is a feature request that I hope will make it into the late spring/early summer release of JDeveloper - I wrote it up as a request based on the number of folks who faced this issue with these tutorials.
    Mike.

  • Oracle Spatial Web Services in ADF application

    Hi,
    I want to use Oracle Spatial Web Services in an ADF application (JDeveloper 11.1.2) to retrieve Longitude/Latitude after inserting/upating an address record.
    Is there any sample app or documentation on how to do this?
    Thank you,
    Monica

    I never did solve the problem. I decided to try out GeoServer for WFS and am very impressed. It was much easier to install and pretty feature-filled as well with a lot of documentation. I would definitely suggest checking it out to see if it will fit your needs.

  • WS-I fails with Oracle Generated Web Service

    Hi
    I recently used WS-I Analyzer to analyze the HTTP Analyzer logs. I get the following error:
    SSBP1003
    The Content-Type header is not present.
    Element Location:
    lineNumber=19
    SSBP5101
    The message either (1) did not have a "Content-Type" HTTP header field, or (2) the "Content-Type" HTTP header field had a field-value whose media type was something other than "text/xml"
    Element Location:
    lineNumber=19
    Any ideas?

    I successfully developed the oracle native web service for returning single record but the next challenge is to develop web service in order to return multiple record (like Employees data base on each department)You could return a list (multiple values/records) in XML format (using XMLType or CLOB), or CSV, or JSON, or whatever.
    function get_employees (p_department_id in number) return clob
    as
    begin
      return 'your_xml_string_here';
    end get_employees;It would be up to the client (the caller of the web service) to extract the values from whatever format you decide upon, of course.
    - Morten
    http://ora-00001.blogspot.com

  • How to return multiple record with Oracle Native Web Service?

    Dear all,
    I would like to know that the oracle native web service can be able to return multiple records to client or not?
    I successfully developed the oracle native web service for returning single record but the next challenge is to develop web service in order to return multiple record (like Employees data base on each department)
    Thank and Regards,
    Zenoni

    I successfully developed the oracle native web service for returning single record but the next challenge is to develop web service in order to return multiple record (like Employees data base on each department)You could return a list (multiple values/records) in XML format (using XMLType or CLOB), or CSV, or JSON, or whatever.
    function get_employees (p_department_id in number) return clob
    as
    begin
      return 'your_xml_string_here';
    end get_employees;It would be up to the client (the caller of the web service) to extract the values from whatever format you decide upon, of course.
    - Morten
    http://ora-00001.blogspot.com

  • Oracle BI Web Services to extract Presentation Variables

    Hi Folks,
    I have a complex requirement and was unable to find the right solution on web.
    My general question is,
    What is the C# code which uses Oracle BI Web Services to extract Presentation Variables information and write it to XML files?
    We are unable to extract for Presentation Variables with Variable Value but able to extract for Column Value.
    So please share your thoughts as how to extract the presentation variables.
    Thanks,
    Oj

    Oj,
    Check this
    O.B.I.E.E: Obiee Web Services &amp;#8211; Using .net and C#
    http://msdn.microsoft.com/en-us/library/windows/desktop/gg537745(v=vs.85).aspx
    Try this and let us know the outcome.
    Thanks,

  • Oracle Calendar Web services toolkit download

    Where can I download Oracle Calendar Web Services Toolkit ?

    OK, I found it under the OCS sindows client v9 download.

  • Oracle Database Web Service Client using UTL_DBWS :: ORA-29532 Error

    Hi,
    I have the Oracle Database 10.2.0.1.0 :-
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - ProductionI have written a simple Web Services Client using the classes gfrom the UTL_DBWS package. I loaded the JAR file dbwsclient.jar in the SYS Schema and I am trying to use it in the USF Schema.
    However, I have hit this error & I ma unable to proceed :-
    SQL>  select get_stock_price from dual;
    select get_stock_price from dual
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.IllegalAccessException: javax.xml.rpc.ServiceException:
    java.security.AccessControlException: the Permission
    (java.lang.RuntimePermission getClassLoader) has not been granted to USF. The
    PL/SQL to grant this is dbms_java.grant_permission( 'USF',
    'SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
    ORA-06512: at "USF.UTL_DBWS", line 193
    ORA-06512: at "USF.UTL_DBWS", line 190
    ORA-06512: at "USF.GET_STOCK_PRICE", line 17Can you please help me with this ?
    Regards,
    Sandeep

    Hi,
    The error message said
    the Permission(java.lang.RuntimePermission getClassLoader) has not been granted to USF.
    I'd follow the suggestion
    The PL/SQL to grant this is dbms_java.grant_permission( 'USF','SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
    In case you have not done so, consult the Callout Users Guide @
    http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
    Kuassi http://db360.blogspot.com

  • Oracle ADF web services data control reconfiguration problem....

    We fallow instruction below
    http://www.oracle.com/technology/products/jdev/viewlets/1013/bpelfromadf_viewlet_swf.html
    That was our test environment.
    we need to change web service url according to our production environment.
    But we can't find ADF web services data control configuration pages.
    do we need to manually change XML file.
    Thanks..

    sorry. I miss the structure windows..
    I see the menu.
    in my opinion this setting need to be done on the item.
    Also We can't refresh Web servise parameter list from there.
    is tehre any where to refresh parameter list.

  • Help Urgent : Invoking SMS Web Services Using ABAP FM HTTP_POST

    Dear Gurus,
    Our client requirement is in such a way that ,
    They want to invoke web services for sending SMS through ABAP program.
    Please suggest the way .
    I am using FM HTTP_POST in order to call the URL for web service for SMS.
    My URL is as follows,
    'http://IP ADDRESS :PORT /invoke/crm_sms/send_crm_sms?&mobile_no=9987536748&message=HI' .
    and my code is as follows,
    ========================================================================
    report ztesturl.
    data : begin of t_request_body occurs 0 ,
            body(1025),
            end of t_request_body.
    data : begin of t_request_header occurs 0 ,
            body(1025),
            end of t_request_header.
    data : str(20) value '9987536748' ,int(20) value 'text',uri(460),
           status_code(100),
           status_text(100),
           len type i.
    data : begin of t_response_body occurs 0 ,
            body(1025),
            end of t_response_body.
    data : begin of t_response_header occurs 0 ,
            body(1025),
            end of t_response_header.
    uri = 'http://IP ADDRESS :PORT /invoke/crm_sms/send_crm_sms?mobile_no=9987536748&message=HI' .
    concatenate 'mobile_no=' str into t_request_body-body.
    append t_request_body.
    concatenate 'message=' int into t_request_body-body.
    append t_request_body.
    move: url to t_request_header-body.
    append t_request_header.
    call function 'HTTP_POST'
      exporting
        absolute_uri                = uri
        request_entity_body_length  = 300
        blankstocrlf              = 'X'
        proxy                       = 'IP Address:Port'                  ===> Same as Interner Tools -> Connection
        proxy_user               = EMAIL ID                            ===> Which i am using Userid for Internet
        proxy_password       = 'password123'
      importing
        status_code             = status_code
        status_text              = status_text
        response_entity_body_length = len
      tables
        request_entity_body         = t_request_body
        request_headers             = t_request_header
        response_entity_body        = t_response_body
        response_headers            = t_response_header.
    I am getting Following log in t_response_body
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    2 3 5                                             
    ERROR                                             
    6                                             
    Cache Accesss
    7                                             
    8                                             
    9 While trying to retrieve the URL: 10 http://IP ADDRESS :PORT /invoke/crm_sms/send_crm_sms?
    11
    12 The following error was encountered:
    13                              
    14
    15 16 Cache Access Denied. 17 18
    19
    20 21
    Sorry, you are not currently allowed to request: 22
        http://IP ADDRESS :PORT /invoke/crm_sms/send_crm_sms?
    23 from this cache until you have authenticated yourself. 24
    25 26
    27 You need to use Netscape version 2.0 or greater, or Microsoft Internet 28 Explorer 3.0, or an HTTP/1.1 compliant browser for this to work. Please 29 contact the cache administrator if you have 30 difficulties authenticating yourself or
    31 change your default password.
    32                    
    33
    34                                             
    35                                             
    36 Generated Thu, 26 Jun 2008 11:18:54 GMT by ProxyServer.VakolaProxy (Squid/2.4.STABLE7) 37                                                                                
    Thanks in advance.
    With Regards,
    Rajesh C

    slen = strlen( user ).
    call 'AB_RFC_X_SCRAMBLE_STRING'
      id 'SOURCE'      field user        id 'KEY'         field key
      id 'SCR'         field 'X'         id 'DESTINATION' field user
      id 'DSTLEN'      field slen.
    slen = strlen( password ).
    call 'AB_RFC_X_SCRAMBLE_STRING'
      id 'SOURCE'      field password    id 'KEY'         field key
      id 'SCR'         field 'X'         id 'DESTINATION' field password
      id 'DSTLEN'      field slen.

  • ORA-06502 JNI.CALL_STRING_METHOD Oracle Forms & Web Services

    Hello:
    A customer of us has been integrating Oracle Forms 10g and Web Services.
    There is a java class named WsGenQueryStub. That java class has been generated using Oracle JDeveloper.
    It implements the consume of a Web Service That class has a method named GetDat which receives 2 input parameters which are of VARCHAR2 type, containing XML text.
    This method returns an XML text string which may have more than 4000 characters .
    That class is incluedd at forms application by using the "Import Java Class" feature.
    Forms builds a package named WsGenQueryStub which includes the following funtion
    -- Method: GetData (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION GetData(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(2);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'Interfases/WsGenQueryStub', 'GetData', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    END;
    Forms Version is 9.0.4.0.19 , and PL/SQL version ( of forms ) is 9.0.1.5.1 , both support variables of type VARCHAR2 up to 32767 characters long
    However when the form is run the line
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'Interfases/WsGenQueryStub', 'GetData', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    gets the ORA-06502 error when the returned text is longer than 4000 characters
    I thank your answers.
    Fernando.

    Ferdo,
    could you split up the result string in chunks that don't exceed the max. length? A method exposed on the Java class to could do this and be called from Forms as long as there is data coming.
    Frank

  • Use other application server to run Oracle generated web services

    Hi all,
    I am currently running an Oracle 9i database and application server (OC4J) and use WebservicesAssembler (JPublisher) to expose PL/SQL packages as web services to an external PDA application.
    Is it possible to run the EAR files (the assembled web service) generated in this way on another type of application server? This question because I need to use Resin in a live environment.
    If this is not possible, would there be a way to work around it? I mean by manually programming the web service against the PL/SQL package. And if so, has anybody tried that out before?
    Are there other alternatives?
    Thanks in advance for your help!
    Regards,
    Stijn Lambert

    Hello,
    Which version of OracleAS/Web Service stack are you using?
    If you are using a version prior to 10.1.3 the Web Service stack is proprietary and not portable.
    JAX-RPC used in 10.1.3 is more portable but you have to be very careful about the way you create your deployment descriptor.
    In a general manner you can always create pure JDBC/JPublisher clients and expose them using the Web Service that you want.
    Regards
    Tugdual Grall

  • Using Oracle AS Web Services stub in portlet?

    I have built a portlet using the jdeveloper plugin wizard, and added a web service stub using the jdeveloper wizard for that. I have added no other code to the portlet than the stub. When running the portlet the classloader throws an class format exception. When using the same stub in a standalone application it runs fine. The libraries mentioned in jdevelopers under the system library "Oracle SOAP" has all been added to the webapplication web-inf/lib. How do I fix it?

    (coworker)
    We have solved the problem. It turned out that the auto generated stub contained code not compatible with the OC4J class loader (but compatible with normakl JVM classload). By modifying the stub a little we got it working. Here is the an extract from one method in the stub. The two line that work comes first and the two next lines contains the auto generated code
    public Integer dispatchFile(byte[] fileContent, Integer programID) throws Exception {
    params.addElement(new Parameter("fileContent", fileContent.getClass(), fileContent, null));
    params.addElement(new Parameter("programID", programID.getClass(), programID, null));
    // params.addElement(new Parameter("fileContent", byte[].class, fileContent, null));
    // params.addElement(new Parameter("programID", Integer.class, programID, null));
    The two original lines compiles into some static class members and a static method that fails to load.
    The new code does not produce any static content.
    We consider this behaviour to be an OC4J error.

  • BPEL & Oracle J2EE Web Services

    I have only tested with success invocations to JAX-RPC
    web services.
    When I try to call an oracle J2EE rpc/encoded web service
    I get a runtime error:
    BPEL Fault: {http://mypackage4/ws_hola.wsdl}org.apache.wsif.soap.fault{org.apache.wsif.soap.fault.object=No Deserializer found to deserialize a 'http://mypackage4/ws_hola.wsdl:quien' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'. [java.lang.IllegalArgumentException]}
    Does anybody know why?

    Hello 2087,
    try to add support for xsi type in "bpel.xml" of your bpel process
    Example:
    <?xml version="1.0"?>
    <BPELSuitcase>
    <partnerLinkBinding name="PartnerLinkName">
    <property name="wsdlLocation">services/PartnerLinkNameWrapper.wsdl</property>
    <property name="sendXSIType">true</property>
                   </partnerLinkBinding>
    For more information see the link in this forum:
    [NOTE] Adding xsi type to SOAP messages
    ByeBye
    Andrea

Maybe you are looking for

  • Oracle table statistics

    Dear All Members, Is there any way where we can check whether current statistics in table are outdated in oracle? In OTN i found using view "DBA_TAB_MODIFICATIONS" we can gather timestamps of statistics But can we use this to compare the quality of s

  • Does iDVD really take 6 HOURS to burn a DVD???

    This is my first DVD to burn on the iMac. Previously I have used DVD Shrink on a Windows machine which took about 1 hour from rip to completed burn. I have already used the Hand Brake program to create a mp4 and I am using iDVD to burn a new DVD and

  • How To Cancel BT

    Im I in breach of contract if I cancel BT? I moved to them 09/08/10 and since then I have had a profile of 250k and 350k even though my router is syncing at over 1500k. I have had 1 day of speeds with a profile of 1250k but when and engineer who was

  • I want to see the previous month workload statistics for my system.

    Hello, I want to see the previous month workload statistics for my system. When I go to st03n ->expert mode, go to month view and when I click on previous month workload analysis I see data for 12 days only. However, the data is available in weekly v

  • How to tackle ' ' in utl_file

    Hi we are in the process of loading data from .csv files into the database but instead of using sqlldr we have opted for utl_file package. in sqlldr we have an option where we can specify optionally enclosed by ' ' for taking care of data enclosed in