XQuery transformation in OSB
Hi
can any body tell how to make xquery transformation for the requirement like source as xml and target as schema,please provide related links if any
Thanks
Mani
http://docs.oracle.com/cd/E13160_01/wli/docs10gr3/dtguide/
http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/xquery.html
Already a thread is available.
sample examples for doing XQuery transformation within OSB
Hope this helps.
Thanks,
Vijay
Similar Messages
-
Convertion of String to XML node using Xquery transformation in OSB
How to convert string to XML node elementusing a built in function using Xquery transformation in OSB?
check this out - http://www.javamonamour.org/2011/06/fn-beainlinedxml.html
if in SOA (BPEL & Mediator) you can use oraext:parseXML.
you should thoroughly analyse where to implement your requirement as some good practices advise to implement more complex logic in SOA and leave OSB to only connect to the services' endpoints.
Hope this helps,
A. -
How to call business service from xquery transformation in OSB ??
Hi All,
How to call business service from xquery transformation in OSB ??
I need to assign the response variable of Business Service to a target element in XQuery Transformation Mapper file.
It's urgent.
Regards,
Jyoti NayakTransformation is to mapping the source and target of 2 different schemas.
In your case you should have a XQuery transformation between, your Business Service output schema and the target schema.
Thanks,
Vijay -
Convertion of XML node to string using Xquery transformation in OSB
How to convert XML node to string using a built in function using Xquery transformation in OSB? In BPEL we have the Xpath extension function ora:getContentAsString() to do the same.
fn:bea-serialize() function converts xml node to string. but it assigns namespace prefix in every xml node during the conversion. So is there any function to remove the namespace prefix from XML node using Xquery built in function?
-
Problem with Xquery transformation in OSB
hi,
My scenario is that I have to break the data in a single tag of xml A, to populate multiple tags of xml B.I am using Xquery transformation and substring function to achieve this. The problem comes when i import the xquery resource in OSB and try to do the transformation in a proxy service it gives the following error
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382510</con:errorCode>
<con:reason>
*OSB Assign action failed updating variable "message": com.bea.wli.common.xquery.XQueryException: Error parsing XML: {err}XP0006: "element {http://schemas.xmlsoap.org/soap/envelope/}Body { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type element {http://www.example.org/data}data { {http://www.w3.org/2001/XMLSchema}anyType }*
</con:reason>
<con:location>
<con:node>PipelinePairNode1</con:node>
<con:pipeline>PipelinePairNode1_request</con:pipeline>
<con:stage>stage1</con:stage>
<con:path>request-pipeline</con:path>
</con:location>
</con:fault>
the configuration i have done in the proxy service is this::_
Assign: [XQuery resource..] to [message]
Delete: [.] in [body]
Insert [$message] [as first child of][.] in [body]
The Xquery resource is the .xq file that i have generated for Xquery transformation.
and i m routing this proxy service to a business service that wud take the XML and dump it to my D drive using file protocol.
Edited by: rahulc on Oct 12, 2010 12:40 AM
Edited by: rahulc on Oct 12, 2010 12:41 AMMy Xquery is this::
(:: pragma bea:global-element-parameter parameter="$data1" element="ns0:data" location="data.xsd" ::)
(:: pragma bea:global-element-return element="note" location="note.xsd" ::)
declare namespace ns0 = "http://www.example.org/data";
declare namespace xf = "http://tempuri.org/OSB_Try/tag_break/";
declare function xf:tag_break($data1 as element(ns0:data))
as element(note) {
<note>
<to>
fn:substring(data($data1),
1 ,
6)
</to>
<from>
fn:substring(data($data1),
7 ,
6)
</from>
<heading>
fn:substring(data($data1),
13 ,
6)
</heading>
<body>
fn:substring(data($data1),
19 ,
11)
</body>
</note>
declare variable $data1 as element(ns0:data) external;
xf:tag_break($data1)
and my data is this::
<?xml version="1.0"?>
<ns0:data xmlns:ns0="http://www.example.org/data">DON'T FORGET ME THIS WEEKEND!</ns0:data>
and i have tested this zquery for the above data and this is the transformation its doing::
<note>
<to>DON'T </to>
<from>FORGET</from>
<heading> ME TH</heading>
<body>IS WEEKEND!</body>
</note>
Edited by: rahulc on Oct 12, 2010 1:57 AM -
XQuery Transformation in OSB for array of values
Hi,
I have followed the below tuts on the OSB tutorial.
http://www.oracle.com/technetwork/articles/jumpstart-for-osb-development-page--097357.html
Everything works fine. Except for the "GetAllCustomer" branch node.
Step1 : Configured the BusinessService invoking the exposed WebService at localhost:7001 --> it works & returns proper values, testing through both SOAP Ui & OSB business service.
Step 2 : Similarly configured the Proxy services with XQuery Transformation in place. --> it works with no error but not returning any values.
Step 3 : after configuring XQuery Transformation tested it through OEPE --> returns result as expected.
Please suggest where am going ??use a for loop or position for this..
please check the below threads, for the same..
Re: Assign activity erros with XPath query string returns multiple nodes.
Re: OSB:for-each action working procedure with a sample. -
Is there a way to use a OSB variable into an XQuery Transformation?
Hi,
I´m trying to access to a variable that I declared in the OSB with an Assign, but I´m gettin and Error that the variabe is used but not declared, I also tried to use a OSB variable like $messageID and still have the same Error, has somebody used a previous declared variable into an XQuery Transformation?
Thanx in Advanced!
Kind Regards!Hi,
In order to use a varible into a XQuery transformation you need to declare it as an input.
When you are defining the source types (in the 'new XQuery Transformation' wizard) you should add the variable that you want to use.
So if you assigned a variable called messageId and you want to use it in your message transformation using a XQuery resource you should add the following in the source types screen:
- On the Available source targets click 'XML' and then select the xml message that you want to transform and click 'Add'
- On the Available source targets click 'Simple' and then select 'string' and click 'Add'
This should declare the xml that you want to transform and the variable that you want to use during the transformation.
Hope it helps.
Regards,
Rodrigo -
OSB XQuery transformation help in Proxy Service
Hi,
Need help in transformation of the below input to a proxy service
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<InputParams>
<queryParams>
<quer:query-params xmlns:quer="http://www.example.org/QueryParams">
<param name="test51" value="val3353" />
<param name="test1" value="val2" />
<param name="test3" value="val3" />
<param name="test4" value="val4" />
<param name="test1" value="val1" />
<param name="test1" value="val11" />
<param name="test8" value="val33" />
<param name="test1" value="val34" />
<param name="test8" value="val33" />
<param name="test81" value="val33" />
<param name="test1" value="val333" />
<param name="test38" value="val33" />
</quer:query-params>
</queryParams>
</InputParams>
</soapenv:Body> and want to have the below output after running the below XQuery transformation
<ns0:mparams>
<ns0:param name="test1" value="val2" />
<ns0:param name="test1" value="val1" />
<ns0:param name="test1" value="val11" />
<ns0:param name="test1" value="val34" />
<ns0:param name="test1" value="val333" />
</ns0:mparams>this is the xquery transformation file
(:: pragma parameter="$InputQuery" type="anyType" ::)
(:: pragma bea:global-element-return element="ns0:mparams" location="../xsd/TargetParams.xsd" ::)
declare namespace ns0 = "http://www.example.org/QueryParams";
declare namespace xf = "http://tempuri.org/Simple/transformation/listparams/";
declare function xf:listparams($InputQuery as element(*))
as element(ns0:mparams) {
<ns0:mparams>
{ $InputQuery/ns0:params/param[@name="test1"] }
</ns0:mparams>
declare variable $InputQuery as element(*) external;
xf:listparams($InputQuery)and here is the input to the above .qs
$body/InputParams/queryParams/qp:query-paramsbut it's the output is always empty and here is what it comes out no matter what the input I give even tried the below inputs but no use
$body/InputParams/queryParams/qp:query-params
$body/InputParams/queryParamshere is the output it always prints when logging in the log file
<quer:mparams xmlns:quer="http://www.example.org/QueryParams"/>Any help is appreciated.
Thanks$InputQuery/ns0:params/param[@name="test1"]Input doesn't have a ns0:params node ..so the xpath here should be $InputQuery/param[@name="test1"]
-
Error in transformation in OSB
Hi all,
I am getting following error in transformation in OSB console:
<con:reason>
OSB Assign action failed updating variable "PaymentRequestsPCMToEBS": com.bea.wli.common.xquery.XQueryException: Error parsing XML: {err}XP0006: "element {http://schemas.xmlsoap.org/soap/envelope/}Body { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type element {http://xmlns.oracle.com/pcbpel/adapter/db/top/PollPaymentStatusDB}StgPcmInPaymentReqCollection { {http://www.w3.org/2001/XMLSchema}anyType }
</con:reason>
If I test the same in OEPE then there are no errors.
Here is the payload:
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
</soap:Header>
<pay:InputParameters xmlns:pay="http://xmlns.oracle.com/pcbpel/adapter/db/sp/PaymentStatus">
<!--Optional:-->
<pay:P_INT_NAME>string</pay:P_INT_NAME>
<!--Optional:-->
<pay:P_SOURCE_MESSAGE_REF>string</pay:P_SOURCE_MESSAGE_REF>
<!--Optional:-->
<pay:P_SOURCE_ENTITY_REF>string</pay:P_SOURCE_ENTITY_REF>
<!--Optional:-->
<pay:P_HEADER_REC>
<!--Optional:-->
<pay:INTERFACE_SOURCE_CODE>string</pay:INTERFACE_SOURCE_CODE>
<!--Optional:-->
<pay:BATCH_ID>string</pay:BATCH_ID>
<!--Optional:-->
<pay:GROUP_CODE>string</pay:GROUP_CODE>
<!--Optional:-->
<pay:HEADER_DESCRIPTION>string</pay:HEADER_DESCRIPTION>
<!--Optional:-->
<pay:PR_NUMBER>string</pay:PR_NUMBER>
<!--Optional:-->
<pay:HEADER_ATTRIBUTE3>string</pay:HEADER_ATTRIBUTE3>
<!--Optional:-->
<pay:HEADER_ATTRIBUTE4>string</pay:HEADER_ATTRIBUTE4>
<!--Optional:-->
<pay:NOTE_TO_BUYER>string</pay:NOTE_TO_BUYER>
<!--Optional:-->
<pay:DELIVER_TO_REQUESTOR_NAME>string</pay:DELIVER_TO_REQUESTOR_NAME>
<!--Optional:-->
<pay:CURRENCY_CODE>string</pay:CURRENCY_CODE>
<!--Optional:-->
<pay:EXPENDITURE_ORGANIZATION_CODE>string</pay:EXPENDITURE_ORGANIZATION_CODE>
<!--Optional:-->
<pay:ORGANIZATION_CODE>string</pay:ORGANIZATION_CODE>
<!--Optional:-->
<pay:SUGGESTED_VENDOR_NAME>string</pay:SUGGESTED_VENDOR_NAME>
<!--Optional:-->
<pay:SUGGESTED_VENDOR_ID>1000.00</pay:SUGGESTED_VENDOR_ID>
<!--Optional:-->
<pay:SUGGESTED_VENDOR_SITE>string</pay:SUGGESTED_VENDOR_SITE>
<!--Optional:-->
<pay:SUGGESTED_VENDOR_SITE_ID>1000.00</pay:SUGGESTED_VENDOR_SITE_ID>
<!--Optional:-->
<pay:SUGGESTED_VENDOR_CONTACT>string</pay:SUGGESTED_VENDOR_CONTACT>
<!--Optional:-->
<pay:SUGGESTED_VENDOR_CONTACT_ID>1000.00</pay:SUGGESTED_VENDOR_CONTACT_ID>
<!--Optional:-->
<pay:SUGGESTED_VENDOR_PHONE>string</pay:SUGGESTED_VENDOR_PHONE>
<!--Optional:-->
<pay:ACCRUAL_ACCOUNT_ID>1000.00</pay:ACCRUAL_ACCOUNT_ID>
<!--Optional:-->
<pay:VARIANCE_ACCOUNT_ID>1000.00</pay:VARIANCE_ACCOUNT_ID>
<!--Optional:-->
<pay:BUDGET_ACCOUNT_ID>1000.00</pay:BUDGET_ACCOUNT_ID>
<!--Optional:-->
<pay:AMOUNT>1000.00</pay:AMOUNT>
<!--Optional:-->
<pay:CERTIFIED_DATE>2008-09-29T02:49:45</pay:CERTIFIED_DATE>
</pay:P_HEADER_REC>
<!--Optional:-->
<pay:P_LINES_TAB>
<!--Zero or more repetitions:-->
<pay:P_LINES_TAB_ITEM>
<!--Optional:-->
<pay:QUANTITY>1000.00</pay:QUANTITY>
<!--Optional:-->
<pay:UNIT_OF_MEASURE>string</pay:UNIT_OF_MEASURE>
<!--Optional:-->
<pay:UNIT_PRICE>1000.00</pay:UNIT_PRICE>
<!--Optional:-->
<pay:ITEM_SEGMENT1>string</pay:ITEM_SEGMENT1>
<!--Optional:-->
<pay:CHARGE_ACCOUNT_SEGMENT1>string</pay:CHARGE_ACCOUNT_SEGMENT1>
<!--Optional:-->
<pay:CHARGE_ACCOUNT_SEGMENT2>string</pay:CHARGE_ACCOUNT_SEGMENT2>
<!--Optional:-->
<pay:CHARGE_ACCOUNT_SEGMENT3>string</pay:CHARGE_ACCOUNT_SEGMENT3>
<!--Optional:-->
<pay:CHARGE_ACCOUNT_SEGMENT4>string</pay:CHARGE_ACCOUNT_SEGMENT4>
<!--Optional:-->
<pay:CHARGE_ACCOUNT_SEGMENT5>string</pay:CHARGE_ACCOUNT_SEGMENT5>
<!--Optional:-->
<pay:CHARGE_ACCOUNT_SEGMENT6>string</pay:CHARGE_ACCOUNT_SEGMENT6>
<!--Optional:-->
<pay:CHARGE_ACCOUNT_SEGMENT7>string</pay:CHARGE_ACCOUNT_SEGMENT7>
<!--Optional:-->
<pay:PROJECT_NUM>string</pay:PROJECT_NUM>
<!--Optional:-->
<pay:TASK_NUM>string</pay:TASK_NUM>
<!--Optional:-->
<pay:EXPENDITURE_TYPE>string</pay:EXPENDITURE_TYPE>
<!--Optional:-->
<pay:DESTINATION_ORGANIZATION_CODE>str</pay:DESTINATION_ORGANIZATION_CODE>
<!--Optional:-->
<pay:LINE_ATTRIBUTE2>string</pay:LINE_ATTRIBUTE2>
<!--Optional:-->
<pay:NEED_BY_DATE>2014-09-19T00:18:33</pay:NEED_BY_DATE>
<!--Optional:-->
<pay:DISTRIBUTION_ATTRIBUTE5>string</pay:DISTRIBUTION_ATTRIBUTE5>
<!--Optional:-->
<pay:CURRENCY_UNIT_PRICE>1000.00</pay:CURRENCY_UNIT_PRICE>
<!--Optional:-->
<pay:CURRENCY_AMOUNT>1000.00</pay:CURRENCY_AMOUNT>
<!--Optional:-->
<pay:ITEM_DESCRIPTION>string</pay:ITEM_DESCRIPTION>
<!--Optional:-->
<pay:CATEGORY_SEGMENT1>string</pay:CATEGORY_SEGMENT1>
<!--Optional:-->
<pay:TAX_CODE>string</pay:TAX_CODE>
<!--Optional:-->
<pay:DISTRIBUTION_ATTRIBUTE9>string</pay:DISTRIBUTION_ATTRIBUTE9>
<!--Optional:-->
<pay:REMARKS>string</pay:REMARKS>
<!--Optional:-->
<pay:LIABLE_FOR_WHT>string</pay:LIABLE_FOR_WHT>
</pay:P_LINES_TAB_ITEM>
</pay:P_LINES_TAB>
</pay:InputParameters>
In transformation I am using following code for converting String to Decimal
for $vendorSiteId in $stgPcmInPaymentReqCollection1/ns1:StgPcmInPaymentReq[1]/ns1:vendorSiteId
return
<ns0:SUGGESTED_VENDOR_SITE_ID>{ xs:decimal(data($vendorSiteId)) }</ns0:SUGGESTED_VENDOR_SITE_ID>
Please let me know if I am missing anything.your payload doesn't seem to be correct.
if you're trying to parse a soap envelop i would expect a soap:Body tag
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
</soap:Header>
<soap:Body>
<pay:InputParameters xmlns:pay="http://xmlns.oracle.com/pcbpel/adapter/db/sp/PaymentStatus">
</soap:Body> -
Hi all,
I am new to OSB. I am having trouble to understand how to do XSL transformation in OSB.
I have created a business service which targets wsdl with a particular schema for the input message. I have created a separate wsdl for the proxy service with another schema the input message.
I have to invoke the business service from proxy service. For this, I have added a route node and then a routing activity. In the request line of the routing activity i have used an assign where i will use XSLT to map input message of the proxy wsdl to the input message of the business service.
How do we access other variables when creating an XSLT?
Is my approach to the problem correct?
JohnHi,
I am doing that in an replace action.
In my flow I have the proxy service, then a pipeline, then I have the route.
In the pipeline I have replaced the input request using a XQuery transformation. When I test it, I see the input is coming till the route.
But the same pay load is valid and workin if I pass it when I invoke the route service independently. when i use it in the flow its not working.
Simply it says the system error
Below is the complete trace data
(receiving request)
Initial Message Context
added $body
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<proj:alertReportDataRequestMessage xmlns:proj="http://www.projgis.org/PROJGISMessageSchema">
<proj:header>
<proj:RequestId>3333</proj:RequestId>
<proj:ReqTransactionId>333</proj:ReqTransactionId>
<proj:ConsumerId>string</proj:ConsumerId>
<proj:ReqTimestamp>2008-09-29T07:19:45</proj:ReqTimestamp>
</proj:header>
<proj:NameOfTenant>string</proj:NameOfTenant>
<proj:AddressOfTenant>string</proj:AddressOfTenant>
<proj:RentalAmount>string</proj:RentalAmount>
<proj:StartDateOfRent>2014-09-19T04:48:33</proj:StartDateOfRent>
<proj:EndDateOfRent>2006-08-19T22:57:14+05:30</proj:EndDateOfRent>
<proj:SalesOfOrder>string</proj:SalesOfOrder>
</proj:alertReportDataRequestMessage>
</soapenv:Body>
added $header
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
</soap:Header>
added $inbound
<con:endpoint name="ProxyService$PROJGISProject$PROXYSERVICE$GetRentalExpiryAlertsData" xmlns:con="http://www.bea.com/wli/sb/context">
<con:service>
<con:operation>insertClientReport</con:operation>
</con:service>
<con:transport>
<con:uri>
/PROJGISProject/PROXYSERVICE/GetRentalExpiryAlertsData
</con:uri>
<con:mode>request-response</con:mode>
<con:qualityOfService>best-effort</con:qualityOfService>
<con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
<http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
<http:SOAPAction>
"http://xmlns.bodhtree.com/GetRentalExpiryAlertsData/insertClientReport"
</http:SOAPAction>
</tran:headers>
<tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
</con:request>
<con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
<http:Content-Type>text/xml</http:Content-Type>
</tran:headers>
<tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
</con:response>
</con:transport>
<con:security>
<con:transportClient>
<con:username><anonymous></con:username>
</con:transportClient>
</con:security>
</con:endpoint>
added $messageID
2570677769696620240-29ef401f.12cef26de6e.-7ef1
PipelinePairNode1
stage2
Message Context Changes
changed $body
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<ins:ClientReportCollection xmlns:ins="http://xmlns.oracle.com/pcbpel/adapter/db/top/InsertClientReportTable">
<ins:ClientReport>
<ins:alertNo>1</ins:alertNo>
<ins:tenentName>string</ins:tenentName>
<ins:address>string</ins:address>
<ins:rentalAmt>string</ins:rentalAmt>
<ins:startDate>2014-09-19T04:48:33</ins:startDate>
<ins:endDate>2006-08-19T22:57:14+05:30</ins:endDate>
<ins:salesDocument>string</ins:salesDocument>
<ins:transId>333</ins:transId>
</ins:ClientReport>
</ins:ClientReportCollection>
</soapenv:Body>
changed $inbound
<con:endpoint name="ProxyService$PROJGISProject$PROXYSERVICE$GetRentalExpiryAlertsData" xmlns:con="http://www.bea.com/wli/sb/context">
<con:service>
<con:operation>insert</con:operation>
</con:service>
<con:transport>
<con:uri>
/PROJGISProject/PROXYSERVICE/GetRentalExpiryAlertsDataPush
</con:uri>
<con:mode>request</con:mode>
<con:qualityOfService>best-effort</con:qualityOfService>
<con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
<http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
<http:SOAPAction>
"http://xmlns.bodhtree.com/GetRentalExpiryAlertsData/insertClientReport"
</http:SOAPAction>
</tran:headers>
<tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
</con:request>
<con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
<http:Content-Type>text/xml</http:Content-Type>
</tran:headers>
<tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
</con:response>
</con:transport>
<con:security>
<con:transportClient>
<con:username><anonymous></con:username>
</con:transportClient>
</con:security>
</con:endpoint>
changed $header
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
</soap:Header>
RouteNode1
Routed Service
Route to: "GetRentalExpiryAlertsDataPush"
$outbound:
<con:endpoint name="ProxyService$PROJGISProject$PROXYSERVICE$GetRentalExpiryAlertsDataPush" xmlns:con="http://www.bea.com/wli/sb/context">
<con:service>
<con:operation>insertClientReport</con:operation>
</con:service>
<con:transport>
<con:mode>request</con:mode>
<con:qualityOfService>best-effort</con:qualityOfService>
<con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
<http:Content-Type>text/xml</http:Content-Type>
</tran:headers>
</con:request>
</con:transport>
<con:security>
<con:doOutboundWss>false</con:doOutboundWss>
</con:security>
</con:endpoint>
$body (request):
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<ins:ClientReportCollection xmlns:ins="http://xmlns.oracle.com/pcbpel/adapter/db/top/InsertClientReportTable">
<ins:ClientReport>
<ins:alertNo>1</ins:alertNo>
<ins:tenentName>string</ins:tenentName>
<ins:address>string</ins:address>
<ins:rentalAmt>string</ins:rentalAmt>
<ins:startDate>2014-09-19T04:48:33</ins:startDate>
<ins:endDate>2006-08-19T22:57:14+05:30</ins:endDate>
<ins:salesDocument>string</ins:salesDocument>
<ins:transId>333</ins:transId>
</ins:ClientReport>
</ins:ClientReportCollection>
</soapenv:Body>
$header (request):
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
</soap:Header>
$attachments (request):
<con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>
Message Context Changes
added $outbound
<con:endpoint name="ProxyService$PROJGISProject$PROXYSERVICE$GetRentalExpiryAlertsDataPush" xmlns:con="http://www.bea.com/wli/sb/context">
<con:service>
<con:operation>insertClientReport</con:operation>
</con:service>
<con:transport>
<con:uri>
/PROJGISProject/PROXYSERVICE/GetRentalExpiryAlertsDataPush
</con:uri>
<con:mode>request</con:mode>
<con:qualityOfService>best-effort</con:qualityOfService>
<con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
<http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
</tran:headers>
<tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
</con:request>
<con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
<http:Content-Type>text/xml</http:Content-Type>
</tran:headers>
<tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">1</tran:response-code>
</con:response>
</con:transport>
<con:security>
<con:doOutboundWss>false</con:doOutboundWss>
</con:security>
</con:endpoint>
changed $body
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<ins:ClientReportCollection xmlns:ins="http://xmlns.oracle.com/pcbpel/adapter/db/top/InsertClientReportTable">
<ins:ClientReport>
<ins:alertNo>1</ins:alertNo>
<ins:tenentName>string</ins:tenentName>
<ins:address>string</ins:address>
<ins:rentalAmt>string</ins:rentalAmt>
<ins:startDate>2014-09-19T04:48:33</ins:startDate>
<ins:endDate>2006-08-19T22:57:14+05:30</ins:endDate>
<ins:salesDocument>string</ins:salesDocument>
<ins:transId>333</ins:transId>
</ins:ClientReport>
</ins:ClientReportCollection>
</soapenv:Body>
changed $inbound
<con:endpoint name="ProxyService$PROJGISProject$PROXYSERVICE$GetRentalExpiryAlertsData" xmlns:con="http://www.bea.com/wli/sb/context">
<con:service>
<con:operation>insert</con:operation>
</con:service>
<con:transport>
<con:uri>
/PROJGISProject/PROXYSERVICE/GetRentalExpiryAlertsDataPush
</con:uri>
<con:mode>request</con:mode>
<con:qualityOfService>best-effort</con:qualityOfService>
<con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
<http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
<http:SOAPAction>
"http://xmlns.bodhtree.com/GetRentalExpiryAlertsData/insertClientReport"
</http:SOAPAction>
</tran:headers>
<tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
</con:request>
<con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
<http:Content-Type>text/xml</http:Content-Type>
</tran:headers>
<tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
</con:response>
</con:transport>
<con:security>
<con:transportClient>
<con:username><anonymous></con:username>
</con:transportClient>
</con:security>
</con:endpoint>
changed $header
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
</soap:Header>
Service Error Handler
$fault: <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-380000</con:errorCode>
<con:location>
<con:node>RouteNode1</con:node>
<con:path>response-pipeline</con:path>
</con:location>
</con:fault>
System Error Handler
$fault: <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-380000</con:errorCode>
<con:location>
<con:node>RouteNode1</con:node>
<con:path>response-pipeline</con:path>
</con:location>
</con:fault>
Is there any place where I can refer how to work with passing data from current flow to the next flow.
Do i need to do the transformation before invoking the route, or inside the route service request pipeline?
Do I need to change the method, URI etc as wells? before invoking the routing?
--Khaleel -
All,
We have a task of transforming lot of XML payload formats as part of the OSB proxy service to business service calling. I am looking at this link for XQuery Mapper
http://download.oracle.com/docs/html/E15866_01/mapper.htm#i1385064
I have downloaded the Oracle Enterprise pack for Eclipse but still don't see XQuery Transformation option.
The documentation in this link talks about GUI based intuitive mapping mechanism b/w different SOAP or XML or WSDL formats.
Let me know your thoughts on the same.
Thanks,Hi Sushant,
Regarding your last post..
As per as I know you can have two option..
1>either you import your wsdl/schemas into OSB Console and then use XQuert mapper over there,you will get the Xquery file.
2>Other wise you can install other XML processor tool(like Altova XML Spy ..etc.) and generate your required XQuery file and then import into your OSB project(@OSB Console).
But one thing I can assure you that what ever you can do in Workshop IDE,you can do same thing in OSB Console as well.
Thanks,
Deba -
Hi,
I am new to OSB and have been trying my hand creating XQuery transformations.
I have been getting the following error while testing the proxy service:
(receiving request)
Initial Message Context
* added $body*
* <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">*
* <ord:shipOrder xmlns:ord="http://com/mycompany/order">*
* <ord:ord xmlns:java="java:com.mycompany.order">*
* <java:City>string</java:City>*
* <java:FirstName>string</java:FirstName>*
* <java:LastName>string</java:LastName>*
* <java:OrderNumber>123</java:OrderNumber>*
* <java:PhoneNumber>string</java:PhoneNumber>*
* <java:PostalCode>string</java:PostalCode>*
* <java:ShippingType>ups</java:ShippingType>*
* <java:StateProvince>string</java:StateProvince>*
* <java:StreetAddress>string</java:StreetAddress>*
* <java:StreetAddress2>string</java:StreetAddress2>*
* </ord:ord>*
* </ord:shipOrder>*
* </soapenv:Body>*
* added $header*
* <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">*
* </soap:Header>*
* added $inbound*
* <con:endpoint name="ProxyService$Shipping$proxy services$ShippingService_proxy" xmlns:con="http://www.bea.com/wli/sb/context">*
* <con:service>*
* <con:operation>shipOrder</con:operation>*
* </con:service>*
* <con:transport>*
* <con:uri>*
* /Shipping/proxy_services/ShippingService_proxy*
* </con:uri>*
* <con:mode>request-response</con:mode>*
* <con:qualityOfService>best-effort</con:qualityOfService>*
* <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">*
* <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">*
* <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>*
* <http:SOAPAction>""</http:SOAPAction>*
* </tran:headers>*
* <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>*
* </con:request>*
* <con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">*
* <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">*
* <http:Content-Type>text/xml</http:Content-Type>*
* </tran:headers>*
* <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>*
* </con:response>*
* </con:transport>*
* <con:security>*
* <con:transportClient>*
* <con:username>weblogic</con:username>*
* <con:principals>*
* <con:group>AdminChannelUsers</con:group>*
* <con:group>Administrators</con:group>*
* <con:group>IntegrationAdministrators</con:group>*
* </con:principals>*
* </con:transportClient>*
* </con:security>*
* </con:endpoint>*
* added $messageID*
*2984534489141211043-6ec55042.129f907b433.-7fb0*
* RouteTo_ShippingTestService*
Routed Service
* Route to: "ShippingTestService"*
* $outbound:*
* <con:endpoint name="BusinessService$Shipping$business services$ShippingTestService" xmlns:con="http://www.bea.com/wli/sb/context">*
* <con:service>*
* <con:operation>shipOrder</con:operation>*
* </con:service>*
* <con:transport>*
* <con:mode>request-response</con:mode>*
* <con:qualityOfService>best-effort</con:qualityOfService>*
* <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">*
* <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">*
* <http:Content-Type>text/xml</http:Content-Type>*
* <http:SOAPAction>""</http:SOAPAction>*
* </tran:headers>*
* </con:request>*
* </con:transport>*
* <con:security>*
* <con:doOutboundWss>false</con:doOutboundWss>*
* </con:security>*
* </con:endpoint>*
* $body (request):*
* <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">*
* <ser:shipOrder xmlns:ser="http://com/mycompany/shipping/services">*
* <ser:upsOrder>*
* <java:Adr xmlns:java="java:com.ups.model">*
* <java:AddressLine1>string</java:AddressLine1>*
* <java:AddressLine2>string</java:AddressLine2>*
* <java:City>string</java:City>*
* <java:PostalCode>string</java:PostalCode>*
* <java:StateProvince>string</java:StateProvince>*
* </java:Adr>*
* <java:FName xmlns:java="java:com.ups.model">string</java:FName>*
* <java:LName xmlns:java="java:com.ups.model">string</java:LName>*
* <java:OrderID xmlns:java="java:com.ups.model">123</java:OrderID>*
* <java:PhoneNumber xmlns:java="java:com.ups.model">string</java:PhoneNumber>*
* </ser:upsOrder>*
* </ser:shipOrder>*
* </soapenv:Body>*
* $header (request):*
* <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">*
* </soap:Header>*
* $attachments (request):*
* <con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>*
Message Context Changes
* added $outbound*
* <con:endpoint name="BusinessService$Shipping$business services$ShippingTestService" xmlns:con="http://www.bea.com/wli/sb/context">*
* <con:service>*
* <con:operation>shipOrder</con:operation>*
* </con:service>*
* <con:transport>*
* <con:uri>*
* http://localhost:7051/ShippingServices/Order*
* </con:uri>*
* <con:mode>request-response</con:mode>*
* <con:qualityOfService>best-effort</con:qualityOfService>*
* <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">*
* <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">*
* <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>*
* <http:SOAPAction>""</http:SOAPAction>*
* </tran:headers>*
* <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>*
* </con:request>*
* <con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">*
* <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">*
* <tran:user-header name="X-Powered-By" value="Servlet/2.5 JSP/2.1"/>*
* <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>*
* <http:Date>Fri, 23 Jul 2010 09:05:25 GMT</http:Date>*
* <http:Transfer-Encoding>chunked</http:Transfer-Encoding>*
* </tran:headers>*
* <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">2</tran:response-code>*
* <tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">Internal Server Error</tran:response-message>*
* <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>*
* <http:http-response-code>500</http:http-response-code>*
* </con:response>*
* </con:transport>*
* <con:security>*
* <con:doOutboundWss>false</con:doOutboundWss>*
* </con:security>*
* </con:endpoint>*
* added $transformMsg*
* <ser:shipOrder xmlns:ser="http://com/mycompany/shipping/services">*
* <ser:upsOrder>*
* <java:Adr xmlns:java="java:com.ups.model">*
* <java:AddressLine1>string</java:AddressLine1>*
* <java:AddressLine2>string</java:AddressLine2>*
* <java:City>string</java:City>*
* <java:PostalCode>string</java:PostalCode>*
* <java:StateProvince>string</java:StateProvince>*
* </java:Adr>*
* <java:FName xmlns:java="java:com.ups.model">string</java:FName>*
* <java:LName xmlns:java="java:com.ups.model">string</java:LName>*
* <java:OrderID xmlns:java="java:com.ups.model">123</java:OrderID>*
* <java:PhoneNumber xmlns:java="java:com.ups.model">string</java:PhoneNumber>*
* </ser:upsOrder>*
* </ser:shipOrder>*
* changed $body*
* <env:Body xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">*
* <SOAP-ENV:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">*
* <faultcode>SOAP-ENV:Client</faultcode>*
* <faultstring>*
* Failed to get operation name from incoming request*
* </faultstring>*
* </SOAP-ENV:Fault>*
* </env:Body>*
* changed $attachments*
* <con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>*
* changed $inbound*
* <con:endpoint name="ProxyService$Shipping$proxy services$ShippingService_proxy" xmlns:con="http://www.bea.com/wli/sb/context">*
* <con:service>*
* <con:operation>shipOrder</con:operation>*
* </con:service>*
* <con:transport>*
* <con:uri>*
* /Shipping/proxy_services/ShippingService_proxy*
* </con:uri>*
* <con:mode>request-response</con:mode>*
* <con:qualityOfService>best-effort</con:qualityOfService>*
* <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">*
* <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">*
* <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>*
* <http:SOAPAction>""</http:SOAPAction>*
* </tran:headers>*
* <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>*
* </con:request>*
* <con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">*
* <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">*
* <http:Content-Type>text/xml</http:Content-Type>*
* </tran:headers>*
* <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>*
* </con:response>*
* </con:transport>*
* <con:security>*
* <con:transportClient>*
* <con:username>weblogic</con:username>*
* <con:principals>*
* <con:group>AdminChannelUsers</con:group>*
* <con:group>Administrators</con:group>*
* <con:group>IntegrationAdministrators</con:group>*
* </con:principals>*
* </con:transportClient>*
* </con:security>*
* </con:endpoint>*
* changed $header*
* <env:Header xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"/>*
* System Error Handler*
*$fault: *
* <con:fault xmlns:con="http://www.bea.com/wli/sb/context">*
* <con:errorCode>BEA-380001</con:errorCode>*
* <con:reason>Internal Server Error</con:reason>*
* <con:location>*
* <con:node>RouteTo_ShippingTestService</con:node>*
* <con:path>response-pipeline</con:path>*
* </con:location>*
* </con:fault>*
Any pointers on why this error is occuring and what needs to be done to resolve it.
Thanks
Priya.Hi Eric,
Sorry for the delay in responding.
I tested just the XQuery with the payload I used in the example. It works perfectly fine. No errors or warnings were raised.
Regards
Priya. -
DB data transformation in OSB 11g?
Hi ,
I have worked with XQuery transformation to transform input data to the required format we need to insert to DB.Can we perform XQuery transformation with data returned from DB.DBAdapter is configured for select operation,will us be able to transform the data to any format we require by capturing it n Response pipe-line of pirpeline pair n our osb message flow.
a.My XQuery returns empty data,can any1 confirm where this can be achieved ?if so do provide some inputs on the same,which will be very helpful .
b.Is it possible to use wsdl from a java client as input for OSB proxy service,will it work?Where shud be import the implementation details if so?
Kindly provide yoru suggestion on abve points and some alternative ways if possible.Lots of questions in one post. ok... let's go one by one :) -
Can we perform XQuery transformation with data returned from DBYes, you can. Similarly as you do for other transformations.
DBAdapter is configured for select operation,will us be able to transform the data to any format we require by capturing it n Response pipe-line of pirpeline pair n our osb message flow.Yes, you can.
a.My XQuery returns empty data,can any1 confirm where this can be achieved ?if so do provide some inputs on the same,which will be very helpful .I hope this is in the case where "select" operation does not return a data. In this case you may first check in OSB message flow itself whether select returned any data -
how to check for missing element before assigning,
If select does not return any data, don't even call XQuery from message flow.
b.Is it possible to use wsdl from a java client as input for OSB proxy service,will it work?Where shud be import the implementation details if so?I did not understand, sorry! Do you want to create a WSDL based web-service as OSB or do you want to call such a service hosted on OSB, from a Java client. Please elaborate.
Regards,
Anuj -
hi,
i am new to OSB. i want to do transformation in OSB like we do in Jdeveloper. can anyone provide me the links for that?
thanksOSB supports XSLT transformations, so if you are familiar with them just stick to JDeveloper.
Otherwise you should use XQuery Mapper with OEPE (Eclipse), but that would be quite a learning curve, XQuery is not self evident...
http://download.oracle.com/docs/cd/E14981-01/wli/docs1031/dtguide/dtguideMapper.html -
How to add all namespaces in root node of xquery transformation result?
Hi,
I'm using xquery Transformation in oracle service bus to transfrom output. The schema used for output transfromation has elements being imported from several schemas. so that output xml has these long tags with namespaces of repective schemas e.g.
<rr:Get360ViewOfProductResponse xmlns:rr="http://canaldigital.com/schema/product/CPMProductInformation/v2.0/">
<ResponseHeader>
<com:ResponseCode xmlns:com="http://broadcast.telenor.com/tsi/common/commonparameters_v1" >0</com:ResponseCode>
<com:ResponseText xmlns:com="http://broadcast.telenor.com/tsi/common/commonparameters_v1" >0</com:ResponseText>
</ResponseHeader>
</rr:Get360ViewOfProductResponse>
what I want to achieve is that all namespaces come once in the rootNode and all childnodes just use the repective prefixes, so that the xml size doesnt grow too large.Like below.
<rr:Get360ViewOfProductResponse xmlns:com="http://broadcast.telenor.com/tsi/common/commonparameters_v1" xmlns:rr="http://canaldigital.com/schema/product/CPMProductInformation/v2.0/" xmlns:pr="http://broadcast.telenor.com/tsi/common/program_v1">
<ResponseHeader>
<com:ResponseCode>0</com:ResponseCode>
<com:ResponseText>0</com:ResponseText>
</ResponseHeader>
</rr:Get360ViewOfProductResponse>
the difference is that ResponseCode and responseText should only use their prefix, and not complete namespace. How can i acheive this.
Thanks in advance.
Edited by: 856401 on Feb 9, 2012 1:53 AMI get error 'Invalid expression- Unexpected token copy-namespaces'. Is it supported by xquery version 1.0 ? Following is the updated xquery transformation which gives static error:
xquery version "1.0" encoding "Cp1252";
(:: pragma bea:global-element-parameter parameter="$get360ViewOfProductResponse1" element="ns5:Get360ViewOfProductResponse" location="../XSD/CPMSchema_v20.xsd" ::)
(:: pragma bea:global-element-return element="ns6:Get360ViewOfProductResponse" location="../XSD/CPMSchema_v3.xsd" ::)
declare namespace ns2 = "http://broadcast.telenor.com/tsi/common/displayinformation_v1";
declare namespace ns1 = "http://broadcast.telenor.com/tsi/common/commonparameters_v1";
declare namespace ns4 = "http://broadcast.telenor.com/tsi/common/Property_v2";
declare namespace ns3 = "http://broadcast.telenor.com/tsi/common/ProductMain_v2";
declare namespace ns0 = "http://broadcast.telenor.com/tsi/common/condition_v1";
declare namespace ns9 = "http://broadcast.telenor.com/tsi/common/extension_v1";
declare namespace ns5 = "http://broadcast.telenor.com/tsi/psd/cpm/CPMSchema_v20";
declare namespace ns6 = "http://canaldigital.com/schema/product/CPMProductInformation/v3.0/";
declare namespace xf = "http://tempuri.org/CPM_OSB_v3/XQuery/Get360ViewOfProductResponse/";
declare namespace ns7 = "http://broadcast.telenor.com/tsi/common/productofferingpricewithrules_v2";
declare namespace ns8 = "http://broadcast.telenor.com/tsi/common/pricecomponent_v2";
declare copy-namespaces preserve, inherit;
declare function xf:Get360ViewOfProductResponse($get360ViewOfProductResponse1 as element(ns5:Get360ViewOfProductResponse))
as element(ns6:Get360ViewOfProductResponse) {
<ns6:Get360ViewOfProductResponse>
<ResponseHeader>
<ns1:ResponseCode>0</ns1:ResponseCode>
<ns1:ResponseText>{ data($get360ViewOfProductResponse1/responseDescription) }</ns1:ResponseText>
</ResponseHeader>
</ns6:Get360ViewOfProductResponse>
declare variable $get360ViewOfProductResponse1 as element(ns5:Get360ViewOfProductResponse) external;
xf:Get360ViewOfProductResponse($get360ViewOfProductResponse1)
Maybe you are looking for
-
ISE 1.2 - Guest Services
Hi All, I'm planning to setup Cisco ISE - GNAC services and I want to know how the licenses work for this service. Will ISE count a license for each guest user connected? also I have another question regarding WAN latency between personas. What's the
-
i m using iphone 3g, dont have any credit card, want to download free games and software from itunes, how
-
JPG color / contrast issues
I am exporting from a RAW file to JPG. I then decided to export to TIFF and png to see what difference there would be. The only changes applied to the RAW were from within Aperature. I was expecting no big difference when viewing the image at the red
-
I'm getting error code 2330 when I try to update my itunes. I'm not able to update, repair or uninstall!!!!
-
Hello all, I am confused, because I do not understand, why memory benchmarks(for ex. Sisoft Sandra 2005) show only 3300 MB/s RAM bandwith and also 51% memory throughput efficiency! My hardware is: MSI 915Pneo2_platinum + P4Ghz - Prescott + 2x 512M