Webservice not accessible using cfinvoke,but emptystring in errordetail,filecontent using cfhttp
Hello,
When I am invoking the webservice with the following code. I am getting the following error.
Unable to parse WSDL as an XML document. | |
Parsing error: Fatal Error: URI=null Line=168: The element type "link" must be terminated by the matching end-tag "". | |
Code that I have used is :
<CFINVOKE component="userinfo" METHOD="GetuserInfo" RETURNVARIABLE="result_info" >
<cfinvokeargument name="EMP" value="123456"/>
</cfinvoke>
<cfdump var="#result_info#">
<CFINVOKE webservice="http://www.test.com/userinformation.cfc?wsdl" METHOD="GetVehInfo" RETURNVARIABLE="result_info" >
<cfinvokeargument name="EMP" value="123456"/>
</cfinvoke>
<cfdump var="#result_info#">
We were able to call the component and get the output. While changing the same component as webservice by adding access="remote", we are able to navigate to the WSDL page. But, when we try to call the same, we receive the error.
Then , it worked while accessing a webservice using cfhttp .
We are facing another issue while accessing a java webservice using coldfusion (i.e., cfhttp)
Coldfusion Server is in Windows Environment (i.e., consumer )
Java /J2eee code is hosted IBM application server in Unix Envionment (i..e., producer /service provider)
We are accessing the webservice url using the colfusion cfhttp method as below with the WSL credential and soap request.
<cfhttp url="<<Webservicepath>>" method="post" >
<cfhttpparam type="header" name="content-type" value="text/xml">
<cfhttpparam type="header" name="SOAPAction" value="<<SOAPACTIONPATH>>">
<cfhttpparam type="header" name="content-length" value="#len(myxmlsoaprequest)#">
<cfhttpparam type="header" name="charset" value="utf-8">
<cfhttpparam type="cookie" name="WSL-credential" value="<<Cookie>>">
<cfhttpparam type="xml" name="message" value="#myxmlsoaprequest#">
</cfhttp>
We get cfhttp.filecontent as empty and cfhttp.errordetail as empty as like below.
Charset | ISO-8859-1 | ||||||||||||||||||||||||||
ErrorDetail | [empty string] | ||||||||||||||||||||||||||
Filecontent | [empty string] | ||||||||||||||||||||||||||
Header | HTTP/1.1 200 OK Connection: close Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-Language: en-US Date: Thu, 04 Mar 2010 12:32:16 GMT Server: IBM_HTTP_Server/6.1.0.25 Apache/2.0.47 Content-Length: 0 Pragma: no-cache Cache-Control: no-cache Content-Type: text/html; charset=ISO-8859-1 | ||||||||||||||||||||||||||
Mimetype | text/html | ||||||||||||||||||||||||||
Responseheader |
| ||||||||||||||||||||||||||
Statuscode | 200 OK | ||||||||||||||||||||||||||
Text | YES | ||||||||||||||||||||||||||
while checking further , we found that we have received the below error log information in the service provider server error log (UNiX).
DCSV1036W: DCS Stack DefaultCoreGroup at Member : An unusual connectivity state occured with member
details: alarm(): Closing the connection because members did not manage to connect.
Can you please advise
