cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2745
Views
5
Helpful
3
Replies

UCCX 7.0 - Create URL Document and Create XML Document question

bill.watts
Level 1
Level 1

I'm attempting to hit a URL and return an XML response using the Create URL Document and Create XML Document steps.  The create URL Document step works as expected but not the Create XML Document step.

Create URL Document –
URL - “http://dev/PhonePayment.asmx/makeRequest?policyNumber=1011290000001”
Document - Doc_URL_Document

Create XML Document
Source Document - Doc_URL_Document
Document - Doc_Account_Info

During runtime the Doc_URL_Document gets set to URL[http://dev/PhonePayment.asmx/makeRequest?policyNumber=1011290000001] as expected.  However, when the Create XML Document step gets hit Doc_Account_Info gets set to the following:

§com.cisco.wf.steps.io.XMLDocument§com.cisco.wf.steps.io.XMLDocument@0§

If I manually go to http://dev/PhonePayment.asmx/makeRequest?policyNumber=1011290000001 then I get the attached as the return XML.  What am I missing?

3 Replies 3

Anthony Holloway
Cisco Employee
Cisco Employee

Your web server is not returning a valid XML document.

Use this tool to validate your XML: http://validator.w3.org/#validate-by-input (copy/paste)

A well formed XML document begins and ends with a root node.  Your document ends with:

 22205 1144.70 May 09, 2011 05:25:04 PM 502.85 15.00

bill.watts
Level 1
Level 1

Anthony,

Thanks - you definitely put me on the right track!  As you said the web server was giving me malformed XML.  I had the developer create an XML file that was properly formed with just the information I needed and it worked like a champ.

Thanks,

Bill

You're welcome.  Thanks for the rating.