web service return value
I have a web service and I'm cfdumping the return variable, but I don't know how to get the value out. This is what it is giving me.
1
| object of com.nextaxiom.www.soapservice.xsd1.APApprovalList | |||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Class Name | com.nextaxiom.www.soapservice.xsd1.APApprovalList | ||||||||||||||||||||||||||||||||||||
| Methods |
| ||||||||||||||||||||||||||||||||||||
So some of this is the fields I want, but I want the value: description, alert date, invoice amt, etc. Can anyone help me. What do I need to do next to get the values?
Here is my CF statement and the WSDL file.
thanks for the help,
BJ
Invoke statement
<cfinvoke
webservice="http://127.0.0.1:8500/APApproval/GetAPApprovalList.wsdl"
method="GetAPApprovalList" refreshwsdl="true"
returnvariable="response">
<cfinvokeargument name="UserName" value="DAVBRY"/>
</cfinvoke>
<cfoutput>#response#</cfoutput>
WSDL FILE
<?xml version="1.0"?>
<!--Automatically generated 10/07/2011 by Hyperservice Business Platform, NextAxiom Technology, Inc.-->
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
name="BSAPrototype.APApproval.GetAPApprovalList"
targetNamespace="http://www.nextaxiom.com/soapservice/BSAPrototype.APApproval.GetAPApprovalList/wsdl"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.nextaxiom.com/soapservice/BSAPrototype.APApproval.GetAPApprovalList/wsdl"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://www.nextaxiom.com/soapservice/xsd1">
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" targetNamespace="http://www.nextaxiom.com/soapservice/xsd1">
<element name="GetAPApprovalList">
<complexType>
<sequence>
<element name="UserName" type="string"/>
</sequence>
</complexType>
</element>
<element name="GetAPApprovalListResult">
<complexType>
<sequence>
<element maxOccurs="unbounded"
name="APApprovalList" type="xsd1:APApprovalList"/>
</sequence>
</complexType>
</element>
<complexType name="APApprovalList">
<sequence>
<element minOccurs="0" name="UserName" type="string"/>
<element minOccurs="0" name="AlertDate" type="string"/>
<element minOccurs="0" name="Description" type="string"/>
<element minOccurs="0" name="PaymentReferenceNumber" type="string"/>
<element minOccurs="0" name="InvoiceAmount" type="double"/>
<element minOccurs="0" name="VendorName" type="string"/>
</sequence>
</complexType>
</schema>
</types>
<message name="GetAPApprovalListRequest">
<part element="xsd1:GetAPApprovalList" name="GetAPApprovalList"/>
</message>
<message name="GetAPApprovalListResponse">
<part element="xsd1:GetAPApprovalListResult" name="GetAPApprovalListResult"/>
</message>
<portType name="BSAPrototype.APApproval.GetAPApprovalListSoapPort">
<operation name="GetAPApprovalList">
<input message="tns:GetAPApprovalListRequest"/>
<output message="tns:GetAPApprovalListResponse"/>
</operation>
</portType>
<binding name="BSAPrototype.APApproval.GetAPApprovalListSoapBinding" type="tns:BSAPrototype.APApproval.GetAPApprovalListSoapPort">
<soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="GetAPApprovalList">
<soap:operation
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:doc?in=GetAPApprovalList?out=GetAPApprovalListResult?path=BSAPrototype.APApproval.GetAPApprovalList"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="BSAPrototype.APApproval.GetAPApprovalList">
<port
binding="tns:BSAPrototype.APApproval.GetAPApprovalListSoapBinding" name="BSAPrototype.APApproval.GetAPApprovalListPort">
<soap:address
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://nextaxb:7777/NXAServer/NextAxiomServer"/>
</port>
</service>
</definitions>