WSDL operation type possible in PI
Hi folks,
Normally a wsdl (webservice) can have multiple action types, for example a particuar service can be used to show distance between 2 points, validate addresses, etc etc,
ideally the wsdl will have in it a wsdl operation type indicating what the consumer of theservice needs out of the service,
But in PI i havn't come across something similar where in the wsdl generates an operation type..
Is it somethng possible in PI?
I don't want to use a field in the schema (Request type) indicating this intent...but instead create a wsdl operation ....
NO , you cannot create multiple opearations for a WSDL in PI.
You have to use External tool ( Altova XML SPY) to do that, then you can import the WSDL in XI to check it.
But you can't create mutilple operations except one request , one response and a fault message type.
REgards,
Anurag Garg
Similar Messages
-
Is it possible to return an operator-type from a function/decode ?
Hi ,
I have a query that is calling a decode and based on the operator type (i.e <> , >= , <= etc ..) that it returns to compare 2 fields of a table
is this possible and if so could anyone advise me how to ?
below is my current declaration that gives invalid relational operator error
SELECT 1 into TmpCnt FROM Tbl1a where
a.id = ID and a.part = PART and a.parmn = TESTNAME
and a.paval DECODE(TESTCONDITION , 'LT' , '<' ,
'LE' , '<=' ,
'EQ' , '=' ,
'GE' , '>=' ,
'GT' , '>' ,
'NE' , '<>' ) TPARAMVALUE ';
tks & rdgsYou can't replace an operator with an expression.
For a limited number of operators you may be able to code this explicitly, something like...
SELECT 1
FROM tbl1a
WHERE a.ID = ID
AND a.part = part
AND a.parmn = testname
AND DECODE (testcondition,
'LT', CASE WHEN a.paval <= tparamvalue THEN 'Y' END,
'LE', CASE WHEN a.paval = tparamvalue THEN 'Y' END,
'EQ', CASE WHEN a.paval >= tparamvalue THEN 'Y' END,
'GE', CASE WHEN a.paval >= tparamvalue THEN 'Y' END,
'GT', CASE WHEN a.paval > tparamvalue THEN 'Y' END,
'NE', CASE WHEN a.paval != tparamvalue THEN 'Y' END) = 'Y'Otherwise you are looking at Dynamic SQL. -
Container operation type single
hi all
I am facing a problem. i have a BPM which has a block step-->Propertie mode=ForEach. inside this block i define some container operation type single whichs ones take some values. i need that the values of the containers elements update for each message in the block(ForEach).is it possible or i need to define the contasiners as multiline??
T&R
Rodrigohi,
there no way to define it as single and update the value.
i need the those values to pass them as IMPORT to a Message Mapping. so the containers has to be singles.
if no, i have to define another step in the BPM to get the first value of the all multiline container operation??
thanks. -
Overflow during the arithmetical operation (type P) in program SAPLBBP_FRA
Hi All
I am receieving the following error the moment I log onto the SRM system via the browser.
Overflow during the arithmetical operation (type P) in program SAPLBBP_FRAMEWORK
Please can you advise what could possibly the problem.
Thanks in Advance
Regards
KCHi
<b>Please go through this SAP OSS Note which will definitely help -></b>
Note 857137 - MENUDATA: A "short dump" occurs with several role assignment
<u>Do let me know.</u>
Regards
- Atul -
How to use multiple WSDL operations in One BPEL process Recieve Activity ?
Is there anyway to attach multiple WSDL operations with a Single BPEL process ? How ?
Thanks Melvin for your quick respond.
When I create a BPEL process, It asks me to give the XSD as an Input. When I import the XSD it asks me to select an operation not more than one. Let suppose I select addRequest and finish the wizard.
Now what I can see, It create Recieve activity with an Input msg of Add operation. Well what I understand from your statement is that, I remove the recieve activity and put the Pick activity.
Now my question is How to mention the other operations like update and delete ? And how to test them ?? The link provided by you is just tell me what Pick activity can do for me, But its not telling me how to use it ?? and how the give the operation to it. Where should I need to change in the BPEL ??? -
Error while doing MIRO-Overflow for arithmetical operation (type P) in prog
Hi ,
I am getting the error while doing the MIRO as below-
Runtime Errors COMPUTE_BCD_OVERFLOW
Exception CX_SY_ARITHMETIC_OVERFLOW
Date and Time 20.05.2009 10:07:03
Short text
Overflow during the arithmetical operation (type P) in program "SAPLMRMC".
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLMRMC" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was not
caught in
procedure "MRM_AMOUNT_QUANTITY_PROPOSE" "(FUNCTION)", nor was it propagated by
a RAISING clause.
Since the caller of the procedure could not have anticipated that the
Please let me know how can this be removed.Hi,
There can be some problem with tolerances set in the customizing.
In my case, I was getting this error because of delivery date variance. The difference between delivery date maintained in PO and invoice date was huge and hence the multiplication of price of PO and difference of delivery date was huge and that was the reason for error.
Similarly in your case also, there will be some tolerance limit problem.
Please check your tolerance limits set in customizing.
Regards,
Mihir Popat -
Overflow for arithmetical operation (type P) in program.
Hi experts..
I had developed a report for showing total receipt and issues and confirmed issue.
of PQ.
For all the plant is running fine but only for one plant 2050 its going into dump and error is "Overflow for arithmetical operation (type P) in program." and the code line is
T_EKET-MNG02 = T_EKET-MNG02 * ( t_mdbs-umrez / t_mdbs-umren ).
MNG02 IS OF TYPE Data : "Quan", length =13 , decimal = 3.
initially : value in Mng02 is = 10 and ratio is 11/8 = 1.375
and in the debugging the value is 10*1.375 = 13.75
but... when i am executing it .. its going into dump and after again checking the MNG02 is showing valude --9765133613.881 and the above error.
what should i do....
please help..
i will award the points for every help...
thanksHi,
Are you doing any other calculation for field MNG02 in your program?
I created a small program with the field and values you have mentioned and it gave me the result 13.75 and no short dump.
Please check following things:
When short dump occurs, it shows at which line it has occured. Is it showing that the shortdump has occurs on the line you are talking about here or it is somewhere else.
Also, when shortdump occurs, it shows a "debugging" button at the top. Hit that button and it will show you exactly where the short dump has occured. What ever this statement is, check what are the values of different variables here.
Check all these and you might get the answer. Let me know if you still have problem.
Regards,
RS -
Overflow during the arithmetical operation (type P) in program "SAPLHRPT
Hi,
I am currently facing an issue in payroll posting to accounting in international payroll.A run time error "Overflow during the arithmetical operation (type P) in program "SAPLHRPT" occurs. By reducing the amounts on the balance sheet side payroll posting document is created.Hi Asad,
Does you guys enhancemented this program? I think if it`s standard code, it should give you a error message inform you "amount is too large" or something.
So double click this dump log, to check whether it is a custom code, if yes, to add "TRY CATCH" and give out a message.
regards,
Archer -
Overflow during the arithmetical operation (type P) in program "SAPLV61A
hi,
I am getting this error in VA01(sales order)
Runtime error Compute_bcd_overflow
Except Cx_sy_arithmetic_overflow.
Overflow during the arithmetical operation (type P) in program "SAPLV61A
Error in particular line is.
1388 ADD xkomv-kwert TO komp-mwsbp.
Please give me the solution with detail decsription.How to solve with step by step.Hi,
Instead of directly assigning the value to xkomv-kbetr. Store the value in a temporary variable of type p length 13 decimals 2 . Multiply by 10^n to get the correct result.
Then assign the temp value to xkomv-kbetr.
Sample Code
DATA : lv_temp TYPE P length 13 decimals 2.
lv_temp = ( xkwert * 10^n ) / komp-mgame.
Then assign lv_temp to xkomv-kbetr.
To get proper value, you have to multiply or divide by 10^n .
Regards,
DPM -
[SOLVED]wlan0 up - Operation not possible due to RF-kill
Hello everyone.
I've encountered trouble trying to activate my wlan0 interface and I was wishing that someone here might be able to help me.
$ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether
My attempt at trying to activate wlan0 renders the following;
$sudo ip link set wlan0 up
RTNETLINK answers: Operation not possible due to RF-kill
Unblocking everything with RF-Kill does not seem to change much in particular:
$rfkill list all
0: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: yes
$sudo rfkill unblock all
$rfkill list all
0: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
Enabling/Disabling the wifi-button on my keyboard only changes the Hard Blocked-parameter of hp-wifi. The Soft block remains unchanged regardless of me trying to unblock all with rfkill.
The following is the output of dmesg | grep phy0
$ dmesg | grep phy0
[ 7.460715] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[ 7.465387] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5390 detected
[ 7.500363] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
dmesg | grep hp-wifi renders nothing.
Additional Information:
$uname -r
3.12.2-1-ARCH
Entire output of lsmod
Module Size Used by
hid_generic 1161 0
usbhid 40577 0
hid 90678 2 hid_generic,usbhid
arc4 2008 2
rt2800pci 11055 0
rt2800lib 74595 1 rt2800pci
rt2x00pci 2664 1 rt2800pci
rt2x00mmio 2945 1 rt2800pci
rt2x00lib 37807 4 rt2x00pci,rt2800lib,rt2800pci,rt2x00mmio
joydev 9671 0
eeprom_93cx6 2193 1 rt2800pci
mac80211 466554 3 rt2x00lib,rt2x00pci,rt2800lib
cfg80211 412854 2 mac80211,rt2x00lib
uvcvideo 72900 0
kvm_amd 52575 0
videobuf2_vmalloc 3280 1 uvcvideo
videobuf2_memops 2343 1 videobuf2_vmalloc
videobuf2_core 28027 1 uvcvideo
kvm 389125 1 kvm_amd
videodev 111140 2 uvcvideo,videobuf2_core
hp_wmi 7627 0
media 11751 2 uvcvideo,videodev
radeon 1284675 6
sparse_keymap 3154 1 hp_wmi
crc_ccitt 1371 1 rt2800lib
rfkill 15651 2 cfg80211,hp_wmi
r8169 58399 0
microcode 15216 0
evdev 10989 13
mii 4035 1 r8169
pcspkr 2035 0
k10temp 3058 0
psmouse 85428 0
ttm 63411 1 radeon
serio_raw 5049 0
rtsx_pci_ms 7266 0
drm_kms_helper 36286 1 radeon
memstick 7472 1 rtsx_pci_ms
drm 238206 8 ttm,drm_kms_helper,radeon
sp5100_tco 5824 0
thermal 8532 0
battery 6837 0
wmi 8419 1 hp_wmi
i2c_piix4 10592 0
snd_hda_codec_realtek 40772 1
i2c_algo_bit 5399 1 radeon
i2c_core 24164 6 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon,videodev
ac 3332 0
acpi_cpufreq 10779 0
video 11228 0
snd_hda_intel 36904 0
shpchp 25465 0
button 4677 0
snd_hda_codec 149633 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 6340 1 snd_hda_codec
snd_pcm 77709 2 snd_hda_codec,snd_hda_intel
snd_page_alloc 7242 2 snd_pcm,snd_hda_intel
snd_timer 18726 1 snd_pcm
snd 59173 6 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore 5450 1 snd
processor 24935 3 acpi_cpufreq
ext4 474187 4
crc16 1367 1 ext4
mbcache 6082 1 ext4
jbd2 83504 1 ext4
sr_mod 14898 0
cdrom 34848 1 sr_mod
sd_mod 30789 6
rtsx_pci_sdmmc 14332 0
mmc_core 95691 1 rtsx_pci_sdmmc
ahci 22896 5
libahci 21401 1 ahci
rtsx_pci 32049 2 rtsx_pci_ms,rtsx_pci_sdmmc
libata 170792 2 ahci,libahci
ehci_pci 4000 0
ohci_pci 4072 0
ohci_hcd 23937 1 ohci_pci
ehci_hcd 59220 1 ehci_pci
usbcore 180136 6 uvcvideo,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid
scsi_mod 130669 3 libata,sd_mod,sr_mod
usb_common 1656 1 usbcore
Entire output of lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6320]
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.1 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1)
00:15.3 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB900 PCI to PCI bridge (PCIE port 3)
00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
07:00.0 Network controller: Ralink corp. RT5390 Wireless 802.11n 1T/1R PCIe
It is worth mentioning that this problem has remained persistent throughout multiple linux distributions that I've tried on my laptop. The Wifi works fine in Windows 7 but as soon as I switch to any linux distro it stops working.
I intend to put your advice to good use so any help would be very appreciated.
Last edited by FunkDojo (2013-12-05 13:02:45)As I can see you have two wireless interaces, when i see only phy0 with rfkill, it's maybe your hp-wifi that force to disable phy0 interace. I think if you blacklist the driver it might allow phy0 to be enabled.
Please download and install lshw available in the community repo and enter in a terminal :
$ lshw -c network
Last edited by maxarsys (2013-12-05 06:26:05) -
Unsupported Relational Operator Types and DB2e 9.1
Hello,
we are using MAM3.0SR3 and adapt this application. So during SP20 installtion we had to swtich to DB2e 9.1 (Prerequisit). However, know it seams the relational operator type LIKE doesn't work anymore. I also tested similar relational operator types which also don't work anymore:
RelationalOperatorType.LIKE_INSENSITIVE (wildcard "*")
RelationalOperatorType.LIKE (wildcard "*")
RelationalOperatorType.SQL_LIKE (wildcard "*")
RelationalOperatorType.IN
All the mentioned operator types producing NullPointerExceptions. I used DB2e 8.2.4 before and there LIKE was working fine (the others I didn't test with DB2e 8.x.x). Now I use CONTAINS.
There exists STARTS_WITH too, but for "ENDS_WITH" is now replacement available (which could realized with LIKE before).
Know anybody of you a SAP note or document, where these restriction are described? And what about ENDS_WITH?
Thanks in advance
Andreas DommesHi Andreas,
have a look here - hopefully that helps:
http://publib.boulder.ibm.com/infocenter/db2e/v9r1f1/index.jsp?topic=/com.ibm.db2e.doc/adg/dbeapr1112.htm
Furthermore if the DB is not active - have you tried to deploy it manually?
Regards,
Oliver
Message was edited by: Oliver - sorry, first reply was just wrong.
Oliver Kaluscha
Message was edited by:
Oliver Kaluscha -
Extract WSDL operations and their parameters types
Hello,
I am working in a project and I need to extract information about the operations and their parameters types from a WSDL file
could you please give me some code example on how to do that
Thanks,
labiBy looking into WSDL4J I could not find how to handle the xml schema elements
do you have any idea how can I get the complex data types information
Thanks,
labi -
Change the flow of the BPEL service based on WSDL operation
Hi,
I have a wsdl which has three types on operations:
1) SOAP
2) HTTP GET
3) HTTP POST
I have a BPEL process in which the flow need to be decided on basis of operation of the incoming message... i.e; If it is a SOAP then I should execute a particular flow .. similarly if it is HTTP GET or POST I need to perform different activities flows respectiviely.
1) At the BPEL side can I implement this using PICK activity with different branches for different operations in Receive activity ?? If not, Please let me know any other alternative ...
2) Since I have three different types of Protocols of operations (SOAP, HTTP GET, HTTP POST), how do I give input to BPEL through the same partnerlink ?? Should I use three partner links to invoke a bpel process (at Exposed Services side) to receive input from (two HTTP Adapters for GET, POST and one for SOAP operation) ?
Thanks
Edited by: bpeltechie on Jul 2, 2012 4:01 PMHi,
Can you make one thing clear please - Your bpel process by definition has 3 operations to start with, or you want to call a WS with 3 operations?
See more information on using SOAP header here: http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_manipdoc.htm#CIHFCBAD
If you need to call a WS with 3 operations, you have to use an invoke activity(x3). Meaning, you can:
1. Seperate your process into 3, according to the needed operation. Each process will execute one operation.
2. Use some logic and call the same partner link 3 times(3 invokes), each time with a different operation.
A pick activity will help you when you want to receive one message or more, and/or you want to have time limitation on the receive.
For understanding the pick activity - in your example, let's say the WS you are calling is a bpel process. Then, it will start with a pick activity, and according to the operation, it will execute the right flow.
Arik -
How to ignore extra WSDL operation when using JAX-WS?
Hello,
I'm migrating from Apache Axis2 to JAX-WS and i'm having the following issue:
I have a large WSDL file of size = 140 KB, however my client application invokes only 2 operations, so i removed all the other operations from the WSDL.
I successfully generated the stubs using "*wsimport* on the trimmed WSDL, and i put the original WSDL location in the +Service+ constructor:
MyService stub = new MyService(new URL(<original WSDL location>), new QName(<package>, <MyServiceName>));
when i ran the client, i got the following exception:
The Endpoint validation failed to validate due to the following errors: :: Invalid Endpoint Interface :: :: The operation names in the WSDL portType do not match the method names in the SEI or Web service implementation class.
Because of that, i got the original WSDL again, run *wsimport" on it, but it fails this time, with this error:
[ERROR] undefined simple or complex type 'soapenc:Array'
line 1086 of file:/root/DecisionControllerWS.wsdl
Googling the error, JAX-WS doesn't support RPC/Encoding.
So i'm stuck here, can't work with the trimmed WSD, can't generate the stubs with the full WSDL!
Any advise? thanks in advance.I'm not a WSDL guru, but it seems that the location of the web service implementation is defaulted to the local host in the WSDL:
<port binding="s0:DecisionControllerWSSoapBinding" name="DecisionControllerWS">
<s1:address location="http://localhost:7001/rtds/webservices-adapter/DecisionControllerWS"/>
</port>
That's why i put the original WSDL location when i created the service, to point to the web service implementation, Was i wrong? because i found a property which can achieve that for me:
javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY
What if i edited the address location in the trimmed WSDL to point to the implementation, and used the default Service constructor to point to the local trimmed WSD file? -
Mutliple wsdl operations for a port in BPEL Project -- Help
I was trying to create a BPEL project with multiple operations for one port type. I used a pick activity and on message acitivity to branch out based on the operation. For some reason all the operations are channeled through the same branch (operation). Please share with me your experiences and any simple project.
-----------------wsdl file -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="MultiWsdl"
targetNamespace="http://xmlns.oracle.com/MultiWsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:client="http://xmlns.oracle.com/MultiWsdl"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TYPE DEFINITION - List of services participating in this BPEL process
The default output of the BPEL designer uses strings as input and
output to the BPEL Process. But you can define or import any XML
Schema type and use them as part of the message types.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xmlns.oracle.com/MultiWsdl" schemaLocation="MultiWsdl.xsd" />
</schema>
</types>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MESSAGE TYPE DEFINITION - Definition of the message types used as
part of the port type defintions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<message name="MultiWsdlRequestMessage">
<part name="payload" element="client:MultiWsdlProcessRequest"/>
</message>
<message name="MultiWsdlResponseMessage">
<part name="payload" element="client:MultiWsdlProcessResponse"/>
</message>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PORT TYPE DEFINITION - A port type groups a set of operations into
a logical service unit.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
*<!-- portType implemented by the MultiWsdl BPEL process -->
*<portType name="MultiWsdl">
*<operation name="Create">
*<input message="client:MultiWsdlRequestMessage"/>
*<output message="client:MultiWsdlResponseMessage"/>
*</operation>
*<operation name="Update">
*<input message="client:MultiWsdlRequestMessage"/>
*<output message="client:MultiWsdlResponseMessage"/>
*</operation>
*</portType>
<!-- portType implemented by the requester of MultiWsdl BPEL process
for asynchronous callback purposes
-->
<portType name="MultiWsdlCallback">
<operation name="TestReply">
<input message="client:MultiWsdlResponseMessage"/>
</operation>
</portType>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PARTNER LINK TYPE DEFINITION
the MultiWsdl partnerLinkType binds the provider and
requester portType into an asynchronous conversation.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<plnk:partnerLinkType name="MultiWsdl">
<plnk:role name="MultiWsdlProvider">
<plnk:portType name="client:MultiWsdl"/>
</plnk:role>
<plnk:role name="MultiWsdlRequester">
<plnk:portType name="client:MultiWsdlCallback"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>
---------------- Bpel File ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version = "1.0" encoding = "UTF-8" ?>
<!--
Oracle JDeveloper BPEL Designer
Created: Thu Nov 06 21:46:50 PST 2008
Author:
Purpose: Asynchronous BPEL Process
-->
<process name="MultiWsdl" targetNamespace="http://xmlns.oracle.com/MultiWsdl"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:client="http://xmlns.oracle.com/MultiWsdl"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
<!--
PARTNERLINKS
List of services participating in this BPEL process
-->
<partnerLinks>
<!--
The 'client' role represents the requester of this service. It is
used for callback. The location and correlation information associated
with the client role are automatically set using WS-Addressing.
-->
<partnerLink name="client" partnerLinkType="client:MultiWsdl"
myRole="MultiWsdlProvider"
partnerRole="MultiWsdlRequester"/>
</partnerLinks>
<!--
VARIABLES
List of messages and XML documents used within this BPEL process
-->
<variables>
<!-- Reference to the message passed as input during initiation -->
<variable name="inputVariable"
messageType="client:MultiWsdlRequestMessage"/>
<!-- Reference to the message that will be sent back to the requester during callback -->
<variable name="outputVariable"
messageType="client:MultiWsdlResponseMessage"/>
<variable name="OnMessage_TestReq_InputVariable"
messageType="client:MultiWsdlRequestMessage"/>
<variable name="OnMessage_TestReq_InputVariable_1"
messageType="client:MultiWsdlRequestMessage"/>
<variable name="Reply_2_TestReq_OutputVariable"
messageType="client:MultiWsdlResponseMessage"/>
<variable name="Reply_1_TestReq_OutputVariable"
messageType="client:MultiWsdlResponseMessage"/>
</variables>
<!--
ORCHESTRATION LOGIC
Set of activities coordinating the flow of messages across the
services integrated within this business process
-->
<sequence name="main">
<!-- Receive input from requestor. (Note: This maps to operation defined in MultiWsdl.wsdl) -->
<!--
Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
-->
<pick name="Pick_1" createInstance="yes">
<onMessage portType="client:MultiWsdl" operation="Update"
variable="OnMessage_TestReq_InputVariable_1"
partnerLink="client">
<sequence name="Sequence_1">
<assign name="Assign_1">
<copy>
<from expression="'test'"/>
<to variable="Reply_1_TestReq_OutputVariable"
part="payload"
query="/client:MultiWsdlProcessResponse/client:result"/>
</copy>
</assign>
<reply name="Reply_2" partnerLink="client"
portType="client:MultiWsdl" operation="Update"
variable="Reply_1_TestReq_OutputVariable"/>
</sequence>
</onMessage>
<onMessage portType="client:MultiWsdl" operation="Create"
variable="OnMessage_TestReq_InputVariable"
partnerLink="client">
<sequence name="Sequence_2">
<assign name="Assign_2">
<copy>
<from expression='"AB"'/>
<to variable="Reply_2_TestReq_OutputVariable"
part="payload"
query="/client:MultiWsdlProcessResponse/client:result"/>
</copy>
</assign>
<reply name="Reply_1" partnerLink="client"
portType="client:MultiWsdl" operation="Create"
variable="Reply_2_TestReq_OutputVariable"/>
</sequence>
</onMessage>
</pick>
</sequence>
</process>
----------xsd -------
<schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://xmlns.oracle.com/MultiWsdl"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="MultiWsdlProcessRequest">
<complexType>
<sequence>
<element name="input" type="string"/>
</sequence>
</complexType>
</element>
<element name="MultiWsdlProcessResponse">
<complexType>
<sequence>
<element name="result" type="string"/>
</sequence>
</complexType>
</element>
</schema>
-----------------------------------------------------------------------------------------------------bpel.xml--------------------------------------------------
<?xml version = '1.0' encoding = 'UTF-8'?>
<BPELSuitcase>
<BPELProcess id="MultiWsdl" src="MultiWsdl.bpel">
<partnerLinkBindings>
<partnerLinkBinding name="client">
<property name="wsdlLocation">MultiWsdl.wsdl</property>
</partnerLinkBinding>
</partnerLinkBindings>
</BPELProcess>
</BPELSuitcase>Thanks a lot. It helped me a lot. It seems this is the problem with the BPEL Console. I tried to create another BPEL Project to invoke the other service/operations. It worked perfectly fine. I had even tested with SoapUI. It worked fine. Thanks for the right pointer.
Maybe you are looking for
-
I back a DataGrid with an ArrayCollection of Item(s). So if the array has 1 item and you click on the second row of the DataGrid I need to add an item to the list to back that row also. How can I tell what row they click on?
-
Hi All I want to increase the standard pop up size ( eg. if you go to mm03 and clcik the box at right side it brings you search where you get pop up after search ) can we increase the size if so where should we change for that . I appreciate all you
-
CRM 2015 Disable System User is not firing a plugin
Hi, I have a plugin registered on both SetState and SetStateDynamic on systemuser Entity that needs to be fired when the user is disabled from the office365 portal. The problem is that the plugin is not fired when the user is disabled? Is there anywa
-
How to align Flash web to center using Flash CS3?
Hi, anyone have the same issue as me? I wanted to align my flash web to center on the IE. I have selected the alignment to center before publish on the web? Why is the command not useful or working? Please advice!
-
Flash Remoting not working from browser
Quick Problem: I have a movie that connects and displays the data fine when run by testing the movie from within flash its fine however as soon as i try to run it from the html or by IIS link to the swf, or even by browsing to the swf via file manage