Remove the colon befor the slash that wil help (a little)
<cla1:STATE>' + stateIn +'<:/cla1:STATE>'
-----Oorspronkelijk bericht-----
Van: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx]Namens Kerins, Rebecca R.
Verzonden: donderdag 19 april 2012 18:28
Aan: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Onderwerp: Multiple Namespaces
I am trying to create an integration program that uses a request that has
what looks like multiple namespaces. Is this possible?
Here is a copy of the request sent from the outside programmer:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:cla="http://www.chrchmutual.com/ClaimsIntegration/"
xmlns:cla1="http://www.churchmutual.com/claims_types">
<soapenv:Header/>
<soapenv:Body>
<cla:searchCustomerByAddress>
<request>
<cla1:STATE></cla1:STATE>
<cla1:CITY></cla1:CITY>
<cla1:ADDRESS></cla1:ADDRESS>
<cla1:NAME>t</cla1:NAME>
</request>
</cla:searchCustomerByAddress>
</soapenv:Body>
</soapenv:Envelope>
Here's a copy of my code using the 2 namespaces. I'm thinking it's not
legal, but I don't know for sure.
SOAP =
'<?xml version="1.0" encoding="UTF-8"?>'
+'<soapenv:Envelope'
+' xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"'
+' xmlns:cla="http://www.chrchmutual.com/ClaimsIntegration/"'
+' xmlns:cla1="http://www.churchmutual.com/claims_types/"'
+' xmlns:xsd="http://www.w3.org/2001/XMLSchema"'
+' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'
+'<soapenv:Header>'
+'<soapenv:Body>'
+' <cla:searchCustomerByAddress>'
+' <request>'
+' <cla1:STATE>' + stateIn +'<:/cla1:STATE>'
+' <cla1:CITY>' + %trimr(cityIn) +'</cla1:CITY>'
+' <cla1:ADDRESS>' + %trimr(addrIn) +'</cla1:ADDRESS>'
+' <cla1:NAME>' + %trimr(nameIn) +'</cla1:NAME>'
+' </request>'
+' </cla:searchCustomerByAddress>'
+'</soapenv:Body>'
+'</soapenv:Header>'
+'</soapenv:Envelope>';
Thanks!
Becky << Bestand: ATT00020.txt >>
<<attachment: winmail.dat>>
----------------------------------------------------------------------- This is the FTPAPI mailing list. To unsubscribe, please go to: http://www.scottklement.com/mailman/listinfo/ftpapi -----------------------------------------------------------------------