[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XML Error
You're getting error HTML back instead of proper XML. Seems to be complaining about a WSDL, which I wouldn't expect here. Sure you have the correct URL?
Sent from my iPhone
> On Mar 18, 2016, at 10:18 AM, Casey Antczak <cantczak@xxxxxxxxxxxxxx> wrote:
>
> All,
>
>
> This is my first time using HTTPAPI for an interface. Currently, I am
> getting the following error message when trying to post:
>
>
> SetError() #66: XML parse failed at line 1, col 330: not well-formed
> (invalid token).
>
>
> When using SoapUI, I am not getting an error and looking at the XML I
> am sending, there does not appear to be any errors. Below is the entire
> debug log for the transaction. Thank you for any help,
>
>
> senddoc(): entered
>
> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
> xmlns:soapenv="[1]http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:hl7="[2]http://www.omnicare.com/webservice/HL7/HL7Input.xsd"><soa
> penv:Header/><soapenv:Body><hl7:HL7Input><hl7:HL7InputString>MSH|^~\&am
> p;|27940|337|1397|3|20160229161746|0b02c3f2f9|ADT^A01|00000220160229000
> 974|P|2.4
>
> EVN|A01|201602291617||||20160229
>
> *rest of HL7 message*
>
>
> </hl7:HL7InputString></hl7:HL7Input></soapenv:Body></soapenv:Envelope>
>
> recvresp(): entered
>
> HTTP/1.1 200 OK
>
> Server: Apache-Coyote/1.1
>
> Content-Type: text/xml
>
> Date: Fri, 04 Mar 2016 15:41:06 GMT
>
> Transfer-Encoding: chunked
>
>
>
> SetError() #13: HTTP/1.1 200 OK
>
> recvresp(): end with 200
>
> recvdoc parms: chunked 0
>
> header_load_cookies() entered
>
> recvchunk(): entered
>
> get_chunk_size(): entered
>
> 54b
>
>
> chunk size = 1355
>
> get_chunk_size returned 1355
>
> calling comm_blockread
>
> <HTML><HEAD><TITLE>TIBCO BusinessWorks - Error 404: WSDL file not
> Found.</TITLE><style><!-- .Header { font-family: Verdana; font-size:
> 14pt; background-color: #9999CC; color: #FFFFFF } .normal {
> font-family: Verdana } .notes { font-family: Arial; font-size: 10pt;
> font-style: italic } --></style></HEAD><BODY><br><br><table width=50%
> align=center border=0 bgcolor=#DCDCDC cellpadding=3 cellspacing=0><tr
> bgcolor=#9999cc><td class=header>TIBCO BusinessWorks</td></tr><tr><td
> align=center valign=middle class=normal><br><font size=4> 404
> Error:</font> The requested WSDL file was not
> found.<p>/Webservices/ProcessHL7Message</p><p>Please check the URL and
> try again.</p><table border=0 width=40% cellspacing=0
> cellpadding=0><tr><td class=notes><b>Check the
> following:</b></td></tr><tr><td class=notes><ul><li>spelling of the
> URL?</li><li>upper or lower case?</li><li>correct port
> number?</li><li>correct host name?</li></ul> </td></tr></table><div
> align=center><center><table border=0 cellspacing=0
> cellpadding=0><tr><td class=notes>If problems persist contact the
> Administrator.</td></tr><tr><td
> class=notes><ul><li>Process:Â <b>294721594</b></li><li>Project:Â Â Â <b
>> HL7MessageProcessor_root</b></li><li>Engine:Â Â Â <b>HL7MessageProcess
> or-HL7MessageProcessor</b></li><li>Date:Â Â Â Â Â Â <b>2016-03-04T10:41
> :07.002-05:00</b></li><li>Time:Â Â Â Â Â <b></b> comm_blockread
> returned 1355
>
>
>
> get_chunk_size(): entered
>
> 55
>
>
> chunk size = 85
>
> get_chunk_size returned 85
>
> calling comm_blockread
>
> </li></ul></td></tr></table></center></div>Â </td></tr></table></BODY><
> /HTML>;</HTML>
>
> comm_blockread returned 85
>
>
>
> get_chunk_size(): entered
>
> 0
>
>
> chunk size = 0
>
> get_chunk_size returned 0
>
> http_close(): entered
>
> HTTPAPI Ver 1.24 released 2012-01-23
>
> OS/400 Ver V7R1M0
>
>
> SetError() #66: XML parse failed at line 1, col 330: not well-formed
> (invalid token)
>
>
>
> Casey Antczak | Account Manager
>
> O: 800-524-1038 x 355 | [3]cantczak@xxxxxxxxxxxxxx
>
>
> HCS | Clinical. Financial. Integrated.
>
> [4]www.hcsinteractant.com
>
>
> Privileged/Confidential Information may be contained in this message.
> If you are not the addressee indicated in this message (or responsible
> for delivery of the message to such person), you may not copy or
> deliver this message to anyone. In such case, you should destroy this
> message and kindly notify the sender by reply email. Please advise
> immediately if you or your employer does not consent to Internet email
> for messages of this kind. Opinions, conclusions and other information
> in this message that do not relate to the official business of my firm
> shall be understood as neither given nor endorsed by it.
>
> References
>
> 1. http://schemas.xmlsoap.org/soap/envelope/
> 2. http://www.omnicare.com/webservice/HL7/HL7Input.xsd
> 3. mailto:cantczak@xxxxxxxxxxxxxx
> 4. http://www.hcsinteractant.com/
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list. To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------