Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
That post is meant to talk about the Web Service creation side not the consumption side.
quote:
You original code should have produced something if something is being returned by the web service
quote:
You access elements of the variable myReturnVar using dot notation in the same way that you access structure fields. If a complex type has nested elements, in the way a structure can have multiple levels of nested fields, you use dot notation to access the nested elements, as in a.b.c.d, to whatever nesting level is necessary.
However, the variable myReturnVar is not a ColdFusion structure . It is a container for the complex type, but has none of the attributes of a ColdFusion structure. Calling the ColdFusion function isStruct on the variable returns False.
quote:
If you put the webservice URL in a browser do you get the correct WSDL file?
quote:
Where did you capture the SOAP response?
quote:
Are you sure something is being sent and received. Can you use tools to spy on the actual requests and responses?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
So does the <cfdump var="#Table_of_Bapiret2#"> show something on the screen or does it throw an 'undefined' error?
quote:
Looking at the soap response you maybe just getting a XML packet that CF is treating as a string at this point. Until this XML is processed into an XML structure you would not be able to use dot notation to access interior elements
Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
wltiii wrote:
Considering that under the condition that I am using dot notation and getting the error that the element MESSAGE is undefined strongly indicates that I do have an object of some sort, just not properly parsing it.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied