ColdFusion Web Services Setup

1. I need to find out how I can start using web services at
my company.
2. I'd like to be able to start sharing web services with my
coworkers.
3. I'd also like to be able to lock them down so that only
people from our company can use them. (maybe like a username and
password lockdown)
4. Do I set this up on the windows 2003 server or on the
coldfusion server?
5. Also, I see there is a web services section on the
ColdFusion Administration Site. If I add my web service here how do
I consume it from here?
Thanks!
James

You could try this.  Turn off the power to both the router and the printer, then power the router on, then the printer and you should see the blue printers wireless light blinking, when it goes solid its connected to the router.  Then try it agian .  What printer and router make/model do you have?
I was an HP employee
If I have helped you solve your issue please mark it as solved
**Say Thanks By Clicking on the Kudos Star**

Similar Messages

  • ColdFusion Web Service

    The core of our business logic is in ColdFusion Web Services. These services have been in use for some time and can be used in other ColdFusion apps with no problems. I am now trying to leverage these services with HTMLDB v2.0.0.00.49. I have been able to add them into the app as a web service, however, when I create a form on a simple service (a return value only, no input parameter) and run the form I get the following error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at "FLOWS_020000.WWV_FLOW_WEB_SERVICES", line 707 ORA-30625: method dispatch on NULL SELF argument is disallowed
    I have looked through this forum and others for a couple of days now and have not been able to find a solution. Can anyone point be in the right direction?
    Thanks,
    -Russ

    Russ,
    Did you find a solution to this issue? All of a sudden we are getting a similar message with a web service we've been using in production for some time now.
    Thanks,
    Noelle

  • Publish ColdFusion Web Service with Complex Return Type

    Hi,
    I am working on a project to publish couple ColdFusion
    webservices. The cosumer of those webservices is a Java
    application.
    One of my webservice need return an object. Here are demo
    codes:
    The returned ojbect is AddressRespond
    AddressRespond.cfc:
    <cfcomponent>
    <cfproperty name="addresses" type="Address[]" />
    <cfproperty name="myLearnException" type="MyException"
    />
    </cfcomponent>
    Address.cfc:
    <cfcomponent>
    <cfproperty name="city" type="string" />
    <cfproperty name="state" type="string" />
    </cfcomponent>
    MyException.cfc:
    <cfcomponent>
    <cfproperty name="code" type="string" />
    <cfproperty name="reason" type="string" />
    </cfcomponent>
    If the webservice "cosumer" is a ColdFusion application,
    there is no any problems. But the Java application doesn't
    understand the type of addresses in the WSDL file which is
    gernerated by ColdFusion:
    <complexType name="Address">
    <sequence>
    <element name="city" nillable="true"
    type="xsd:string"/>
    <element name="state" nillable="true"
    type="xsd:string"/>
    </sequence>
    </complexType>
    <complexType name="MyException">
    <sequence>
    <element name="code" nillable="true"
    type="xsd:string"/>
    <element name="reason" nillable="true"
    type="xsd:string"/>
    </sequence>
    </complexType>
    <complexType name="AddressRespond">
    <sequence>
    <element name="addresses" nillable="true"
    type="tns1:ArrayOf_xsd_anyType"/>
    <element name="MyException" nillable="true"
    type="impl:MyException"/>
    </sequence>
    </complexType>
    Could anybody give me any idea on how to resolve this
    problem?
    Thanks!

    The web service is actually the function, not the cfc and you
    didn't show a function.
    My own opinion is that since webservices by definition should
    be available to any calling app (cold fusion, .net, flash, etc),
    whatever gets returned from the method should be as universally
    recognizable as possible. This generally means text, numbers,
    boolean, or xml.

  • Flex and ColdFusion web services

    I have a simple CFC created that encompasses a function that
    has a query. I want to be able to use the web service in my Flex
    app, but I am having issues with getting the information from the
    CFC.
    My function is simple:
    <cffunction name="listBySubject" access="remote"
    returntype="query" output="false" hint="I grab the newest
    stories">
    <cfargument name="subject" type="string"
    required="yes">
    <cfquery name="list" datasource="#myDataSource#">
    SELECT linktext, story, photo
    FROM pressreleases
    WHERE rss_feed = <cfqueryparam
    value="#arguments.subject#" />
    OR rss_feed2 = <cfqueryparam value="#arguments.subject#"
    />
    ORDER BY releaseDate DESC
    </cfquery>
    <cfreturn list>
    </cffunction>
    How can I modify that to use in a Flex app's
    <mx:WebService>? Do I have to use cfsavecontent and return
    XML or can I keep it a query and use it with an ArrayCollection?
    Something like:
    <cffunction name="listBySubject" access="remote"
    returntype="xml" output="false" hint="I grab the newest
    stories">
    <cfargument name="subject" type="string"
    required="yes">
    <cfquery name="list" datasource="prmc-media">
    SELECT linktext, story, photo
    FROM pressreleases
    WHERE rss_feed = <cfqueryparam
    value="#arguments.subject#" />
    OR rss_feed2 = <cfqueryparam value="#arguments.subject#"
    />
    ORDER BY releaseDate DESC
    </cfquery>
    <cfsavecontent variable="storyList">
    <magStories>
    <cfoutput query="list">
    <magStory id="#ISBN#">
    <linkURL>#XMLFormat(linkURL)#</booktitle>
    <story>#XMLFormat(story)#</teaser>
    <photo>#XMLFormat(photo)#</price>
    </magStory>
    </cfoutput>
    </magStories>
    </cfsavecontent>
    <cfreturn storyList>
    </cffunction>
    Locally I can use RemoteObject all day with the way it is
    normally, but since UofMichigan has BlueDragon, I am forced to
    convert my apps to WebServices.

    Hi,
    Here is how to do the web services in coldfsuion.
    http://www.quackit.com/coldfusion/tutorial/coldfusion_web_services.cfm
    No in flex you call the webservices like:
    <mx:WebService id="webService"
    wsdl="
    http://www.flash-mx.com/ws/months.cfc?wsdl">
    <mx:operation name="getMonths"
    resultFormat="object"
    result="getMonths_result(event);"
    fault="getMonths_fault(event);" />
    </mx:WebService>
    http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-w ebservice-class/
    I hope this give you the idea.
    Rgds
    JFB

  • Web Services Setup -Printer Email Address

    I am having same problem locating the printer email address to setup eprint and I have the 910A; thoughts?

    Hi gligon,
    I'll be happy to help you set up ePrint for your printer.  
    I just have a few questions for you:  first, is the printer connected to your network?  If so, have you enabled Web Services?  
    Both of these factors will determine what we do from this point.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Having trouble with Web Services setup

    I'm trying to get the claim code and the email address for my printer but everytime I go to Enable in the web services page it goes and says "Connecting" but stays looped. I have an Laserjet PRO m127fn.

    Hello Falafelforlyfe,
    Welcome to the HP Support Forums!
    The LaserJet Pro M127fn may need a firmware update, do you have a USB cable and a Windows Operating System? If so, run this updater: HP LaserJet Pro MFP M125/M126 Series Firmware Update.
    Hope this helps with the loop.
    Cheers,
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • Coldfusion web services

    Hi all,
    I built a simple web service that inserts some content into
    the database, however if the content has been pasted from a word
    doc or outlook and contains some print characters...etc its
    breaking the web service when I try to display it. its going into
    the database successfully but causing an error when i try to get it
    via the web service. Is there a technique to make the web service
    work with any kind of content ?
    Thanks

    Thank you for your replies and help, appreciate it.
    I will try cfqueryparam and Xmlformat and see it that will
    solve the problem. I'll try both in the insert statement.
    My code goes like this: putting parts of the code only...
    <cfinvoke webservice ="mywebservice_url"
    <cfinvokeargument name="description"
    value="#ReReplace(form.description,'[^[:print:]]','','ALL')#"/>
    Then:
    <cffunction name="add_description" output="false"
    access="remote" returntype="boolean" hint="Add description">
    <cfargument name="description" required="true"
    type="string">
    AND:
    INSERT INTO mytable...'#arguments.description#',...etc

  • Web Services Setup. Connection error. Check Internet connection​.

    Hello. I have a HP LaserJet Pro P1102v connected to RT-N66u and I can not configure eprint.  
    Screenshot 
    What am I doing wrong?

    Hi Alex8lf,
    Welcome to the HP Support Forums.  I understand that you are unable to enable the Web Services for your Laserjet P1102w printer.
    To enable the web services for your printer the printer needs to be up-to-date with the firmware. I have included a document with the steps to check your firmware version and if needed, how to update the firmware. Once the firmware is up-to-date, you can enable the web services and set up the ePrint.
    I have included a document with steps for setting up ePrint and customizing the ePrint email address.  Please create your account on eprintcenter.com unless you live in the USA or the UK, then please create your account at hpconnected.com.
    Getting the Latest Firmware and Product Updates
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&​lc=en&docname=c03128524
    Setting Up a Custom Email Address for ePrint
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&​lc=en&docname=c02940150
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • HP Web Services Setup - Connection error. Check Internet connection.

    I am trying to enable HP Web Services but Connection error. Check Internet connection. .
    I use static ip with Preferred DNS Address: 8.8.8.8 and 8.8.4.4 and it does not work.
    I changed to DHCP also it does not work.
    I have a ZTE home modem router connected to the printer.
    This question was solved.
    View Solution.

    Hi MaBek,
    Can you check if your printers IP address is valid.
    If you have a laptop or PC connected to the same network, open a browser and type the IP address in the address bar and hit enter. 
    This should open a Embedded web Server page if the IP address is valid.
    Here you can navigate to Web Services tab and click on enable to enable web services.
    Regards,
    Oliver
    "Although I work for HP, I'm speaking for myself and not on behalf of HP"--Please mark the post that solves your problem as "Accepted Solution"
    "Say "Thanks" by clicking the Kudos Star in the post that helped you.

  • Web Services Setup - Failed

    hey am using DJ 3050A...am not able to enable the webservice...as it always say try again...
    I have checked both with the Automatic and Manual Ip settings its not working.
    when i print the wireless network test report it says:
    wireless = PASS
    connectivity = PASS
    Network = PASS
    settings = PASS
    SO WHERE IS THE PROBLEM...YOUR EARLY HELP WILL BE APPLAUDED.

    Hello Anwer,
    Sorry to hear you are having issues with he printer. Before giving an answer I will need a little more information.
    1. Was it working before now or is this the initial set up?
    2 What is the make and model of your router?
    One step i can suggest is to change the settings back to automatic IP save and then reboot the printer and try again.
    You can try this first and if it does not work reply back to above question.
    Thanks
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Can't setup ePrint / Web Services on a new HP 8600 Pro Plus Wireless Printer

    I just purchased a new HP Officejet Pro 8600 Plus All in one printer. I setup the printer on my home wireless network and it prints great. I am now trying to setup ePrint and when I go through the option to setup the Web Services /ePrint function on the Printer or via the web application for the printer I get the following error:
    "Cannot connect to the server.
    Check the Internet connection and try again. Or contact your system administrator or the person who set up the printer. If your network requires a proxy server address to connect to Internet, click Enter Proxy or check your browser settings."
    My primary PC is running Windows 7 Home Premium with Svc Pac 1, 64 bit
    My home network is set for DHCP and I do not have a Proxy Server setup but the Web Services setup page is asking for a Proxy Server an Port.
    I have already established a ePrint ID but cannot complete the process until I can get the Printer Web Services setup process to complete.
    Any suggestions?
    This question was solved.
    View Solution.

    HI Adrianf; 
    Hope you are doing well,welcome to the community,  
    I wil take several steps to make sure they are not causing the issue, 
     Try this tool Click here
    I will also set an static ipaddress for my printer and change the DNS servers provided by your ISP to Google DNS servers 
    How to set an static IP address 
    Follow these steps to assign an unchanging static IP address to the product through the Embedded Web Server (EWS).
    Open a new Web browser window.
    Type the IP address located on the Network Configuration Page in the address bar of the Web browser, using http:// to begin the address e.g. http://192.168.0.1  Then press Enter .  The EWS home page for the product opens.
    In the EWS screen, click the Network tab.
    Click Wired (802.3) , and then click the IPv4 Configuration or the IPv6 Configuration tab.
    Click Manual IP . The Manual IP Address box opens.
    In the Manual IP Address box, type an IP address with the same values in the first three sets of digits (subnet values) as the product's IP address (listed on the Network Configuration Page), and a higher value (between 1 and 254) in the fourth set of digits. This creates a static IP address on the same subnet, but outside the Dynamic Host Configuration Protocol (DHCP) range.
    For example, if the product's original IP address is 192.168.0.1 , assign the static IP address to 192.168.0.200 .
    NOTE:
    Do not type the static IP address use as the example. Enter a static IP address based on the IP address for your product. This can be found on network configuration page.
    Enter the Subnet Mask and the Default Gateway settings as they appear on the Network Configuration Page.
    Click OK to save the new settings, and then click Exit or close the browser to exit the EWS.
    While you are here in the IPV4  you can set the DNS servers of google instead of the DNS servers provided by your ISP  just change the option of automaticly select DNS server and use this;
    DNS servers of google are 8.8.8.8 and alternative DNS 8.8.4.4
    Make sure that the operating system is updated, that the routers firware is the lastest. 
    Hope it helps and best of luck; 
    RobertoR
    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

  • Enable Web Services on HP LaserJet CP1525nw

    We are trying to setup web service printing on HP LaserJet CP1525nw.
    This is a networked printer, from a windows server 2008 R2 server to Windows 7 x64 machines
    It is connected to a wired network and everything (printing etc) works execpt web service.
    We have set the DNS manually to 8.8.8.8 and secondary dns to 8.8.4.4 and restarted
    We also have white listed the Printer IP on the firewall so it has access to internet through the network without being filtered. (Does anyone know what are the IP address for the web services on the HP side?)
    When we access the Printer using its IP and go to Web Services Setup and hit 'Enable' it sits on that screen for about 2 minutes and failed
    "Connection error Check connection"
    Any advise is much appreicated.
    This question was solved.
    View Solution.

    Success its working now !!

  • A Secured Web Service

    Hello guys,
    I have a lot of services that a written to other client applications via a web service call.
    I want to basic authentication system in my web service setup so that every connection from a client application would have to authenticate itself before using the service.
    Can anyone show me how or basically a reference that I can quickly use to get started.
    Thanks

    Please download tutorial bundle from:
    http://java.sun.com/javaee/5/docs/tutorial/information/download.html
    some details about it:
    http://docs.sun.com/app/docs/doc/819-3669/gfiud?a=view
    You can try examples after downloading zip file :
    The zip file also contains a documentation e.g. pdf file.
    There you can find more info.
    Here is one chapter from doc.
    Example: Basic Authentication with JAX-WS
    This section discusses how to configure a JAX-WS-based web service for HTTP basic
    authentication. When a service that is constrained by HTTP basic authentication is requested,
    the server requests a user name and password from the client and verifies that the user name
    and password are valid by comparing them against a database of authorized users.
    Regards Miro

  • Java Web Service Problem

    I have a java client to consume web services setup on an IIS.
    I created source files for communicating using wsimport.
    But sometimes the application will stuck with the first call using the generated interface to the web service.
    The problem may last for a couple of days, then suddenly disappear.
    I tried to restart IIS, OS and turn off firewalls, but nothing works.
    While the problem was there for the java client, I tried to access the same web method using web brower and it worked.
    Any commments or suggestions?
    Thanks.

    Thanks for your reply, I tried to wait for several minutes, it just hang there without exception thrown on java side and need me to kill it. If I call the web method via web brower, it only takes several seconds.

  • Cfc component with readonly properties and web services

    I want to transfer a cfc component across coldfusion web
    services as a data transfer object. This cfc component is received
    when calling a load web service, and then supplied to an update web
    service. Some properties within the cfc need to be readonly since
    the update web service would ignore them.
    In java I would have my data transfer object with only public
    set methods for those properties which are not readonly. How can I
    achieve this in coldfusion?

    Hi,
    Please check note 1004108.
    Methods of Application and/or Entity Services (Business Objects) of CAF of SAP NetWeaver CE 7.1 cannot be exposed in document style, only RPC/literal is possible. Sorry.
    It's a restriction that is planned to be solved in one of the next releases.
    Regards,
       Jan

Maybe you are looking for

  • No message reach into Integration Engine ...

    Hello, I have following problem. I send message to XI through SOAP adapter. But the message doesn't reach of Integration Engine. It is delivered into Adapter Engine and then it stays in status "Waiting". When open message detail in RWB I get these in

  • Logging Stream Traffic

    Does anyone know of a premade product (or actionscript technique) to track traffic to a stream? We would like to know: 1) how many times a stream is initiated, 2) how many times the stream is completely watched and 3) how long (time) the stream is wa

  • Old version of Photoshop Elements question

    I have Photoshope Elements 1.0.1 (2001).  It will not install on my laptop.  Is there anyway to get an up-date with out paying again.  (The software came with my Epson Perfection 2450 Photo Scanner)

  • Have Windows CS3, now I want Mac CS4

         Hey, basically the title says it all.. I bought CS3 for windows in 2007, and now I want to upgrade to CS4, but I don't have a windows computer anymore, I only have a Mac.  So is there anyway to upgrade from my windows cs3 to mac cs4 without havi

  • How do i change birthday and get parent approval

    We created a account for our son but we used a different b-day. how do change is birthday and get parent approval. He is a minor.