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 » DP - Can't set service variable via xslt

Post new topic  Reply to topic
 DP - Can't set service variable via xslt « View previous topic :: View next topic » 
Author Message
dyson
PostPosted: Fri Mar 07, 2014 2:35 pm    Post subject: DP - Can't set service variable via xslt Reply with quote

Apprentice

Joined: 04 Apr 2011
Posts: 45

The goal : to send a soap message from a multi-protocol gateway to a ws-proxy via loopback.

Problem: I keep getting
Quote:
xmlmgr (default): illegal character 'S' at line 1 of http://127.0.0.1:2601/EmailService-EmailFront


One possible issue (and I'm guessing here) is that I'm not able to change the service variable: var://service/protocol via xslt.

It's always = 'dpmq' despite my xslt attempts to change to 'http':
Code:
 
<xsl:template match="/*[local-name()='Target'][@Channel='email']">

<xsl:variable name="url" select="'http://Email_Service_LB_Group/EmailService-EmailFront'" />

[b]<dp:set-variable name="'var://service/protocol'" value="'http'"/>[/b] <dp:set-variable name="'var://service/protocol-method'" value="'POST'"/>
<dp:set-variable name="'var://service/URI'" value="$url" />

<dp:set-target>
  <host>Email_Service_LB_Group</host>
  <port ssl="false">80</port>
</dp:set-target>

<xsl:copy-of select="$messageContent"/>


By-the-way the variable messageContent is a well formed soap message and works if I cut and paste into SoapUI and send directly to the DP ws-proxy.

Any thought or even snide remarks would good at this point, thanks.
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 » DP - Can't set service variable via xslt
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.