Show Posts
|
|
Pages: [1] 2
|
|
1
|
DataPower / DataPower General / Call a xslt template - directly from contivo - is there a way?
|
on: January 28, 2008, 09:42:38 AM
|
|
Hi When i do mapping in Contivo, based on the value of a particular field, I need to to call a template contained in another XSL. Currently i am editing the XSLT generated by contivo by adding the call-template manually. Is there any way to do this in contivo itself.
For instance:
<n5:field1> <xsl:if test="concat('a', ctvf:trim($_root/s0:Envelope[1]/s0:Body[1]/n7:APIV001[1]/n7:Group1[1]/n5:field1[1])) = concat('a', "")"> <xsl:value-of select = ""/> </xsl:if> </n5:field1>
This is what i am generating now. Later i would edit the XSLT and include the call-template. But I wanted the contivo to generate the XSL with the template being called. (as below)
<n5:field1> <xsl:if test="concat('a', ctvf:trim($_root/s0:Envelope[1]/s0:Body[1]/n7:APIV001[1]/n7:Group1[1]/n5:field1[1])) = concat('a', "")"> <xsl:call-template name="FieldRequired"> <xsl:with-param name="fieldName" select="field1" /> </xsl:call-template> </xsl:if> </n5:field1>
what should i do in contivo for this to happen.
|
|
|
|
|
5
|
DataPower / DataPower General / Is Datapower slow?
|
on: January 09, 2008, 04:48:12 AM
|
|
Hello
Can someone help.
When the datapower box is present at a geographically remote place, it takes a lot of time for the webUI images to get loaded. Session expires sometimes, even before i complete setting up policies. Is there any way to cache the pages to promote page loading in short time.
A UI page with no decorations (0% graphic) and just with textual links would do. This may not be a suggestion but rather this would be my feeling when i wait between page loads.
So i will open many WebUI sessions parallelly to configure my xml firewalls. When i try to configure policy for the two different firewalls present in two different IEs.. a single policy configuration window is shared between the firewalls. I am using IE6. If i have higher versions of IE which has tabbed controls.. will i be able to configure more than one policies at a time???
|
|
|
|
|
7
|
DataPower / XSLT / Genereate XSLT from Contivo to set DP variables.. Possible?
|
on: December 28, 2007, 01:37:24 AM
|
|
Hello all
In the SOAP request we send to the backend server.. we will have the name of the application to which request has to be sent. Based on this name of application, we have to select the backend URL and URI from a configureation XML file and set the DP variables so that the backend url and uri is formed. A XSL file should do this. Can this XSL be generated using Contivo.
|
|
|
|
|
8
|
DataPower / XI50 / Re: Branching based on value of a Soap field... to call a rule
|
on: December 13, 2007, 06:37:47 AM
|
|
yeah i noticed that... even the validation of the xsl failed in that case. and i have added the namespace...
the problem seems to be something else
in the assignment step you have given the value of Rule_name in single quotes like "'Add_Rule'". i removed the single quote and just with "Add_Rule" alone i tried. it is working fine.
Thanks for the reply. Vic.
|
|
|
|
|
10
|
DataPower / XI50 / ports - conventions.. if any?
|
on: December 12, 2007, 05:35:41 AM
|
|
Are there any conventions that can be followed to number the ports for entities. (either XMLFW or WSProxy or MPG)
If within a box, if different environments (Development, testing and QA) are present as differnt domains, how are we supposed to assign port numbers.
I understand the port numbers may range between 0000 to 9999 even across the domains. So as we move our objects across environments as the project progresses wont it be a rework to renumber ports once we move objects to different domains (environments).
or Do we need to go for separate boxes for different environments?
|
|
|
|
|
11
|
DataPower / DataPower General / Re: Migraing between enviroments
|
on: December 12, 2007, 05:33:28 AM
|
|
what are the conventions to be followed to number the ports for entities. (either XMLFW or WSProxy or MPG) If within a box, if different environments (Development, testing and QA) are present as differnt domains, how are we supposed to assign port numbers.
I understand the port numbers may range between 0000 to 9999 even across the domains. So as we move our objects across environments as the project progresses wont it be a rework to renumber ports once we move objects to different domains (environments).
or Do we need to go for separate boxes for different environments?
|
|
|
|
|
12
|
DataPower / XI50 / Re: Branching based on value of a Soap field... to call a rule
|
on: December 12, 2007, 12:35:00 AM
|
|
In the call step i get the following error
xmlfirewall (nbktz9z_Operations_StringOperationsService): request nbktz9z_Operations_StringOperationsService_Rule_0 #2 CALL rule var://context/test/nextrule with input tempvar1 and output tempvar2 failed: Bad rule in CALL
i am attaching the xsl i used. In the transformation step i have just mentioned the xsl file name. the output of this step is tempvar1. which goes as input to call. in the call step i am using a context variable for selecting 'next' rules. when i send request.. i get this error. why is this so?
|
|
|
|
|
13
|
DataPower / XI50 / Branching based on value of a Soap field... to call a rule
|
on: December 11, 2007, 07:31:53 AM
|
can somebody help me with achieving the following functionality: Based on the value of a field that i get in the xml or soap input, within a policy, i need to select a processing rule. How is this possible. For instance: <inputOperation soapenv:encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:string">Retrieve</inputOperation> is the field.. and "Retrieve" is the value then Retrieve_Rule should be called. If the value is "Add" then Add_Rule should be called and so on. In the Add_Rule, Retrieve_Rule i am transforming the soap input to some other formats respectively. Can this be acieved. Please help. Thanks in advance.
|
|
|
|
|
14
|
DataPower / XI50 / ws-proxy and xml-firewall
|
on: December 09, 2007, 12:24:33 PM
|
|
what exactly is the need for xml firewall if ws-proxy is the super set of xml firewall? why should there be two functionalities separately xml firwall and ws-proxy? what one is capable of that the other is not capable of doing??
can someone Please clarify.
Thanks in advance.
|
|
|
|
|
15
|
DataPower / Binary Transformations / Re: DataPower Issue: "Map exection request send error"
|
on: November 29, 2007, 12:07:56 AM
|
|
I am fine with NetTool. I am able to hit datapower.
The original problem remains unsolved. Still i am unable to directly execute the map from being in WTX map designer.
when i rightclick over map and try to run the map... i get this exception "Map exection request send error".
Is ther any provision in WTX to specify the proxy IP apart from the provision wher in we give Datapower IP
|
|
|
|
|
|
|