|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Illegal casting error |
« View previous topic :: View next topic » |
Author |
Message
|
phanish |
Posted: Wed Feb 19, 2014 12:07 am Post subject: Illegal casting error |
|
|
 Apprentice
Joined: 04 May 2013 Posts: 30
|
Hi,
I am seeing a warning "Illegal cast from xs:string to nodeset " in the logs at the place I am making soap-call to the backend in the xsl.
Code: |
<xsl:variable name="calloutResult" select="dp:soap-call($TargetURLDLVRY,$SoapReq,$sslProxy,$flag,$SoapActionDLVRY,'',$processFaults,$timeout)"/> |
I tried dp:parse but not able to resolve this.could you please let me know your thoughts. |
|
Back to top |
|
 |
mqsiuser |
Posted: Wed Feb 19, 2014 1:00 am Post subject: Re: Illegal casting error |
|
|
 Yatiri
Joined: 15 Apr 2008 Posts: 637 Location: Germany
|
phanish wrote: |
"Illegal cast from xs:string to nodeset" |
Someone/something tries to convert/parse ("cast") a string into a "nodeset": A nodeset is a tree and this fails... investigate the string, if it is properly constructed, e.g. are your sure that the $-variables get replaced?
Reduce the string to something that works and expand it from there (into the direction where the actual string is (the one currently not working)) _________________ Just use REFERENCEs |
|
Back to top |
|
 |
phanish |
Posted: Wed Feb 19, 2014 3:06 am Post subject: |
|
|
 Apprentice
Joined: 04 May 2013 Posts: 30
|
Hi,
I observed when I am making soap-call I don't want to pass https headers in the function. so I am passing empty sting '' in the function. Since the header argument in the function is of node type and what I am passing is a blank string it is giving the warning "Illegal cast from string to nodeset". now I replaced empty string with httpheader populating with content type in the soap-call and I am not seeing the above warning 
could you please let me know if there is any other way we can achieve this without passing httpheaders. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|