PI 7.0 - Contract First

Hi All,
Is it possible to use Contract First in PI 7.0?
Regards,
Marcelo

Hi Marcelo,
Yes, Contract First is a SOA community term which corresponds to the Outside in development approach in SAP Netweaver. If I'm not mistaken it can be done in PI 7.0.
Regards,
Erwin

Similar Messages

  • Java tools or toolkit for Contract-first Web services development

    hi,
    I have just started on Web Services and during my internship I was encouraged to develop Contract-First web services inspite of the fact that the Java implementation is available in place. I was trying to search internet for any tools that have the facility to generate the WSDL given the XML schema in Java, but in vain.
    So I have come here to the place of Java experts to guide me if there are any such tools for generation of WSDL from the xsd schema.
    PS: I cannot use Code-first even though the Java implementation is already available to me even though it is more wide-spread and has tools available.
    Edited by: JavaWS_newbie on Jun 4, 2008 9:46 AM

    hi,
    I have just started on Web Services and during my internship I was encouraged to develop Contract-First web services inspite of the fact that the Java implementation is available in place. I was trying to search internet for any tools that have the facility to generate the WSDL given the XML schema in Java, but in vain.
    So I have come here to the place of Java experts to guide me if there are any such tools for generation of WSDL from the xsd schema.
    PS: I cannot use Code-first even though the Java implementation is already available to me even though it is more wide-spread and has tools available.
    Edited by: JavaWS_newbie on Jun 4, 2008 9:46 AM

  • Contract-first : WSDL vs Java interface

    Hello,
    I am starting to work with web Service.
    Many blogs and articles suggest to write WebServices contract from a WSDL.
    I am a java Programmer. I totally agree with the contract-first and the data-driven communication concept.
    Here is my question: why use WSDL when you can convert any Java Interface and Bean into a WebServices?
    If a tool gives you the possibility to move from xml to java (and vice-versa), why not stay with a java interface?
    What are the pitfalls of using this technique (other than being too easy to change the contract)?

    The main reason why you would want to write WSDL first is to be able to create a more verbose XML schema. For instance, if you take a raw Java interface or class and convert from Java to WSDL/XSD everything ends up being optional because the converters have no idea what is supposed to be required versus what isn't as well as field length restrictions etc. Some of the newer tools may allow you to do this with annotations but I haven't really looked into this.
    Writing the XML schema first allows you to offload more work on the XML parser at run time because it can do the schema validation for you instead of you having to manually perform this. This also allows someone writing their own client to consume the WSDL and be able to generate a client that will do more work than one based off of Java classes (e.g. someone creating a .NET client can let the XML parser do some heavy lifting during the marshalling process before ever sending the request to your web service).

  • JAX-WS contract first solution help needed

    Hi,
    I am trying to create a bunch of web services using jax-ws which I will deploy on Jboss. I would like to create xml schemas and wsdl files before I create my solution because I want a clearer contract betweent client and server that is not defined by the server code.
    I have managed to create an xml schema and generated the message files. I also created a wsdl file and implemented a service endpoint which refers to the wsdl file.
    My problem now is that I cannot seem to get the mapping (marshalling) to the Java objects to work correctly. When I create a simple client that calls the service defined in the wsdl file I have managed to get the request to map to the webmethod in my endpoint. But I cannot seem to figure out how to get my message validated against the schema, which means that I can call the method with any type of request without getting an error message. This is also true for the return object. The solution doesn't seem to care whether I return a string or the object defined in the wsdl file.
    I created my solution as a "regular" jar which I deploy on Jboss.
    @Stateless
    @WebService(name = "Test", portName = "TestPort", targetNamespace = "http://www.company.com/test-service/", wsdlLocation = "META-INF/wsdl/test-service.wsdl")
    @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
    public class TestBean {
         @WebMethod(operationName = "PerformOperation")
         public Response newOperation(Request request) {
              return response;
    }Could you give me some tips and advice to help me finish my solution. It would also good if anyone could tell me how to turn message validation on.
    Regards,
    Leo

    Hi Nico,
    In multithreading, all the threads are independent. Here the threads miao and bau are independent.
    There is no guarantee which thread executes first. In your program for miao you explisitly called sleep and hence bau thread executed.
    Explanation:
    ========
    When you start both the threads miao and bau both are in runnable start. Only one thread can go to running. Lets consider miao goes to running state. Because you called sleep miao goes to sleeping and bau goes to running state and once the sleep completed for miao it goes to runnable state and as bau is in running and once bau completes miao again goes to running state and then it also completes.
    Thanks & Regards,
    Murali.
    ===========

  • Error in modifying Schedule Agreement with reference to contract

    I have created a Schedule Agreement with reference to a contract manually.The contract is of type MK, while the SA is of type LP.
    The contract contains one Material which was successfully added to the SA.
    Now I am trying to automate the same using BAPI BAPI_SAG_CHANGE. This causes a short dump in the system -
    Runtime Errors       MOVE_CAST_ERROR
    Exception              CX_SY_MOVE_CAST_ERROR
    Short text              Dynamic type conflict when assigning references
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_MOVE_CAST_ERROR', was not caught in procedure "GET_CREQS" "(METHOD)", nor was it propagated by a RAISING clause. Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated. The reason for the exception is: It was tried to assign a reference to a rereference variable using the
        'CAST' operation ('?=' or 'MOVE ?TO'). However, the current content of the source variable does not fit into the target variable.
        source type: "\FUNCTION-POOL=MEOUT \CLASS=LCL_OUT_ITEM_SA"
        target type: "\FUNCTION-POOL=MEOUT\CLASS=LCL_OUT_ITEM_CON"
    Information on where terminated:
        Termination occurred in the ABAP program "SAPLMEOUT" - in "GET_CREQS". The main program was "RS_TESTFRAME_CALL". In the source code you have the termination point in line 105 of the (Include) program "LMEOUTP2F". The termination is caused because exception "CX_SY_MOVE_CAST_ERROR" occurred in procedure "GET_CREQS" "(METHOD)", but it was neither handled locally nor declared in the RAISING clause of its signature. The procedure is in program "SAPLMEOUT "; its source code begins in line 101 of the (Include program "LMEOUTP2F ".
    The following data was populated before calling the BAPI:(along with itemx table also)
    item-item_no
    item-agreement
    item-agmt_item
    The entire logic consists of updating the contract first with a new line item and then adding a line item in SA with reference to the new item in the contract.
    The contract updation is working correctly [BAPI_CONTRACT_CHANGE].

    Hi Bahrat,
    I am also facing the same issue now. Is this issue resolved for you?
    Please send the threads if any.
    Can anyone plz respond for the issue?

  • Assign Source of supply is not working for contract with material group

    Dear Experts,
    I have searched all the threads and gone through before posting my query. So i would ask moderators to go through the thread properly before rejecting this.
    We have value contracts with respect to a particular material group without material and with item category W in the contract item, Please note that for the materials with this material group, the source determination is not set and source list is also not maintained.
    When we create PR for the material with this contract, and when we click on assign source of supply contracts used to get popped up, but recently from few days, when we click on assign source of supply we are getting an error " no source found for this item ".
    Can anybody help on this.
    Regards

    @ Biju,
    As mentioned earlier, we are not creating PR with reference to contract.
    first we are creating contract with item category W (material group), without material and plant details.
    we create PR with or without material with account assignment K and with the material group in the transaction ME51N, and after inputting all the fields, we click on assign source of supply, it was proposing the existing contracts with respect to material group earlier, but it is not happening for particular material group(it is working for all other material groups)
    Hope it is clear.
    @ Dev Patra,
    we are using DIEN-Service material types and we assign that particular material group to only service material type.
    we have not ticked, source list in the material master, we donot have any source list for the materials under that material group.( please check the note 457110- question number 14.)
    Regards

  • Synchronising contract data in R3 AND CRM

    Hi All ,
    Greetings for the day!!
    I had appended a new field in contract (VBAP-ZZFIELD) in R3.This contract first get created in CRM and gets copied in R3.
    Whatever changes i make to new field in R3 must gets copied to same contract in  CRM & vice versa.
    I think that this can be done via BDOCS or RFC.  or any other ways?? ...I absolutely have no idea on this how to do this !!
    Could anyone please help me on this.
    Thanks in advance.
    Regards
    Manoj

    Hi Abhinav,
    There are multiple ways to do this. If you want to stop the overall middleware flow, you can do it in MW_MODE transction code. If you want to stop the flow for a particular system, you can do that in SMQS transaction.
    Regards,
    Karthi M R.

  • IPHONE 6 PLUS 128GB EDGE VS 2YR CONTRACT PRICE COMPARISON CHART

    iPhone 6 Plus Edge vs 2yr Contract
    First 6 Months
    Categories
    Edge
    2yr Contract
    Line
    $180.00
    $480.00
    Cost
    $569.88
    $499.99
    Tax
    $66.50
    $34.50
    Activation Fee
    $-
    $35.00
    Estimated Selling Price
    $-
    $(550.00)
    Total cost 1st 12 Months
    $816.38
    $499.49
    12 Months Later With Upgrade
    Line
    $180.00
    $480.00
    Cost of New Phone
    $569.88
    $949.99
    Tax
    $66.50
    $66.50
    Activation Fee
    $-
    $35.00
    24 Months Later
    Total Cost
    $1,632.76
    $2,030.98
    Estimated Selling Price
    $(550.00)
    $(550.00)
    Remaining Balance
    $380.11
    $-
    Total Cost Out Of Contract
    $1,462.87
    $1,480.98
    MORE DETAILED FILE CAN BE SEEN BELOW WITH NOTES EXPLAINING CELLS, TO VIEW CELL COMMENTS PLEASE DOWNLOAD.
    Iphone 6 Plus Cost.xlsx - Box
    DO YOU GUYS THINK THIS IS ACCURATE, ANYTHING I MISSED? WHICH PLAN DO YOU THIN I SHOULD GO FOR? AFTER IM DONE I STILL HAVE AN EDGE CONTRACT SINCE IT WAS RENEWED AT 12 MONTHS? RIGHT? PLEASE HELP IN DECISION!

    Edge is no contract at all. Just a payment arrangement

  • Service contract configuration & complete steps....

    Hi Gurus.....
    Pls give me  complete steps to follow for the configuration of Service contract and Value contrct....
    Thanks in advance,
    -baskar

    hi Bhaskar
    If u want to create new document types for service and value contracts.. Copy SC-service contract and WK1-Value Contract and WK2--Material -relevant value contract.. and define with Z letter..
    Or if u want to create service contract or value contract with ur new created document types .. go to
    T-code-va41 and enter document type-- for service contract enter SC
    For Value Contract
    First u have to create assortment module..
    in that u have enter all the material that u want to give to customer ... For each material value and material name.
    For creating Assortment Module --- sap easy accessmenu
    Log--sales and distribution- Master dataproductsvalue contractAssortment Moduleor T-code--WSV2
    After Creating assortment Module .. now create value contract in t code--va41 and then insert Assortment Module number in line item and enter material...  and save it and after Create sales order with reference to Value Contract it will automatically takes into another screen there u have to enter material and quantity..
    This is for Value Contract..
    Another one is WK2--Materia-value contract.
    same as above only but here u can create for particular material..
    In Serivce Contract means u r giving service for some materials for some time..
    if any doubts reply me...

  • Price error in contract

    Hi Experts,
    Now I met with such price issue in contract:
    First I created sales oder referenced by this conract, then because of the business reason, I cancelled one item line using reason fo rejection in sales order. After that I tried to cancel the item line using reason fo rejection in contract, however the total price in contract will not be recalculated. It will cause the incorrect price.
    I want to know whether this is the standard SAP? How can I fix such issue?
    Hope anyone can give me some advice.
    Thanks in advance.
    Best regards,
    Chris Gu

    Hi,
    Thanks for your quick response.
    Because this is my customer's business process. All the contracts should get approval by interface.  So it must keep the correct price for approval.
    Can you do one demo according to my description about the issue?
    The process is in the following:
    1. create contract
    2. create sales order referenced by contract
    3. make reason for rejection for one item in sales order and save
    4. then go to contract, make reason for rejection for the same item in contract.
      At last, you will see that the total price will not be changed, so the price becomes incorrect  as I have rejected one item.
    Thanks a lot.
    Any idea is welcomed.
    Best regards,
    Chris Gu

  • Update info-record from contract

    Hi there,
    I created a contract with info update indicator set to A. When i created the contract the inforecord did not exist, i think with these settings the inforecord should really get upated when i change the price conditions in contract.
    Any help appreciated,
    Cheers,
    Olivier

    Price will not change in the info record
    when you create contract first time that time info record will be created but info record pricing will not update
    that you have to maintian manually.

  • Terrible Customer Support and now I have to pay for their mistakes

    A friend told me about a promo plan she was on, it was the 20 off data plan.  So I got interested and called in to get some information about it.  I ended up signing up for the plan around Jan. 27th.  I then noticed that the iphone 4 was available for pre-order on the 3rd.  I ordered it and received it on the 7th.  Called Verizon on the 8th and let them know I received a defective phone.  I was told several things by different reps about how this was going to be replaced.  First they told me if I gave them another 326 dollars, they could get one shipped out the same day.  Then after my call dropped I called back in, I was told that if I gave them another 326 dollars, they could get one shipped out on the 10th.  I agreed and gave them my cc info.  Since I did not have a working phone they put my account in suspension so I wouldn't be charged for service that I couldn't use.  I guess there were problems with the fact that my account was in suspension, so they tried to call me on my iphone 4 number that was never activated and didn't work, even though my ATT number was in the notes and on my account.  So the 10th came around and I called in to see why I didn't have a phone.  They told me about the problem and assured me that I would receive a working iphone on the 18th, once again I did not receive a phone.  Called in and I was told that they again made some mistakes and I would have a phone on the 23rd.  Well guess what? No phone came on the 23rd.  I finally received a phone on March 1st.  Guess what?  If I talked for over 5 minutes, this phone got so hot that it was uncomfortable to hold.  On top of all of this they could not get my voicemail to work.  
    At this point they still have not refunded me for my first defective phone that I had sent back a month ago.  All of the refunds that I was promised for service that I could not use were not applied.  I have spent about 6-8 hours on the phone with this company trying to get a working phone.  After having the second defective phone for 9 days and this nightmare I was in, I told them that I could not allocate anymore of my time trying to get them to do their jobs correctly.  I wanted to return this second defective phone and I would be going back to ATT.  They told me that I owned the phone now and I would have to pay the 350 dollar ETF.  I laughed because it took them 21 days to get me another defective phone after I received my first defective phone.  They kept making mistakes to force me outside the 14 day return window, not me.  At this point its just laughable.  I happened to be at an apple store picking up one of the new macbook pro's and I told them about my phone that could be used to start campfires.  They ran some test's on it and replaced it on the spot.  Keep in mind that at this time I was in a Verizon area and my voicemail still would not work.  I got home and called them about it and my house is located in an extended area.  They told me that I would have to go back to a Verizon area to setup my voicemail.  So off I went.  2 hours of driving and I got the same message.  I then went back to said apple store to see if they could help me out since I have wasted so much time and gas money because of the incompetence of Verizon employee's .  Apple offered to call Verizon and get this straightened out.  They spent over an hour with them and they still could not get my visual voicemail to work.  They tell me that they are going to start a trouble ticket with the engineers and I would be receiving txt messages and calls throughout the day as they work on it.  So I go back home and get a call back from someone I spoke to the day before that told me that I needed to be in a Verizon area to get my voicemail to work.  After apologizing and telling me they couldn't let me return my phone or let me out of my contract for all the troubles I have.  Keep in mind that I still do not have voicemail.  He did however tell me that he would take care of my gas bill that was over 100 dollars for the 240 mile round trip.  I faxed in the gas receipts but still have not got compensated for that and I'm not holding my breathe.  This same person also said that the warehouse was having problems with the returns and thats why I haven't received my refund for the first defective phone but that I would be receiving the refund for it today.  Still haven't got that...
    So a couple days go by and I call in again to see if I can get my visual voicemail working because I never received a txt or phone call about it.  The first person in tech support told me that it shouldn't matter that I'm in an extended network and that it works off of the data side.  So he can't get it working and transfer's me to higher level tech support.  This clown tells me that visual voicemail does not work through the data side and would only work in a Verizon area.  He checks my account and there was no record of a trouble ticket from the other day.  Which is not surprising, so he starts another trouble ticket and about 1 hour later I finally have working visual voicemail in my extended network. It only works when I'm on my WIFI. So the next day I leave my house and notice that my data is no longer working.  Well I call in again for the 300th time,  I get no help but they offer to send another phone.  It's amazing that my data stops working the day that they do stuff to my account to get my voicemail working.
    I have about $650 dollars invested in getting 1 working iphone 4.  My first bill was about 236 dollars for 13 days of service that I actually used.  Man what a great experience this has been.
    Verizon take this phone back that you cannot get to work and refund my money please.  
    or cancel my service and waive the ETF so I can go back to ATT.  I shouldn't have to pay for your employee's mistakes.
    I DON'T HAVE THE TIME TO CALL IN EVERY DAY TO GET A WORKING PHONE.  I IMAGINE I HAVE SPENT OVER 8 HOURS CALLING YOU GUYS TO GET A WORKING PHONE.  IS THIS NORMAL FOR VERIZON CUSTOMERS?  I THOUGHT ATT WAS BAD ABOUT TELLING YOU ONE THING AND DOING ANOTHER BUT THIS IS JUST UNACCEPTABLE!  I NEVER THOUGHT I WOULD SAY THIS BUT I REALLY MISS ATT!

    First, you should be aware that for the most part, posting on here you are not talking to Verizon. This is a user forum and occassionally you get employees that post in response to threads. But in this case, if they do respond they will tell you to respond to a private message they send you with some information so they can further help you on the phone.
    There are a few things odd about your situation, but hopefully they are things that can be resolved. Were you aware prior to opening a VZ account that you were not truly in a VZ area? I'm not sure about the voicemail thing not working if you are not in the VZ area, but unless you don't spend much time in your area I think that alone would detour me from wanting service with a company that I can't use some features because I don't have true service where I would use it most. To get clear info on this you should ask that detailed infor be sent to you in writing telling you of the inability to receive certain features in your home area.
    As far as a rep telling you that you would be reimbursed for the gas you used...I have never heard of them doing this regardless of how far you had to drive, but hopefully if you were told this it will be resolved.
    As far as them telling you that you own the phone...if you truly want to cancel service and you have proof that the reason you did not have 14 days to return the phone was because it took them 21 days to send you a replacement then you should honestly have no trouble getting this taken care of. Escalate the issue. On the otherhand, I think it's odd that they told you they wouldn't send you another phone until you paid again...maybe this is a new thing because of the iPhone but usually they will ship you a replacement with instructions for how to return the defective phone. If that phone is not received within 10 days (I think) they charge you the full retail price of the device. Again, they may have changed this for the iPhone.
    Your bill for $236 for 13 days of service...a little curious how that is possible. What exactly were you charged for (perhaps it is a prorated bill for the 13 days and then the next full month in advance....which is not so odd when opening a new account)? Without knowing what plan you have in the first place it's hard to tell if this is an odd bill or just the pains of a first bill. I would have to think it is for far more than just 13 days of use.
    I get that you don't want to or don't feel like you have the time to have to get this straightened out, but unless that amount of money means little to you I would think one way or another I would find the time to get this resolved once and for all. You may not like this part, but if you weren't really aware of how VZ worked in your area before switching to them then I would wonder why you didn't do a little more detailed research before making the decision to switch and knowing the choice would have to stick for 2 years unless you paid an ETF.
    Finally, as far as the phone working or not working...you said that Apple gave you a working phone. You also said that the voicemail was finally resolved. Currently, the issue appears to be with data. Are you sure that it's the phone that has the problem? Or is it the service in your area? You need to be very sure that your area, being that it is NOT a VZ area truly does not have a high instance of issues for certain features. Data would fall under one of those features that may or may not work if you are not in one of their areas I would think. If it is the phone, and everything else combined is completely correct and easy to prove then you can try escalating the issue with VZ once more. If all else fails, you can probably file a complaint with the BBB (read the terms of your contract first to be sure). I am not sure how the BBB service works for wireless conflicts, but you can easily find this info on the BBB website. Also, if the BBB is not an option you can check for other remedies. Someone on another thread sent an email to someone higher up in the VZ network (can not recall whom but the thread is fairly recent) and was able to get help with an issue they were having. First things first, find a little more time and contact VZ again. Insist that your issue is escalated. If you are told a case or something is opened request the case #. Record the name of every rep you speak with, the date and the time. This is something you should always do regardless of the company as the more info you have available in regards to your contacts, the better prepared you are for any issues. Good luck with everything.

  • BPEL build error when invoke an extrenal Web Service that returns an Array

    Hello,
    I built with JDeveloper a web service that returns an Array of Java Bean classes and I try to invoke this web service from a BPEL process. The wsdl file is automatically generated by the JDev. When I built the BPEl project I obtained the following error:
    [bpelc] [Error] :-1:-1: src-resolve.4.2: Error resolving component 'SOAP-ENC:Array'. It was detected that 'SOAP-ENC:Array' is in namespace 'http://schemas.xmlsoap.org/soap/encoding/', but components from this namespace are not referenceable from schema document 'http://malangiu-ro:8988/cde-Project-context-root/CdeFactoryWS?WSDL'. If this is the incorrect namespace, perhaps the prefix of 'SOAP-ENC:Array' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'http://malangiu-ro:8988/cde-Project-context-root/CdeFactoryWS?WSDL'.
    [bpelc] [Error] :-1:-1: src-resolve.4.2: Error resolving component 'SOAPENC:Array'. It was detected that 'SOAPENC:Array' is in namespace 'http://schemas.xmlsoap.org/soap/encoding/', but components from this namespace are not referenceable from schema document 'http://malangiu-ro:8988/cde-Project-context-root/Top300FactoryWS?WSDL'. If this is the incorrect namespace, perhaps the prefix of 'SOAPENC:Array' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'http://malangiu-ro:8988/cde-Project-context-root/Top300FactoryWS?WSDL'.
    [bpelc] [Error] :-1:-1: src-resolve.4.2: Error resolving component 'SOAP-ENC:Array'. It was detected that 'SOAP-ENC:Array' is in namespace 'http://schemas.xmlsoap.org/soap/encoding/', but components from this namespace are not referenceable from schema document 'http://malangiu-ro:8988/cde-Project-context-root/CdeFactoryWS?WSDL'. If this is the incorrect namespace, perhaps the prefix of 'SOAP-ENC:Array' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'http://malangiu-ro:8988/cde-Project-context-root/CdeFactoryWS?WSDL'.
    Any hint? Thanks in advance!
    Regards,
    Marinel

    Hi,
    BPEL and BPEL PM do not have a good support for SOAPENC-Array: it would be very difficult to create such an array in BPEL or to receive it and manipulate it.
    The (unfortunately very intrusive) work around is to change the WSDL of the service to use a XML type defined using XML schema. This is all the more painful that JDev 9.0.4 does not have strong support for complex types.
    In general though, I would highly recommend this best practice:
    1) Start by define the WSDL contract first
    2) Then generate the server side skeleton to implement it
    3) Use BPEL as the client to this contract.
    By starting with the contract first, you make sure that 1) your interfaces are clean and coarse grained.
    2) things like java objects, sessions, etc to not leak through the interface (which would be the worst thing that could happen because it would closely link the client and the server.
    Sorry for not being more helpful. This will get radically cleaner in Oracle AS 10.1.3.
    Edwin

  • Calculation of interest amount with two variables formula

    Hello everyone,
    Iu2019m facing a problem with the way that TRM calculate the interest amount for money market transaction when I have a formula with two variable, e.g. reference interest rate u201CXu201D multiplied by 0,98.
    Some contracts explicitly say that to obtain the u201Cdaily interest rateu201D of the contract firstly the u201Cdaily interest rateu201D of the reference interest rate must be calculated and then apply a index or factor (e.g. 0,98). In the other hand some contracts says that it should be done the other way around. Iu2019ve noticed that TRM calculate the interest amount using the first way.
    Is there any way to set which the way the interest amount should be calculates?
    Has anyone faced similar problem?
    The examples below illustrate the difference in the two ways to calculate interest amount.
    Considering the following money market transaction:
    1. Borrowing structure:
    1.1. amount: USD 1.000.000,00
    1.2. flow type: 1105 u201CBorrowing/Increaseu201D
    2. Term (only one day to simplify the example)
    2.1. Start date: 30.01.2011
    2.2. End data:   31.01.2011
    3. Interest structure:
    3.1. Interest form: VARIABLE ( formula = Z1 * 0,98), where u201CZ1u201D is a reference interest rate
    3.2. condition type: 1200 u201CNominal interestu201D
    3.3. Interest calculation method: ActW/252
    Considering that Z1u2019s annual interest rate in 30.01.2011 is 11,66%, TRM would perform the following calculation:
    1. Contract annual interest rate (%) = Z1*0,98 = 11,66 *0,98 = 11,42680000%
    2. Convert from u201CContract annual interest rate (%)u201D  to number = 1,11426800
    3. u201CContract daily interest rateu201D = 1,11426800 ^(1/252) = 1,00042945
    4. Convert from u201Cnumberu201D to Day interest rate (%)  = 0,04294481%
    5. Interest amount = u201CContract daily interest rateu201D * Borrowed amount = 0,04294481% * 10.000.000,00 = 4.294,48
    In the other hand, some contracts say that the interest rate should be calculated in the following way:
    1. Annual interest rate (%) = 11,66  = 11,66000000%
    2. Convert from u201CAnnual interest rate (%)u201D  to number = 1,11660000
    3. Daily interest rate = 1,11660000 ^(1/252) = 1,00043775
    4. Convert from u201Cnumberu201D to Daily interest rate (%)  = 0,04377480%
    5. Calculate u201CContract daily interest rateu201D = 0,04377480% * 0,98 = 0,04289930%
    5. Interest amount = u201CContract daily interest rate (%)u201D  * Borrowed amount = 0,04289930% * 10.000.000,00 = 4.289,93
    With this simple scenario  we end up with a USD 4,55 difference for a single day, but for big contracts of hundred millions and for several years the difference is quite  huge.
    Thanks in advance ..
    Giuliano

    Hi,
    with Product Category 550 you can have both scenarios:
    for the 1st case you can use a formular (e.g. EONIA * 0,98)
    => interest for 1 day: 462,70 EUR
    for the 2nd case you can use the field Variable Interest Rate (EONIA) + field Payment Rate (98)
    => interest for 1 day: 453,44 EUR
    Is this, what you are looking for?
    Regards,
    Lorenz

  • Problem with web service that returns an object with a String that have som

    Hi everybody:
    I have a problem with a web service I am doing, I have made a web service that returns a collection of objects, the objects have a set of properties, there is one property that is a String,this property consists in a text fragment that could have some characters that are considered special in XML like &, <, >, " and that's why when I execute the service from a client an exception is thrown:
    {code}
    Exception in thread "main" org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT.
    at [row,col {unknown-source}]: [9,646]
    org.codehaus.xfire.fault.XFireFault: Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT.
    at [row,col {unknown-source}]: [9,646]
    at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
    at org.codehaus.xfire.client.Client.onReceive(Client.java:410)
    at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)
    at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
    at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
    at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
    at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)
    at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
    at org.codehaus.xfire.client.Client.invoke(Client.java:336)
    at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
    at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
    at $Proxy0.search(Unknown Source)
    at cu.co.cenatav.webservices.client.Client.main(Client.java:26)
    {code}
    I know that this is happening because special characters are sent by the soap message but I don't know how to solve this problem.
    How could I avoid this exception ?
    I hope you can help me.
    Regards.
    Ariel

    Hi,
    BPEL and BPEL PM do not have a good support for SOAPENC-Array: it would be very difficult to create such an array in BPEL or to receive it and manipulate it.
    The (unfortunately very intrusive) work around is to change the WSDL of the service to use a XML type defined using XML schema. This is all the more painful that JDev 9.0.4 does not have strong support for complex types.
    In general though, I would highly recommend this best practice:
    1) Start by define the WSDL contract first
    2) Then generate the server side skeleton to implement it
    3) Use BPEL as the client to this contract.
    By starting with the contract first, you make sure that 1) your interfaces are clean and coarse grained.
    2) things like java objects, sessions, etc to not leak through the interface (which would be the worst thing that could happen because it would closely link the client and the server.
    Sorry for not being more helpful. This will get radically cleaner in Oracle AS 10.1.3.
    Edwin

Maybe you are looking for

  • How can i add email notifications to a scheduler program

    Hi, We have a scheduler chain that calls 2 scheduler programs. The chains are controlled by a scheduler job that has job_type as CHAIN. My challenge is how to add email notfications on the failure or success of the programs. I know about this procedu

  • Windows 8 problems 2575 series all in one

    Recently I bought a new laptop which runs Windows 8(64-bit) and when I tried to install the software required to run my printer (2575 series all in one) I couldn't  because the software wasn't compatible with windows 8. Is there any way for me to ins

  • Replacement DVD Drive for Pavilion dv5 Notebook

    My DVD Optical Drive will not read disc so I can't load software.  I'm trying to replace it but can't figure out what drive to buy.  In the HP Support Assistant it says the Model is CDDVD TS-L633N.  The product number for my computer is WQ799UA#ABA.

  • App Error 200 - Reset, BB curve 8520

    Hello, While I was downloading the new BB software via BB desktop manager, my laptop suddenly closed. After that, when I re-opened my mobile, after reloading, the screen went blank with an "App Error 200 - Reset" in the middle of the screen. I tried

  • Only a part of an array is choosed

    Hi Guys! I've got  an array only a part of this array is choosed  but i want to choose all the array: The code: function Move-EmptyDir{ [CmdletBinding()] param ( [Parameter(Mandatory = $true)][string]$Source, [Parameter(Mandatory = $true)][string]$De