ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere DataPower » Illegal casting error

Post new topic  Reply to topic
 Illegal casting error « View previous topic :: View next topic » 
Author Message
phanish
PostPosted: Wed Feb 19, 2014 12:07 am    Post subject: Illegal casting error Reply with quote

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
View user's profile Send private message
mqsiuser
PostPosted: Wed Feb 19, 2014 1:00 am    Post subject: Re: Illegal casting error Reply with quote

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
View user's profile Send private message
phanish
PostPosted: Wed Feb 19, 2014 3:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere DataPower » Illegal casting error
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.