Accessing Web Service via Bluetooth

Hi,
I'm developing a client for a web service which is running on my system.
Can I access this web service via bluetooth.
Thanks

I can give you one solution not direct but in some tricky way you can achieve what you are trying to do.
1. Built a client application in Java and run it as a service in your laptop and will be communicate with your application at the mobile end.
2. Send some triggering command to that application(the service you are running in laptop) from your mobile which will access the web service and perform the action you want your web service to do and send the result over bluetooth to your mobile app.
In this case instead of using the bluetooth directly to access the web service you are making one proxy application to perform. Hope this solution will help you out to move ahead. Let me know whether it works for you or not.
Shan!!!

Similar Messages

  • Invoke Siebel OnDemand Web Service via BPEL

    Hi,
    We are trying to invoke Siebel OnDemand Web Service via BPEL.
    We have followed the steps as mentioned in
    http://www.oracle.com/technetwork/topics/ofm-siebel-blog-postings-092216.html
    But still we are unable to get the Session Id.
    Do we need to opne any port to resolve this issue or do we have any other way to get the session ID.
    Please let me know if there is any solution to this...
    Thanks

    Thanks for the update..
    We are trying to invoke the CRM On Demand session ID using the BPEL. It seems the we are having some problem with the URL
    https://secure-ausomxapa.crmondemand.com/Services/Integration?command=login
    => `Integration?command=login
    we are trying to access the URL from our SOA server using wget and we are getting following result.
    [XXXXXXXXXXXXXXX ~]$ wget https://secure-ausomxapa.crmondemand.com/Services/Integration?command=login
    --07:32:19-- https://secure-ausomxapa.crmondemand.com/Services/Integration?command=login
    => `Integration?command=login'
    Resolving secure-ausomxapa.crmondemand.com... 141.146.149.68
    Connecting to secure-ausomxapa.crmondemand.com|141.146.149.68|:443...
    We are expecting that we are unable to access the URL using 443 port.

  • Error accessing Web Services afer a Push Activation

    I am facing a strange problem when I try to access a web service after my Midlet is activated via Push Registry: when the stub is trying to invoke the web service, the device (the Wtk 2.2 emulator) asks the permission to use the airtime Internet and, after I press Yes, it does nothing.
    When I try to invoke the web service via an user activated Midlet, this problem does not exist and the connection to the web service is established.
    I'm using Sun Wtk 2.2, sun Web Services API and the Push Registry. The target devices will work on CLDC 1.1 and MIDP 2.0.
    Jorge

    Weblogic does not have any such tool to call the web service hosted on remote machine.
    However in order to drill down the issue, you can create a standalone class and try to access the remote web service from the same machine where the WLS is installed and the application is deployed.
    If the standalone class can access the web service then this is the issue with the WLS configuration for sure.
    Thanks,
    Sandeep

  • Problem accessing web service, error 2032 Stream Error

    I'm building a small flex app hat uses two web services
    provided by the same coldfusion CFC.
    I've verified that I can successfully access the web services
    via HTTP, and one of the web services actually does work when
    called. Both return structures that contain a string var, a numeric
    var, and one or more query vars.
    Here is my web service declaration:
    quote:
    <mx:WebService id="ws"
    wsdl="https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc?wsdl"
    useProxy="false">
    <mx:operation name="queryDB" result="queryDBResult()"
    fault="queryDBFault(event)">
    <mx:request>
    <RUNDATE>{cboRunDate.selectedItem.XDATE}</RUNDATE>
    <ENTITYID>{txtEntityID.text}</ENTITYID>
    <LASTNAME>{txtLastName.text}</LASTNAME>
    <FIRSTNAME>{txtFirstName.text}</FIRSTNAME>
    <MINITIAL>{txtMiddleInitial.text}</MINITIAL>
    <PRFSCHCD>{cboPreferredSchool.selectedItem.TABLKEY}</PRFSCHCD>
    <PRRECTYP>{cboRecordType.selectedItem.TABLKEY}</PRRECTYP>
    <PRFCLASS>{txtPreferredClass.text}</PRFCLASS>
    </mx:request>
    </mx:operation>
    <mx:operation name="getListData"
    result="getListDataResult()" fault="getListDataFault()"/>
    </mx:WebService>
    Sorry if the formatting sucks, I don't know how to post
    "code" here.
    Anyway, the getListData() method works fine and populates my
    list boxes. But when I call the queryDB() method, I get the
    following fault event:
    quote:
    [FaultEvent fault=[RPC Fault faultString="HTTP request error"
    faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent
    type="ioError" bubbles=false cancelable=false eventPhase=2
    text="Error #2032: Stream Error. URL:
    https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc"].
    URL:
    https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc"]
    messageId="1E553B99-DF28-ED72-62B8-B84AA3919F9A" type="fault"
    bubbles=false cancelable=true eventPhase=2]
    I've looked all over the place and I can't seem to find what
    this error means. I've tried all kinds of different ways of doing
    things. Right now I'm browsing the flex app via a file URL (C:\...)
    but I tried putting it up on the server too and that didn't work
    either.
    The method call *DOES* work when called via HTTP... ie
    https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc?method=queryDB&RUND ATE=2006-05-19&FIRSTNAME=&LASTNAME=SMITH&MINITIAL=&PRFSCHCD=&PRRECTYP=AL&PRFCLASS=&ENTITYI D=
    (You have to be logged in for that to work so you'll just
    have to trust me, it returns no records if you're not logged into
    the web site already).
    I'm totally stressing out about this because I've essentially
    spent the entire day since 8am trying to solve this. The
    application should've taken 15 minutes total.
    HELP!
    Thanks for any suggestions y'all have.
    Rick

    It means your output was not formed correctly and could not
    be parsed. set up a server side script or something to check that
    the output is indeed what you think it should be, 99% of the time i
    get thie error its due to malformed output from my webservice or
    db. Also try making an xml model of your target data to test the
    application internaly, look up model in the docs, it easy to use
    and if the model works then you know the data is faulty and you
    need to check your output and queries.

  • WRVS4400N accessing local services via external IP

    Hello everyone,
    Recently I'm having issues with accessing local services via external IP. Short description of configuration:
    - sub.mydomain.com pointing to my external IP.
    - few web services running on my local server with reverse proxy on Apache 2
    - firewall on router enabled
    - ips on router disabled
    - single port forwarding: WAN 80->Lan 443, WAN 443->LAN 443
    - accessing my services via sub.mydomain.com/service1, sub.mydomain.com/service2, etc
    - I had to create a new rule in internet access policy allowing LAN, any, any to
    Basicaly if I go no matter if I type http or https I will be redirected on 443.
    That configuration has beed working without any issues for a month. Recently I have increased the amount of DHCP users and suddenly it's not working any more. I can still access my services from outside but not from LAN.
    Restarting router does the trick for a while, sometimes for few minutes, sometimes longer.
    Enabling IPS is the way to go but then I'm limited to around 22Mbit/s.
    I did almost everything what is possible to solve this issue, I'm lost and frustrated. I have no idea what happend.
    What I can't understand that it was working, suddenly it's stopped and there are two solutions, either to enable IPS or to restart router which to be honest aren't the solution I'm looking for.
    Please help me point the problem.
    Thank you in advance
    Best regards
    Bartek

    Hi, My name is Eric Moyers. I am a Network Support Engineer in the Cisco Small Business Support Center.
    I recieveed your email and have looked at your posting. This seems like it may be more complicated that what should be handled in a chat. Could you please call into the the Small Business Support Center for support.
    Check the listings on this link and contact the center nearest you.
    http://www.cisco.com/en/US/support/tsd_cisco_small_business_support_center_contacts.html
    If you are in the US, please call 1-866-606-1866, and any answering agent should be able to assist you.
    Eric Moyers
    Cisco Network Support Engineer
    CCNA, CCNA-Wireless
    1-866-606-1866

  • How to consume/access web services in forefront identity manager 2010 r2

    Hi,
    I have one web service  in c# for authentication  so i want to integrate this web service in my FIM 2010 R2.I want to ask one more question how to consume/access web service of FIM 2010 R2,so please tell me how is it possible in FIM 2010 R2 and
    anybody have any example for consuming/accessing web service step by step in FIM 2010 R2.
    Regards
    Anil Kumar

    Here is some C# code that accesses FIM resource attributes from the web services via the FIM 2010 Resource Management Client which I mentioned in an earlier post:
    using System;
    using System.Collections.Generic;
    using Microsoft.ResourceManagement.Client;
    using Microsoft.ResourceManagement.ObjectModel;
    namespace MyTest
    public partial class ResourceAttribute
    public ResourceAttribute()
    public string GetTypeAndDisplayName(string objectID)
    String ReturnValue = String.Empty;
    using (Microsoft.ResourceManagement.Client.DefaultClient client = new DefaultClient())
    client.ClientCredential = CredentialCache.DefaultNetworkCredentials;
    client.RefreshSchema();
    string query = String.Format("/*[ObjectId={0}]", objectID);
    foreach (RmResource res in client.Enumerate(query))
    String displayName = res.DisplayName;
    String objectType = res.ObjectType;
    ReturnValue = displayName + " (" + objectType + ")";
    break;
    return ReturnValue;
    You would just need to define your bindings and endpoints in your web.config. This method will return the DisplayName and ObjectType for the resource with the ObjectId matching the objectID argument. If you need more information, please provide more specifics
    for what you are trying to accomplish.
    There are many code examples for this library on its CodePlex home:
    http://fim2010client.codeplex.com/

  • Invoke existing DotNet web services via B1IF soap call

    Hi All,
    I have developed my own B1IF web services and invoked them with dot net.
    I now want to invoke existing hosted web services via B1IF (Not B1IF Web Services).
    Can someone guide me using the Web Service Call (soap call).
    Can I invoke any web service via B1IF scenarios (Web Service Call) ?
    Kind Regards,
    Brenden Draper

    Hi Bastian,
    I read about it for some reason I get the following error when loading the wsdl:
    Can you maybe tell me why I get this ?
    I can access the wsdl via my browser perfectly.
    Kind Regards,
    Brenden Draper

  • Accessing Web services and I don't mean RFCs

    Hi,
    Does anyone know if it possible to access "normal" web services via the SAP Widget Development Tools. I know that it is possible to access RFC via Web Services using the SAP Widget Foundation Library. What about other web services. For example, those that are created via CAF Core development work or web services that are available via the Internet.
    From what I've seen there is no support of such calls and the developer has to do all the work himself.
    Thanks.
    Dick
    P.S. I've looked at the widgets in the widget gallery and most use BAPIs via JCO.

    Hi Richard,
    Have you anytime accessed RFC via web servcies.
    When I tried to access the web servcies which are displayed with "wsadmin" I couldnt access those.
    Only those seen through se37 are obtained by ws_services.
    Share the information if you have done this.
    Thanks and Regards,
    Sumangala

  • Return NULL when invoke Web Service via UTL_DBWS

    Hi all,
    right now, i'm using UTL_DBWS to acces Web Service via database.. but when i'm trying to get data from WEB SERVICE, using utl_dbws.invoke , i got NULL value.
    It happened if The result more than Varchar2 / 32767 byte.
    i'have tried to change code by :
    result := sys.utl_dbws.invoke(l_call, l_input_params);
    P_clob := sys.anydata.accessCLOB(result);
    The Output IS NULL value even if the data was less than Varchar2 or 32767 byte..
    this is my script looks like ::
    declare
    service sys.utl_dbws.SERVICE;
    l_call sys.utl_dbws.CALL;
    result ANYDATA;
    wsdl_url VARCHAR2(1024);
    service_name VARCHAR2(200);
    operation_name VARCHAR2(200);
    input_params sys.utl_dbws.ANYDATA_LIST;
    p_out VARCHAR2(32767);
    p_xml XMLTYPE;
    p_clob CLOB;
    begin
    wsdl_url := 'http://127.0.0.1/Exercise/WSDL2.php?wsdl';
    service_name :='{urn:hellowsdl}hellwsdl';
    operation_name := 'getData';
    service := sys.UTL_DBWS.create_service (
    wsdl_document_location => URIFACTORY.getURI(wsdl_url),
    service_name => service_name);
    l_call := sys.utl_dbws.create_call(
    service_handle => service,
    port_name => null,
    operation_name => operation_name
    input_params(1) := ANYDATA.ConvertVarchar2('DOCCODE');
    result := sys.utl_dbws.invoke(l_call, l_input_params);
    p_out := sys.anydata.accessVarchar2(result);
    sys.UTL_DBWS.release_call (call_handle => l_call);
    sys.UTL_DBWS.release_service (service_handle => service);
    end;
    Thanx for Any Help

    The basics are simple:
    - format a valid SOAP envelope
    - use UTL_HTTP to make the call
    - process the response (typically XML output)
    Sample source code in {message:id=4205205}.

  • Invoking Siebel CRM OnDemand Web Service via BPEL

    I'm trying to invoke a Siebel CRM OnDemand Web Service via BPEL. Basically, the Siebel guide says to post to a url with user/pwd to get a session ID returned from a cookie. I did that using embedded java and have the session ID as a variable in my BPEL process. My problem is with now calling the Web Service to perform the action. I have a WSDL from Siebel, but the guide says to use an HTTP post with the session ID in the url and the XML in the body. How do I do that? Shouldn't the WSDL handle that when I create the Partner Link? Do I need to use more embedded Java for this or can I set up a Partner Link? I created a Partner Link and it shows the methods I want to use, but I get the following error when I try to call it because I don't know where to add the session ID:
    <ErrorCode xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">SBL-ODU-01006</ErrorCode>
    <ErrorMessage xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">Internal Error: Session is not available. Aborting.</ErrorMessage>
    Any help would be GREATLY appreciated. Please let me know if you need more information.
    THANKS!

    The Siebel OnDemand web services can accept the siebel session token in the URL. Append ';jessionid={%sessionIdFromCookie%}' to the end point. Obviously this has to be done dynamically. Refer to the article called 'Making BPEL Processes Dynamic' (http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html) pay particular attention to the 'Eliminating address dependency at run time' section.
    Peter

  • Not able to access web service with axis and tomcat

    Dear all
    i am trying to access web service using axis in tomcat.
    i downloaded axis-bin-1_4.zip, unzipped it and installed it properly in tomcat.
    i had tested axis, its working fine.
    i had created a simple java class(a sample class from book) and deployed it in axis. i also created a client(a java consol class) for accessing that web service. but its giving error. i have no idea why this is comming.
    plz point me in right direction.
    thanks in advance
    The error is:
    Exception in thread "main" AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (404)/axis/ArithmeticProcessor.jws
    faultActor:
    faultNode:
    faultDetail:
            {}:return code:  404
    <html><head><title>Apache Tomcat/6.0.14 - Error report</tit
    le><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;ba
    ckground-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;
    color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Ari
    al,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-f
    amily:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-famil
    y:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:
    Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color :
    black;}A.name {color : black;}HR {color : #525D76;}--></style> </hea
    d><body><h1>HTTP Status 404 - /axis/ArithmeticProcessor.jws</h
    1><HR size="1" noshade="noshade"><p><b>
    type</b> Status report</p><p><b>message</b> <u&
    gt;/axis/ArithmeticProcessor.jws</u></p><p><b>descriptio
    n</b> <u>The requested resource (/axis/ArithmeticProcessor.jws) is n
    ot available.</u></p><HR size="1" noshade="noshade
    "><h3>Apache Tomcat/6.0.14</h3></body></html>
            {http://xml.apache.org/axis/}HttpErrorCode:404
    (404)/axis/ArithmeticProcessor.jws
            at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
    ava:744)
            at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
            at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
    y.java:32)
            at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
            at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
            at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
            at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
            at org.apache.axis.client.Call.invoke(Call.java:2767)
            at org.apache.axis.client.Call.invoke(Call.java:2443)
            at org.apache.axis.client.Call.invoke(Call.java:2366)
            at org.apache.axis.client.Call.invoke(Call.java:1812)
            at ArithmeticClient.main(ArithmeticClient.java:50)

    Hi ,
    Please go through this link and check in this way only you created the webservice correctly or not. If not follow and do it definitely will get you the webservice access by iphone or any application.
    www.scribd.com/doc/19255987/Web-Services-in-Abap

  • Calling web service via SSL

    Hi,
    I do not succeed in calling a web service via SSL from within a Web Dynpro application.
    Current settings of my logical port:
    Target Address: https://...
    Authentication: HTTP authentication, basic (username/password)
    I do call methods _setUser and _setPassword to set userid and password before calling method execute() of my modelclass.
    On calling method execute(), I get message "Connection closed by remote host".
    Any suggestions ?
    Many thanks.
    Jorgen

    Can you check the following?
    1) Did you install the SAP Cryptographic toolkit for Java available from service.sap.com?
    2) Did you install the "Java Cryptography Extension (JCE)
    Unlimited Strength Jurisdiction Policy Files 1.4.2". For Sun they are available here: http://java.sun.com/j2se/1.4.2/download.html (last item on page)
    3) How is the SSL server configured? Does it require client authentication? In this case you must send a client certificate.

  • Error at run time When Access Web Service in web dynpro java

    Hi
    I am used web service created on other machine.I am used wsdl file created in web service.
    is there any setting on J2EE Engine server for accessing web service? after run web dynpro application it gives following error.
    The initial exception that caused the request to fail, was:
       java.io.IOException: Unable to open connection to host "128.9.125.6:8000". Connection timed out:could be due to invalid address.
        at com.tssap.dtr.client.lib.protocol.Connection.openSocket(Connection.java:2117)
        at com.tssap.dtr.client.lib.protocol.Connection.open(Connection.java:1380)
        at com.tssap.dtr.client.lib.protocol.Connection.sendInternal(Connection.java:1534)
        at com.tssap.dtr.client.lib.protocol.Connection.send(Connection.java:1427)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        ... 50 more
    please help me.
    thank in advance

    Hi,
    java.io.IOException: Unable to open connection to host "128.9.125.6:8000". Connection timed out: could be due to invalid address. first check it are you able to connect the WSNavigator. I think you are not able to connect the WSNavigator and are you able to see the WebService in WSNavigator?
    Procedure
    To import a Web service model, proceed as follows:
           1.      Choose the context menu entry -
    Create Model on the -
    Models node of the relevant component.
           2.      In the model wizard, choose Import Web Service Model followed by Next.
           3.      In the second wizard window, enter a model name and specify the package and source code directory. The name of the proxy package is created automatically when you specify the model package.
           4.      Select whether your Web service source is from a local server, is addressed using a URL, or whether it is a UDDI service.
           5.      If you select Local File System or URL, choosing Next will take you to the following window in which you enter a local WSDL URL or select one by choosing Browse.
           6.      If you selected the option UDDI or URL, choosing Next will take you to the following wizard window in which you either enter a WSDL URL of a UDDI service directly or select one by choosing UDDIu2026
    Enter the WSDL description of the Web service in the Wsdl field u2013 for example, http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService for an e-mail service.
    You do not need to make any entries in the next step, Proxy Definition / URI Package Mappings. Choose Finish to close the window.
           7.      Switch to the Package Explorer view, select the file lport1.lp in the directory \src\packages\<myPackage>\, and check the port entries.
    Hope this helps!!
    Regards
    Vijay

  • How to check error type in accessing web service?

    Dear all,
    I have created a form using WSDL connection to access web service in SOAP protocol.
    But I have difficulties in error handling when acccessing web service.
    I try to put a try catch block for the following statement :
    ie. xfa.connectionSet.WebServiceDC.execute(false);
    in case for any error, I can only catch message saying GeneralFault only.
    Is there any extra object in the script that I can catch to handle for different error type?
    e.g checking SOAP.? and where should I put the codes in?
    Actualy I want to detect if network connection is not ok or if it fails to find ecert which is required under https connection
    Rgds.

    Have you tried the try catch block ?
    See the error codes it responds with.
    Then look through the properties of the Exception
    try
        doInit();
    } catch(err)
        var vDebug = "";
        for (var prop in err)
           vDebug += "property: "+ prop+ " value: ["+ err[prop]+ "]\n";
        vDebug += "toString(): " + " value: [" + err.toString() + "]";
        status.rawValue = vDebug;
    function doInit()
        doWebServiceCallThatFails();
    Have fun with these articles
    http://blogs.adobe.com/formfeed/2009/06/collected_form_development_and.html
    http://blogs.adobe.com/formfeed/2009/03/handling_javascript_exceptions.html

  • Calling Data Services Web Services via Oracle Triggers?

    Hi,
    Has anyone called Data Services web service via an oracle trigger? If so i'm interested in your experiences with volume and perfromance.
    Thanks
    Richard

    Hi,
    Has anyone called Data Services web service via an oracle trigger? If so i'm interested in your experiences with volume and perfromance.
    Thanks
    Richard

Maybe you are looking for