Home > Default > Consumming java webservices in coldfusion

Consumming java webservices in coldfusion

November 30Hits:0
could somebody show me how to consume this webservice from
within coldfusion?
right now I invoke it as follows:
method="ZipCodeToCityState" ZipCode="12210"
returnvariable="returnedText" >
And this is what i get
[email protected] .
This actually has no meaning to me.


I'm just learning how to consume webservice stuff but this
should help as I got a result. See my code snippet below.
Basically I did some cfdumps to see what the objects look
like. This is from an empirical view as I don't understand yet. The
object comes back with methods. You then use those methods to get
values. I chose to use the getAnyType method. I did this as I used
another tool, soapscope from www.mindreef.com (30 day eval) which
really simplifies how to call webservices. It's worth the cost.
Basically I invoked the service via soapscope and looked at
the returned xml.
It looked like:
<ZipCodeToCityStateResponse xmlns="
<anyType xsi:type="xsd:string">Albany,
Note that the result was in a value of anyType. Thus I picked
getAnyType method
I hope this helps ya but I'm still quite a newbie to this.
This link help me understand a little more about webservice
Zip test WS Object
object of com.ripedev.xsd.ZipCodeResults_xsd.ArrayOfAnyType
Methods hashCode (returns int)
equals (returns boolean)
getSerializer (returns interface
getDeserializer (returns interface
getTypeDesc (returns org.apache.axis.description.TypeDesc)
getAnyType (returns java.lang.Object)
getAnyType (returns [Ljava.lang.Object;)
setAnyType (returns void)
setAnyType (returns void)
getClass (returns java.lang.Class)
wait (returns void)
wait (returns void)
wait (returns void)
notify (returns void)
notifyAll (returns void)
toString (returns java.lang.String)
Breaking down the object
1 Albany, NY

Read other 2 answers


Related Articles

  • Consumming java webservices in coldfusionNovember 30

    could somebody show me how to consume this webservice from within coldfusion? http://www.ripedev.com/webservices/ZipCode.asmx?WSDL" right now I invoke it as follows: <cfinvoke webservice=" http://www.ripedev.com/webservices/ZipCode.asmx?WSDL&

  • Problem while Consuming Java Webservice from WCF clientOctober 11

    Hi, I am trying to Consume Java Webservice from WCF client.The webservice main functionality is digital data management.The client can Query Digital data and upload digital data by calling webservice methods.Problem is when i am trying to call webmet

  • Java Dynpro - Consumed Java WebService - Not getting executedNovember 30

    I have consumed a Java Web Service ( EJB ) in my Java Web dynpro code ( using Import Web service Model ( Not adaptive )) Successfully consumed. But the Web Service Model is not getting executed by this code - Request_CreatePortalUsrWebServiceViDocume

  • Consume SharePoint Webservice with ColdfusionNovember 30

    Has anyone been able to consume a SharePoint web service with Coldfusion? Any examples, resources or tips? A basic example would be to pull in a list. Thanks DwightMy group is also having trouble with this. The problems seems to be related to CF not

  • Consuming MII WebService in Java WebDynproOctober 11

    Hello, We are facing a strange situation... We define a transaction in MII to be consumed as WebService in Java WebDynpro. This transaction is a simple query on a DB returning 4 fields : Shift code : SHIFT Shift description : DESCRIPTION Start time :

  • How to consume SOAP webservice in to my java/j2ee applicationOctober 11

    Hi,       I am a java developer. how to i consume SAP soap webservice in to my java application. scenario : 1 We are migrating 2 specific java modules in to SAP System.But master details are stored in to my java application database.Those details are

  • Consume a webservice developed in other than coldfusion  in WS-Security modeNovember 30

    1. What are the prerequisites (any software installation, configuration) to be considered ? Requirement : To consume a Webservice developed in other than coldfusion in WS-Secuirty mode . Environment used : Windows 2003, IIS 6, Coldfusion 8, SQl serve

  • Consuming a Webservice is extremly slowOctober 11

    Hi I would like to use a Webservice to communicate with a server. For test purposes I wrote a small java webservice which adds to numbers using the following 2 classes. == Class Calculator == package de.theserverside.webservice.service; import javax.

  • Consuming external webservice in webdynproOctober 11

    Hi colleagues I am trying to consume a webservice "BORM_API_A1S_GET_UPD_SW_VECTOR" in webdynpro, it is an external webservice i have followed the below steps and ended up with an error Steps: 1) created a Adaptive web service model 2) got the WS

  • Consuming a WebServiceOctober 11

    Hi All, Im following this help doc to build an application to consume a webservice. http://help.sap.com/saphelp_nw04/helpdata/en/81/12703e5da3e946e10000000a114084/frameset.htm What I want to understand is the following : In point no 7. What configura

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.988 s.