Pulling info out of service

I found a quick cfc for creating a service in CF8:
<cfcomponent>
<cffunction name="sayHello" access="remote" hint="I say
hi!" returntype="string">
<cfargument name="to" hint="Whom to say hi to."
required="false" default="world" type="string" />
<cfreturn "Hello, #arguments.to#" />
</cffunction>
</cfcomponent>
After I view the page (
http://localhost:8500/TestingCF/service2.cfc?wsdl) it shows
up with xml tags.
My question is how do I pull info out of the xml tags into a
user friendly view?

what sort of 'user-friendly view' are you talking about?
you want to present the ws structure details to the user?
or you want the user to enter a name and receive "Hello,
[name]!"
response on the page?
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

Similar Messages

  • Problem with SQL query pulling info out of a collection

    Here's my issue, I use a PL/SQL query to pull info from an XML file and put it in a collection. I then query the collection with a SQL statement to pull the info from the collection and put it into a table. I can see that the collection is being created properly, but then my SQL query is failing to pull the info out of the collection. Here's my PL/SQL query:
    declare
    l_clob clob;
    l_buffer varchar2(32767);
    l_url varchar2(4000);
    l_http_req utl_http.req;
    l_http_resp utl_http.resp;
    begin
    utl_http.set_proxy(apex_application.g_proxy_server, NULL);
    l_url := 'http://www.jobster.com/partnerfeeds/Servinity/Servinity.xml';
    l_http_req := utl_http.begin_request(l_url);
    l_http_resp := utl_http.get_response(l_http_req);
    dbms_lob.createtemporary( l_clob, FALSE );
    dbms_lob.open( l_clob, dbms_lob.lob_readwrite );
    begin
    loop
    utl_http.read_text(l_http_resp, l_buffer);
    dbms_lob.writeappend( l_clob, length(l_buffer), l_buffer );
    end loop;
    exception
    when others then
    if sqlcode <> -29266 then
    raise;
    end if;
    end;
    utl_http.end_response(l_http_resp);
    apex_collection.create_or_truncate_collection('JOB_RESPONSE');
    apex_collection.add_member(
    p_collection_name => 'JOB_RESPONSE',
    p_clob001 => l_clob );
    end;
    This part works fine because I can check the collection and see the info was put there properly. Here's the XML file (part of it at least):
    <?xml version="1.0" encoding="UTF-8" ?>
    <job-list xmlns="http://jobster.com/feed/1.3">
    <site>
    <name>Jobster</name>
    <url>http://www.jobster.com</url>
    </site>
    <job>
    <id>58117925</id>
    <key>51253677</key>
    <featurelevel>1</featurelevel>
    <title>
    And here's the SQL query which isn't pulling anything back:
    select extractValue(value(t),'/*/name') "Name",
    extractValue(value(t),'/*/url') "URL"
    from apex_collections c,
    table(xmlsequence(extract(xmltype.createxml(c.clob001),'/job-list/site'))) t
    where c.collection_name = 'JOB_RESPONSE'
    What am I missing? Thanks in advance!

    my mistake<br>
    take a look to the examples can be very<br> helpful...sometimes<br>
    <br>
    select anz,rueck<br>
    <br>
    from (select (case when exists(select ek_id<br>
    from bh_einkuenfte<br>
    where ek_vgid=:P51_VG_ID<br>
    and ek_artid = a.ea_id)<br>
    then 'anything'<br>
    else a.ea_bez end) anz,<br>
    a.ea_seite rueck <br>
    from bh_einkunftsarten a<br>
    where a.ea_nummer <= 70<br>
    order by a.ea_nummer)<br>

  • Administrate virtual info cube with services

    hi, all,
    if you come across an existing virtual info cube with services, HOW can you find out the name of the function module, that provides the data?
    best regards
    neven

    hi..
    according to the below link..from help.sap.com...clicking on 'detail' pushbutton in cube--change screen..should give u the details(FM etc) u need..
    http://help.sap.com/saphelp_nw04/helpdata/en/62/d2e26b696b11d5b2f50050da4c74dc/content.htm
    Vishvesh

  • Hi, I have a freecom 1TB hard drive which was working fine until it froze.  I pulled it out (mistake I now know) and now it doesn't mount.  It shows up in Disk Utility but won't manually mount.  When I try to repair it gives message 'failed on exit'.  hel

    Hi, I have a freecom 1TB hard drive which was working fine until it froze.  I pulled it out (mistake I now know) and now it doesn't mount.  It shows up in Disk Utility but won't manually mount.  When I try to repair it gives message 'failed on exit'. Some people have said to try Disk Warrior, but at $100 it's quite expensive maybe fix.  help!

    You likely need to reformat the drive which will destroy all data and you need a backup to restore it. If no backup is present then a data retrieval service can be more expensive than DiskWarrior. There is software that can rescue the data but I can not vouch for it's effectiveness as I have always maintained backups. .
    http://www.prosofteng.com/
    http://www.wondershare.net/ad/data-recovery-mac.html?gclid=CLTp3Mj07rkCFevm7AodL lUAHw
    http://diskdoctors.com/software/mac-data-recovery/utility.asp?gclid=CMyf_MH17rkC Fcvm7AodSE0A8A
    http://www.cleverfiles.com/

  • Nokia Suite update out of service, could it mean b...

    Anyone else having problems with Nokia suite update facility, it wont refresh just says that it is out of service and try later, could this mean belle is coming????  God i want it, hope its as good as we all expect it to be
    Solved!
    Go to Solution.

    just a little background info from telstra. they have had the update from release. it comes down to the fact that there were so many fixes to anna they didnt think it fair to keep testing it. as for the emergency call that was an issue where when our emergency numbers were called the phone wouldnt call the number and it also caused the phone to freeze, i was told of alot of other issues whithin the update. telstra are now focusing on haveing there updates page update more often and correctly.
    i have not had any proplems while and after updating my n8 to anna. which goes to show that telstra have released a perfect version of anna. oo and new nokia phones are on the way to telstra.. ill let you work out what they are

  • TS1717 I get the error "unable to load data class info from sync services" and eventually itunes freezes-will anything in this article help?

    I get the error "unable to load data class info from sync services" and eventully itunes freezes.  will this article help me?

    Hello there brigidfromca.
    Messages can always be pretty daunting when we're not sure where to start. I was able to locate the following Knowledge Base article that discusses the very message you're getting:
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert
    http://support.apple.com/kb/TS2690
    It is a pretty thorough document with multiple steps to review, but looks to be great place to start for a resolution for you.
    Thanks for using Apple Support Communities to reach out to us for answers.
    Cheers,
    Pedro D.

  • Jsp to get info out of servlet question

    Hey, I'm looking for a good site or tutorial with examples in how to get info out of a bean or servlet.
    for example I have a bean that querys a db for info. how do I print that info to a jsp page with out using the out.printWriter? I know I need to use the <jsp:useBean...
    but after I instantiate the bean how do I pull info off of it?

    The Sun Java Developer site has a tutorial for almost everything. Check out the J2EE tutorial at http://java.sun.com/j2ee/tutorial/1_3-fcs/index.html
    There is a section on using JavaBeans in JSP pages.

  • How to get info about web service caller inside Web Service

    Hi..
    I want to know that can we get info about Web Service Caller inside called web service..
    Info Like IP Address, User Id, User Name
    Regards,
    Ajay Sharma

    Hi,
    I tested following code using JDevloper 11g
    @Resource 
        WebServiceContext wsc;
        @WebMethod
        public String webMethod() {
                    MessageContext msgCtxt = wsCtxt.getMessageContext();
            HttpServletRequest req = (HttpServletRequest)msgCtxt.get(MessageContext.SERVLET_REQUEST);
            System.out.println("Client IP = " + req.getRemoteAddr());
            return req.getRemoteAddr();
        }It is giving me IP address but when i tested this web service from another computer there also it is giving my machine address instead of the machine IP from where the web service is called.
    What is wrong in my code ?
    Regards,
    Ajay
    Edited by: Ajay Sharma on Dec 31, 2012 1:06 PM

  • My iphone 3gs said it was out of service then it turned off and when it turned on it said to activated then it said to plug in to itunes i did that n it turns back off. how can i fix it?? or whats wrong

    my iphone 3gs said it was out of service then it turned off and when it turned on it said to activated then it said to plug in to itunes i did that n it turns back off. how can i fix it?? or whats wrong

    If it continues to show the connect to iTunes graphic, then you do have to restore the phone. If you have not created a backup of your phone, then I hope you use icould because this will erase all of the info on the phone.

  • How to take credit card info out of idevice ios 7

    How to take credit card info out of idevice ios 7

    Changing Account Information  >  http://support.apple.com/kb/HT1918
    Accepted forms of payment  >  http://support.apple.com/kb/HT5552
    If necessary... Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Pull info from a drop db

    I am trying to learn quickly and want to write a tag to pull info from a DB to a page.
    ??

    Is this from a JSP? It sounds like you may want to check out the JDBC tutorial.. it's pretty light and will get you started on using JDBC.
    http://developer.java.sun.com/developer/onlineTraining/Database/JDBC20Intro/

  • When iPhone is on Cellular data and WiFi, i cannot make calls and phone goes out of service.

    So I have this iPhone 5S unlocked version from the US which I am using in India. When I am connected to my office wireless and also the cellular & 3G data are switched on, my phone goes out of service and I cannot make calls. I can also use internet.
    However this works great when I get onto my home WiFi along with cellular & 3G data switched on, I can make calls and also surf the net with the WiFi.
    Is anyone having similar issue? I am sure there is something with the office WiFi but what could it be to get my phone out of service.
    Any thoughts anybody ?
    Thanks,
    UG

    Yes I shutdown WiFi and I can connect to 3G on Cellular. I can make calls.
    If I shutdown Cellular and connect WiFi. I can make calls.
    Its just that when both are ON, then no calls can be made.
    All combinations work good with Home WiFi. 
    -UG

  • My iPhone 4 doesn't connect to any wifi sources anymore (even though it used to) and regularly cuts out of service.

    My iPhone is from the US and I've had it for nearly two years. I'm with optus. I know that this is not allowed to be discussed but my phone was bought jailbroken. Neither my father nor I had any idea what this meant at the time and would not have bought it if we did know. My wifi connectivity worked fine up until a month ago when it cut out for no reason at all. Since then it cannot connect to any wifi sources. Also, my phone has recently been cutting out of service 1-2 times everyday. I understand that this may due to the fact that my phone is jailbroken. However is there anyway I could unjailbreak my phone? I'm not sure if it is factory unlocked because the iPhone wasn't bought from Apple even though it is legit. So is there really anything I could do to fix my phone? It's running on IOS 4.0.1.
    Please help me. I'm fifteen and I really have no idea what to do!
    Any help would be greatly appreciated!

    In settings>general> cellular do you have it  turned ON?

  • Was unable to load data class info from sync services.  try again later.

    Since installing the latest version of itunes (11.1.5.5) whenever I have either mine or my wife's iphones (4 and 5c, both with the latest 7.1.1) turned on and I start iTunes, I receive the error message saying that itunes was unable to load data class info from sync services.  try again later.
    If I leave the phones turned off and open iTunes, I am able to sync my old ipod so it appears to be an issue with the software on the phones? 
    I'm just not sure where to start.  I've made sure that itunes has the latest version and no more updates are available.
    Thanks in advance,
    jamey8420

    this is on a windows 7 machine, btw.

  • I lost my iPhone and when I'm trying to find it with the location, they say that it is "out of service". What should I do?

    Hello people!
    As I mentionned in my question, I have lost my iPhone I'm feeling very dumb, it is the second time that this happens to me and I really need your help! I don't even know what happened, but when I arrived home after school, I didn't find my phone. The fact is that I was sure to have take it with me, but I haven't, as I see. I went on the apple site: "location of my iPhone" and they told me that my cellphone was out of service. Now, I really don't know what to do and what to think. I serched everywhere, in my car, everywhere in my house, I even went outside to check, but i live in Quebec and it is snowing a lot this winter, so maybe I just didn't see it... Anyways, I'm really scared cause I have 3G on my phone and now they say that I'm not connected to 3G anymore, neither any other internet service. I'm freaking right now. Does that mean that my cellphone is broke, stuck in the snow, or just somewhere that I'm never gonna find out? I'm imagining all the worst possibilities so if you don't want me to die soon, please, help me (try to reassure me if it is possible but if is not, tell me the truth anyways).
    Thank you guys the one who is gonna help is going to have my recognition forever!
    Sabrina999
    P.S.-I'm a french Quebecor so if you don't understand my writing, I'm sorry

    You're welcome.
    Voicemail is left at your carrier's server. That will continue to work unless you report your iPhone as lost or stolen with your carrier.
    You may never find it again and you can't if the iPhone remains offline or out of service which means the iPhone is powered off or doesn't have cellular reception.

Maybe you are looking for