How to generate a unique WSDL for two webservices ?

Hi ,
Does anyone know if there is a way to generate a unique WSDL file for two webservices ?
Actually, the problem is more general. I have two EJB that are exposed through web services. They both contain a simple data structure that is passed back and forth.
The Client is a C# GUI and it is having problems with that data structure. Even if it is the same data structure with the same namespace, it seems it as two different objects and so creates two different stubs ...
I am trying to work around that from the server side, bc it does not seem that we can do it from the C# application.
First, I am trying to generate just one WSDL that would include both webservices but I can't seem to find an easy way of doing that.
Second, I have heard that the complex types could be referenced externaly and I think that it would do the trick as well. I don't know how to do that either.
I am using ServiceGen Ant tags to generate my web services from an EJB.
Did anyone encounter that issue ?
Can any one help ?
Thanks a lot
Farez

hi,
go to t-code SNRO and create a number range from 0 to 99999999.
call the below fm in the report by passing the created number range name to fm to generate the new number every time..
see
NUMBER_GET_NEXT Get next free number in a range
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
NR_RANGE_NR = '01'
OBJECT = 'YPOLLID'        "number range name created in SNRO.
IMPORTING
NUMBER = LS_NUMBER.       "new number with one increment..
or
you can try..
you can use following code.
select max( num ) from z_table into v_max_num.
v_max_num = v_max_num+1.
Regards,
prabhudas

Similar Messages

  • How to generate Serial(Unique) Number for finished goods?

    Guru's,
    How do i generate Serial(Unique) Numbers for finished goods.Suppose,if we get an order for a finished good A of 10 qty.We want to generate unique number to identify each and every A item separately for quality purpose.Any help is much appreciated.
    thanks Guru's

    Depending on serial control of item, you will need to generate serial numbers at the time of WIP Completion transaction using Serial Entry window (i.e. if serial control is At Receipt) or at the time of job creation (i.e. if you are using serial control as predefined)
    In latter case, you will have to use MES or MSCA screens to perform serialized WIP completion.
    Thanks,
    Hrishi

  • How to generate WS and WSDL for proper working DS under ALDSP 3.0?

    Hi,
    Ive got small problem with generating WebService and WSDL for proper working DataService in AL Data Service Studio.
    Whats the worse, I cant find any good documentation showing how to do it step by step in the new development enviroment.
    Currently Im doing it like:
    1) right click on DS and then Create Web Service Map
    2) when Im trying to View WSDL for created (in previous point) WS Map, after a while for deployment, I get Error 404--Not Found
    3) when Im trying to Save WSDL As ... , after showing where it should to be saved, nothing happens
    4) At Test Web Service Map option Ive got (in ZIP archive there is error trace from WebLogic console):
    http://localhost:7001/xyz/abc/test/something.ws?WSDL
    failed due to weblogic.testclient.WsdlParseFailedException: Not Found
    My questions are:
    i) how I can generate WS for DS?
    ii) when there will be some tutorials to download for ALDSP 3.0?

    Some new facts about this situation.
    A moment ago Ive made all the things like in edocs:
    http://edocs.bea.com/aldsp/docs30/install/migration.html#wp1081343
    After that problems still exists and what is the worst - the same problem as at the first time.
    So:
    1) Problem of not migrated kind="private" to visibility="private"
    2) Problem of migrating the files encoded in CP1250 if they got charakters encoded in CP1250
    3) I know that proces of migration from multiple imports to the same namespace within XSDs must be done in manual way but problem still exist
    4) There are some issue like this:
    "[ld:xXx_PIDataServices/cache/order/order.ds]: The return type of the read function "{ld:xXx_PIDataServices/cache/order/order}setOrderStatus" with arity 1 does not match the Data Service target (element) type "{services.cache.integration.amg}setOrderOut"."
    When I remove kind="read" from pragma then its going to be valid.
    In short time we will try to contact with our local BEA support.
    PS Right now I was trying to import another project (sample one for Workshop 8.1 - <BEA_HOME>\weblogic81\samples\workshop\SamplesApp) and it also didnt go smoothly :/
    Edited by PiotrGalas at 02/01/2008 4:20 AM

  • How to have a unique value for each record??

    could any 1 help me out in this...
    I want to have a column name 'Order No' which should be unique.
    How to generate a unique value for each record.??

    could any 1 help me out in this...
    I want to have a column name 'Order No' which should be unique.
    How to generate a unique value for each record.?? If you are using SQL PLUS to create the table try something like
    this:
    CREATE TABLE ORDER_TEST (
    ORD_NO NUMBER (8) NOT NULL PRIMARY KEY,
    ORDERDATE DATE,
    CUSTID NUMBER (8) NOT NULL,
    SHIPDATE DATE,
    TOTAL NUMBER (8,2) CONSTRAINT TOTAL_ZERO CHECK
    (TOTAL >= 0),
    CONSTRAINT ORD_FOREIGN_KEY FOREIGN KEY (CUSTID) REFERENCES
    CUSTOMER (CUSTID),
    CONSTRAINT ORD_UNIQUE UNIQUE (ORD_NO)
    -- or a simpler table example
    DROP TABLE ORDER_TEST;
    CREATE TABLE ORDER_TEST (
    ORD_NO NUMBER (8),
    ORDERDATE DATE,
    CUSTID NUMBER (8) NOT NULL,
    SHIPDATE DATE,
    TOTAL NUMBER (8,2) CONSTRAINT TOTAL_ZERO CHECK
    (TOTAL >= 0),
    CONSTRAINT ORD_UNIQUE UNIQUE (ORD_NO)
    note: ORD_NO can also be a primary key
    If you are doing the INSERT during runtime from a form first
    create a sequence in SQL PLUS to handle the ORD_NO value:
    Create SEQUENCE ORDERNO_UNIQUEVAL_sqnc
    START WITH 000001
    NOMAXVALUE
    NOCACHE;
    and reference it as the ORD_NO parameter in your INSERT
    statement:
    ORDERNO_UNIQUEVAL_sqnc.NEXTVAL
    note: to maintain data integrity you must use the sequence
    everytime you insert a new order to table. To start a new
    sequence drop the sequence and re-create it with whatever "START
    WITH" value you want.
    Hope this helps
    Kevin

  • How to create a unique key using two or more attributes?

    how to create a unique key using two or more attributes ?

    The following example illustrate how to create a unique key using two or more attributes/fields
    Scenario: Implementing Unique Key on ManagerID & Location ID in DepartmentEO(Department Table)
    Step#1: Open the Desired Entity Object “DepartmentEO”. Go to Overview tab & Click “General” Finger tab.
    Step#2: Expand “Alternate Keys” section & click “+”.
    Step#3: In the Pop-up wizard, Enter a name for alternate Key “Unique_Manager_X_Location”.
    Step#4: Select the desired attributes/fields from available list & Shuffle to right side.
    Step#5: Now go to “Business Rules” finger tab.
    Step#6: Select “Entity Validators” in the list & click “+” to add a new entity level validation rule.
    Step#7: In the Pop-up, Select “Rule Type” as Unique Key
    Step#8: In the “Rule Definition” tab select the key “Unique_Manager_X_Location”created.
    Step#9: Now go to “Failure Handling” tab, and click the Magnifier Icon .
    Step#10: If the key is not already created then in the “Select Text Resource” Popup, Using the functional design document, Enter display value, Key and Description. And click “Save & Select” Button.
    Step#11: Now Click “OK”.

  • How to generate an XML file for an animation of IK armature

    Can someone please tell me how to generate an XML file for an animation of IK armature.
    I have a 5 keyframe/16 frame animation of a human character made up of a series of moveiclip symbols that is animated with an IK armature.  I need the XML information from the animation. 
    When I go to Commands > Export Motion XML I get the error message "There is more than one object on frame 1" and then nothing happens.
    Thank you,
    c

    I hope that's not the case.  I want to write to adobe about it.  I think it's a great feature and it functions really well even though it is not a very developed IK tool.  My biggest issue with it is ouput options and integration with motion tweens.
    I have seen a lot of examples of animators using it online, just no one talked about output.  I just feel it hasn't been developed.  It can generate a sprite sheet but only for a single pose frame of the animation, and not all the key frames or pose tweens.  I find that functionality quite odd, as if adobe just forgot about IK when added in sprite sheets, etc. and the reason it half works is just an accident.

  • How To Generate Debug Log Files for ebs jsp?

    hi   How To Generate Debug Log Files for ebs r12 jsp?
    and where i get the log .please help me thanks!

    Please check following MOS Document
    Oracle Application Server Diagnostic Tools and Log Files in Applications Release 12 (Doc ID 454178.1)

  • When we use XML,XSD,WSDL files to create SOA webservices in jdeveloper ,what will happen means internally,how will useful xml ,xsd,wsdl for composite ?

    When we use XML,XSD,WSDL files to create SOA webservices in jdeveloper ,what will happen means internally,how will useful xml ,xsd,wsdl for composite ?
    How xml will send message to XSD then how wsdl interaction then to composite ?

    XSD (XML Schema Definition), is an abstract representation of a XML characteristics.
    The WSDL (Web Services Description Language), describes the functionality offered by your web service.
    You can say what operations your services offers, and describe the messages used for this operations in your XSD.

  • Generating WSDL for a webservice that accepts attachments

    Is there anyway to automaticaly generate a WSDL file for a webservice that accepts
    attachments? Seems like the ant tasks and workshop don't work with services using
    soap with attachments at all...
    Thanks,
    Leonardo.

    Attachments are supported in WLS 7.0.0.1. You can either
    map the attachments to the parameters or use handlers to
    to get to attachments.
    If the attachments are mapped to parameters the WSDL will
    be generated with the appropriate mime binding.
    regards,
    -manoj
    "Leonardo Bueno" <[email protected]> wrote in message
    news:3d63e861$[email protected]..
    Is there anyway to automaticaly generate a acceptsWSDL file for a webservice
    that
    attachments? Seems like the ant tasks and workshop don't work with services
    using
    soap with attachments at all...
    Thanks,
    Leonardo.
    [att1.html]

  • How to generate a  number sequence for a column of a Z*table?

    Hi ,
    How to generate a  number sequence for a column of a Z*table?
    plz guide me.
    thanks
    Albert

    1) Use SNRO for defining a number range.
    2) Use FM NUMBER_GET_NEXT for getting the next number with object, sub object etc..
    See one example below.
          CALL FUNCTION 'NUMBER_GET_NEXT'
            EXPORTING
              nr_range_nr                   = c_01
              object                        = c_z_prd_code
    *           QUANTITY                      = '1'
             subobject                     = p_vkorg
    *           TOYEAR                        = '0000'
    *           IGNORE_BUFFER                 = ' '
           IMPORTING
             number                        = in_prd_code
    *           QUANTITY                      =
    *           RETURNCODE                    =
            EXCEPTIONS
                  interval_not_found            = 1
                  number_range_not_intern       = 2
                  object_not_found              = 3
                  quantity_is_0                 = 4
                  quantity_is_not_1             = 5
                  interval_overflow             = 6
                  buffer_overflow               = 7
                  OTHERS                        = 8
    3) You may write these code in main program of the table maintinence
    rgds,
    TM.

  • Why should we use WSDL for developing webservices

    I need to develop Webservice Application for our Client .
    I dont know anything about WSDL4J
    Hi from the net i found this
    "The Web Services Description Language for Java Toolkit (WSDL4J) allows the creation, representation, and manipulation of WSDL documents.
    Is the reference implementation for JSR110 'JWSDL' (jcp.org)."
    But anybody please tell me why should we use WSDL for developing webservices ??
    Is there any specific advantage we will get ??
    And Can body please point me a link where to start for working with WSDL4j ?
    Thank you very much

    i seriously doubt you want to use wsdl4j unless you are doing really advanced webservice work. assuming you are developing this webservice from scratch, you basically want to use JAXWS: define an appropriate interface and your value classes, and let JAXWS do the rest. metro is the JAXWS implementation included in the oracle jdk and it has great tutorials and reference documentation online. i'd suggest you start here: http://metro.java.net/getting-started/

  • How to generate a unique 8 byte number for a String in DES

    Hi All,
    Is there any way to generate a unique 8 byte number representation of String?
    I know it can be done with DES encryption (while MD5 gives 16 bytes number). My requirement is:
    Every time a String is passed - my static method should return the same unique number - all the time.
    i.e A String "AAAAAA" will return same unique number all the time. How can I achieve this (8 byte number) by DES Encryption or any other encryption?
    Thanking all in advance.

    Thanks for your reply. Won't there be any loss of data if I consider only first 8 bytes? Will Integrity be maintained.?
    In some cases my Strings can be unusually long - having length of 400 to 500.
    I want 8 bytes as I want to map the number with MySQL bigint field.

  • How to have a unique requestId for a Page for multiple users

    Hi,
    Can someone please tell me how to get a unique RequestId whenever a page is visited. I need to have a unique RequestId generated for each user if they are on some specific
    page. Whenever a users refreshes a page or come to the page by clicking back button want to have a unique requestId always.
    Can I use sessionRequestId or something for HttpServletRequestObject that always gives me a unique Id.
    Thanks

    Unique for how long?
    Eternally unique ?
    unique until the server restarts?
    Most simplistic approach would be to have a static/singleton counter. It wouldn't work perfectly in high volume sites, but should work well enough for smaller ones. Including a timestamp in the key makes it fairly unique.
    This would handle both initial requests and refreshes of the page.
    There is nothing you can do about users hitting the back button. If the page gets served from the client cache, the server knows nothing about it, and can not issue a unique id.
    Why the requirement? What are you trying to accomplish by doing this?

  • How to Genarate a Unique ID for each Payload in XI

    Hi,
    My Question is How to Genarate Unique ID for each Paylod that we send in a particular Interface.
    Is that we can do it in Mapping...If Yes, How its possible...
    Thanks
    Amaresh

    Hi Amaresh !
    XI generates and stamps a messageID to each message header. That ID is unique. You could use that one. To get that number from inside message mapping to put it in the payload, you could use a java UDF with this code:
    String msgid;
    java.util.Map map;
    map = container.getTransformationParameters();
    msgid = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
    return msgid;
    Of course you can generate another number, but maybe you will need to use a common storage to avoid repeating the assigned numbers, and that will require more work.
    Regards,
    Matias.

  • How to Generate Diffrent Subcontarcting BOM for Diff. Vendor in MRP

    Hi Experts,
    Ii have query @ how to generate to Diffrent Subcontracting BOM for Diffrent Vendor for same material in one plant in MRP(Material Requiremnt Planning)
    Example: I have X Finished material having 3 Vendor with their Quota Arrangement with 40,30 & 30% quota. This 3 vendors have diffrent BOM,i.e. Alternative BOM. how shall i generate Diifrent PR with Diffrent Subcontracting BOM for according Vendor.
    Pls tell me procedure for this.
                 Thanks in Advance,
    Best Regards,
    Dev

    Hi Dev,
    You can acheive your requirement using Production Version in Material Master MRP 4 view , production versions tab.
    Create three different production version as below  and assign the same to the Vendor in Vendor Info record Tcode : ME11 / ME12 :
    Prod Version                  Alt BOM            For Vendor
    01                                       01                 XXXXXX
    02                                       02                YYYYY
    03                                        03               ZZZZZZ
    Assign the Production Version to corresponding vendor in Vendor Info Record.
    Goto t.code : ME11 /ME12 put the Vendor (say XXXXXX), Material No , Purchase Org and Plant and seeect the sub contract vendor radio button and press enter.
    System will take you to CIR : General Data screen , Select the Purch Org Data 1 and enter the Production version  "01" number in the field "Version"  save and comeout.
    Similarly do it for the other two vendors YYYYYY -02 and ZZZZZZ -03 .
    Now if you create a sub contracting P.O system will propose the Alt BOM 1 for the Vendor XXXXXX , Alt BOM 2 for the vendor "YYYYYY" and Alt BOM 3 for the vendor "ZZZZZZ".
    Hope this will help you.
    regards
    radhak mk

Maybe you are looking for

  • Yet another Mac Book Pro (A1211/2.33 GHz) freeze problem

    Hi everyone, I have yet another freeze mystery, if people fancy having a crack at it. I had this notebook for about 4 and a half years and it served me well until 2 months ago. It is a 15' MBP from December 2008 (A1211) with a 2.33GHz Core 2 Duo and

  • My IPOD classic 6 will no longer stay in sleep mode. It's less than 2 years old

    My IPOD classic 6th generation will no longer stay in sleep mode and it is less then 2 years old. It is running the battery down because of this. Does anybody know how to fix this issue? I have use the hold button when I put it in sleep mode. I have

  • VPN and Lion Server

    I set up a VPN on my OS X Lion server however it seems  there is a probelm with the file permissions.  I set the permission to Read and Write, however when connected through the VPN I open a document, edit and save, it saves as a "read only" document

  • Forms in SharePoint Online

    Hi we have SharePoint online - E1 Plan. We need to create some custom forms with meta data, that look up lists, have attachments, workflow etc..would you suggest javascript in SPO or would you suggest a provider hosted app - store the app in SQL Azur

  • My Skype number appears different to people I call

    When I call people on my Skype number the number that shows up on their caller ID is different than my Skype number. When they try to return my call using that number they can't get through. When they use my actual Skype number everything is fine. Th