Creating WSDD and WSDL file

I am working on JSR 172,
I have created a server code, installed Tomcat and Axis.
Now i want to convert my .java file to .wsdd and .wsdl file the below command are not working plese help.
java -classpath lib\axis.jar;lib\saaj.jar;lib\jaxrpc.jar;lib\commons-logging-1.0.4.jar; lib\commons-discovery-0.2.jar;lib\wsdl4j-1.5.1.jar;build\classes\.;org.apache.axis.wsdl.Java2WSDL -y DOCUMENT -u LITERAL -l http://localhost:8080/axis/services/ScoreService tutorial.ScoreInterface
and this produces the below erroe
Unrecognized option: -y
Could not create the Java virtual machine.
Thanks in advance.

Hi ganesh,
you have two options to get it working.
The first one is using a CanonicalEditPolicy, which creates all Nodes and Edges for you based on your semantic model. This is easy to implement, but it has some drawbacks. Your editor will get dirty after opening it, because your Notation Model is changes and no layout information is available.
The better way is to create Nodes and Edges for each semantic element you created.
For your code snippet it might look like this:
XXX model = createInitialModel();
YYY yyy = XXXFactory.eINSTANCE.createYYY();
yyy.setAttribute1("2");
yyy.setAttribute2("name");
model.getYYYs().add(yyy);
attachModelToResource(model, modelResource);
Diagram diagram = ViewService.createDiagram(model, XXXEditPart.MODEL_ID,XXXEditorPlugin.DIAGRAM_PREFERENCES_HINT);
Node yyyView = ViewService.createNode(diagram, yyy, SemanticHints.YYY,
,XXXEditorPlugin.DIAGRAM_PREFERENCES_HINT);
//Set some layout information assuming you use a XYLayout
Bounds bounds = NotationFactory.eINSTANCE.createBounds();
bounds.setX(70);
bounds.setY(20);
yyyView.setLayoutConstraint(bounds);
Regards,
Andreas

Similar Messages

  • Create Client Using WSDL files

    Hi All,
    I've completed the following -
    1. Created the scenario SOAP => XI => RFC
    2. Using XI configuration , generated WSDL specifying the Message Interface which triggers the scenario in XI.
    http://<serverhost>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<ServiceName>:<Channel Name>
    3. Transported this WSDL to local directory
    now when i retrive wsdl from XIServer to Create Client
    it gives exception
    and i didn't retrive WSDL files
    so please help, i have WSDL file how to Create Client using WSDL file.
    Thanks in advance...
    regards
    Bhaumik

    hi suraj
    i will check with XMLSPY
    but it gives Error Like :
    HTTP Error : Could not Post
    http://xiserver:8000/XISOAPAdapter/MessageServlet?channel=:BS_SoapToRFC:SOAPtoXI&version=3.0&Sender.Service=BS_SoapToRFC&Interface=http%3AservicetoRFC%5EPO_sync_out
    on xiserver (500)
    regards
    Bhaumik

  • How to create parameter and control file like filename + date

    Hello there
    I am trying to create parameter and control file with following command
    in SQLPLUS
    create pfile='/u03/oradata/WEBDB/backup/initWEBDB.ora' from spfile;
    In RMAN
    copy current controlfile to '/u03/oradata/WEBDB/backup/cf_longterm.cpy';
    how can I put date at the end of filename like
    initWEBDB8jan06.ora and cf_longterm8jan06.cpy
    Thanks in advance
    Lionel

    ASM is reliable but a smart DBA is very careful. If ASM is doing mirroring this is like RAID doing mirroring. What happens if you accidentally delete one copy ... the other one disappears instantly. Not a good idea.
    With respect to redo logs you need a minimum of three groups, two members, and one thread per instance. So a 2 node cluster should, at a minimum have 12 physical files.
    Not mirroring the redo logs, assuming multiple members, is not as critical.

  • Creating Folder and Accessing Files from Folders in mobile phone

    Hello Friends,
    I am doing my project where I need to create folders and accessing files from those folders in java enabled mobile phones.But I do not know the required tasks for this.Any type of help is highly appreciated.
    Greeting
    Saadi

    You have to get the classname of the Items you receive from getitems.
    There you have only to look for Folder.CLASS_NAME. Example:
    ifsFol sorted by names in ascending order (names of folders and files)
    String[] sort_attributes = {"NAME"};
    //sort will be ascending
    boolean [] sort_orders = {true};
    oracle.ifs.common.SortSpecification sort = new oracle.ifs.common.SortSpecification(sort_attributes, sort_orders);
    ifsFol.setSortSpecification(sort);
    PublicObject[] contents = ifsFol.getItems();
    System.out.println("Here are the names of the items in folder: ");
    for (int i=0; i < contents.length; i++) {
    if (contents.getClassname().equals(Folder.CLASS_NAME)) {
    System.out.println(contents[i].getName());
    null

  • How to create xsd and wsdl..?

    Dear All,
    I am new to BPEL.
    Can anyone help me on creating xsd and wsdl.
    Thanks

    the easiest way is using jdeveloper xsd builder to define your types ..
    the wsdl itself is just a defintion of
    a) types (either here or in a schema)
    b) messages
    c) operations (like functions)
    d) and bindings .. to specify the technology ..
    I would take a look on http://www.w3schools.com/WSDL/ which a tutorial ..
    and then use jdev to create the things ..
    hth clemens

  • Question about webservice and wsdl file

    Hi All.
    I have this scenario , the customer wants to send some information as they happen
    The customer wants to use a web service to our database(JDBC)
    I understand that from this requirement , I have to develop the Object in PI , and create the wsdl file to send it to the customer , this wsdl file will have the URL and other information for the consuming of the webservice.
    Now the weired thing is the customer insists that we should use their wsdl file , I am confused about this , I understand that when the customer send their wsdl file , it is because they will act as a receiver to our request , right ?
    but if they want to act as sender , then the wsdl file should be sent from PI side based on the configuration.
    My question is it possible to create a scenario based on the cunstomer wsdl file eventhough the customer is the sender .
    if so what and how the URL will be.
    Thanks.

    Malu Mader wrote:
    > Now the weired thing is the customer insists that we should use their wsdl file , I am confused about this , I understand that when the customer send their wsdl file , it is because they will act as a receiver to our request , right ?
    > but if they want to act as sender , then the wsdl file should be sent from PI side based on the configuration.
    refer Walkthrough - SOAP  XI  RFC/BAPI
    your URL will be;
    The inbound address for SOAP messages is: http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
    Under party:service:channel enter the party name, the service name, and the name of the communication channel. If no party has been created, enter the following: channel=:service:channel

  • Netbeans and WSDL file location

    Hello,
    I'm new to web services and the Netbeans Web Services client wizard. I'm creating a simple web app that calls a 3rd party web service. I'm able to use Netbean's client wizard to create a ws client (stub code) from a local WSDL file. When I deploy the web app on my production server I get a javax.xml.ws.WebServiceException: java.io.FileNotFoundException when I create a new instance of the web service. This is not surprising since the production system does not have a local copy of the WSDL file at the exact path as on my dev system. I noticed the wizard seemed to have copied the WSDL file to WEB-INF\wsdl\client\ so I figured that's the file that would be used, but when I looked at the stub code it seems to have the path to my local WSDL hard coded in it. What's the correct way for deploying a web service client that is generated from a local WSDL file? I know there is a version of the Service constructor that allows you to specify a URL (and QName), but I'd rather not take this route unless it's what's supposed to be used.
    TIA

    We are running into the same problem. Has anyone found any information on deploying Web Service clients generated from a local WSDL?

  • SoapUI  and wsdl FILES.

    Friends,
    I am new in the world of SoapUI.
    My client is using SoapUI platform for creating IB requests. Can anyone tell me how and from where i should provide them WSDL files.
    And what credentials, I should provide for invoking this web service?
    any supporting doc would be added advantage.
    Rgds,
    Yogiraj

    Hi,
    I am not getting the following services in my env.
    also, do i need to activate each n every services like MIN_CART_COUNT_GET .
    I searched in the path ( ib -setup-services )..plz suggest
    PeopleSoft Mobile Inventory uses FSCM webservices to communicate. For the following services the service operations, handlers and routings needs be activated.
    MIN_ADJUSTMENT
    MIN_ALT_TYPES_GET
    MIN_BIN_TRANSFER
    MIN_CART_COUNT_GET
    MIN_CART_COUNT_SAVE
    MIN_COUNTING_EVENT_GET
    MIN_COUNTING_EVENT_SET
    MIN_COUNTING_EVENT_VALIDATE
    MIN_EXPRESS_ISSUE
    MIN_EXPRESS_ISSUE_VALIDATE
    MIN_FUL_INQ_INV_HDR
    MIN_ITEM_STK_INQ
    MIN_LOOKUP_GENERIC_GET
    MIN_MENU
    MIN_NPRCPT_SAVE
    MIN_OPTIONS
    MIN_PROMPT_EDIT
    MIN_RCPT_CNTR_GET
    MIN_RCPT_CNTR_SAVE
    MIN_RECV_DELIVERY Web
    MIN_RECV_DELIVERY_SAVE
    MIN_STCK_FEEDBK_GET
    MIN_STCK_FEEDBK_SAVE

  • How to create redlog and control file at ASM in linux RAC

    Hi Experts,
    I will to maintance a oracle 10g database at ASM as RAC iin linux red hat.
    i am a new person with some question.
    nornally speaking, oracle recommadition for oracle 10g database as
    create 3 copy fills for control file
    create at least 2 redo log with mirror files in system.
    However, I checked find
    redlog file is at FRA place +FLSdisk1 and no mirror
    control file is at FRA place--+FLSDISK1/
    datebase file at ‘+DATA1/
    There are no mirror for relog.
    Go to EM, I also could not find place to enter file name.
    We use ASM to hold database to support RAC.
    Do i need to create redlog file as
    ALTER DATABASE ADD LOGFILE GROUP 1 ('+FLSdisk1/sale/onlinelog/REDO01.LOG','+FLSdisk1/sale/onlinelog/REDO01_mirror.LOG') SIZE 1000M reuse;
    my boss told me that ASM is reliable.
    Do you need to creat more directory to arrange redlog and control files in ASM for RAC system?
    FRA is a good place to store control file and redlog file ?
    Thanks
    JIM
    Edited by: user589812 on Jul 3, 2009 3:03 PM

    ASM is reliable but a smart DBA is very careful. If ASM is doing mirroring this is like RAID doing mirroring. What happens if you accidentally delete one copy ... the other one disappears instantly. Not a good idea.
    With respect to redo logs you need a minimum of three groups, two members, and one thread per instance. So a 2 node cluster should, at a minimum have 12 physical files.
    Not mirroring the redo logs, assuming multiple members, is not as critical.

  • Creating data and .par files using SWIFT Integration Package

    Hi,
    I have a requirement to generate a data and .par file using SAP PI Integration package for SWIFT.
    I am following the SAP Note: 1303428.
    I have created 1 sender and 2 receiver comm channels(one for payload and other for par). Used operation mapping SWIFT_payload_parFile_split in the Interface determination.
    I am using the adapter module : localejbs/swift/FileActConversionToSWIFTModule and setting the parameter DetachParameters to true. This adapter module is being used in all the three channels(1 sender and 2 receivers).
    I have used ASMA ans has set the FileName checkbox.
    Now after placing the file in the input directory, the file with the same name gets created in the output directory but the file is exactly same and also no .par file is getting created. I have set the Empty file handling to Ignore, so it shows that there is no data to  create a .par file and only payload file is getting created but the payload file is exactly same.
    Also if I use the adapter module : localejbs/swift/FileActConversionToSWIFTModule in only the sender communication channel, a payload file gets created like below.
    <?xml version="1.0" encoding="UTF-8"?>
    -<ns1:SWIFT_payload xmlns:ns1="http://sap.com/xi/SWIFT"><payload>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPEZpbGU+CiA8UGFyYW1ldGVycyB4bWxucz0idXJuOnN3aWZ0OnNhZzp4c2Q6ZnRhLnBhcmFtLjEuMCIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSI+CiAgPE92ZXJyaWRlcz4KICAgPFJlc3BvbmRlcj5jbj1jZngsb3U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SWQ+CiAgICAgIDxDY3k+RVVSPC9DY3k+CiAgICAgIDxObT5BTFhOIE5MIERvbWVzdGljIFZlbmRvcjwvTm0+CiAgICAgPC9DZHRyQWNjdD4KICAgICA8Um10SW5mPgogICAgICA8VXN0cmQ+L1BNREQvVEVTVDY4MSw1OTAuMDAsRVVSLDIwMTQwMzI8L1VzdHJkPgogICAgIDwvUm10SW5mPgogICAgPC9DZHRUcmZUeEluZj4KICAgPC9QbXRJbmY+CiAgPC9Dc3RtckNkdFRyZkluaXRuPgogPC9Eb2N1bWVudD4KPC9GaWxlPgo=</payload></ns1:SWIFT_payload>
    But while creating the par file, it shows that the file could not be overwritten and so the .par file is not getting created.
    I need to understand that:
    1)  How do I configure both of my receiver channels i.e. what should be the difference. Currently, I am just setting the
    same Output directory in both and file name schema * and has used ASMA with FileName parameter. So same name files are getting created and so one file gets discarded. How to create a .par file.
    2) Also Is the file above is the correct file required by SWIFT.
    3) Also when I check in SXMB_MONI, I can see that after running the adapter module same payload as given above is going in both payload and par files i.e. also if I am using different names in my receiver communication channels two files are getting created payload and par both are having the same payload. So what exactly should get created.
    Kindly guide on this implementation.

    Hi,
    I am able to generate the .par file by setting the localsecurity to true and the KeyId from the key manager.
    Now two files are getting created .xml and .par. .xml file which is the payload file is the same as the input file with no difference and contains both the overrides and the data parameters. The .par file contains the Algorithm and the Value.
    Is this correct?
    Also suppose the input file name is SEPA.xml, then the payload file is created with the name as
    SEPA.xml and the par file is created with the name SEPA.xml.par. I need only SEPA.par. How to achieve this.

  • Need to create PDF and Spreadsheet file from RDF file when user passes the parameters

    Hi Everyone,
    I am beginner as report developer ,i came across one  issue when the requirement came from the client regarding generating EXCEL FILE and PDF FILE from same RDF file .
    I was able to generate the PDF file but i when i tried to create excel file it does not include the margin in it, also the cell border are not seen( file comes with data but with no CELL borders), I have also attached screenshot for reference .
    View image: problem
    or
    http://i43.tinypic.com/2mq017k.jpg
    Software Used :
    Oracle reports Developer : 11g 1.2.3.0
    Thanks ,
    Harshil

    Dear  Olga12,
    Thanks a lot for your quick reply.
    When i suggested the solution to my client  for creating two separate templates attached to same data definition , they declined and argued that  we cant create 2 separate templates for all reports( more than 200 reports).
    Is there any way to create the PDF/EXCEL from same RDF other than creating two separate templates ?
    Thanks ,
    Harshil

  • Local URL in WebService address and WSDL file

    Hi everyone,
    I developed, built and deployed my webservice on a machine. To reach the webservice from the web it has a specific IP (binded to point to a local IP) , but when i access to it the URL inside the webservice address, the reference to the wsdl file and the SOAP:ADDRESS property inside WSDL refer to my local network IP instead of "external" url ..... how is it possible? how can i change things to make Web Service always refere to the external url from which has been invoked?
    Thanks in advance for help ... it's quite urgent ... thank you

    just a little precisation : i deployed the webservice on tomcat, simply putting dist war file ... not using the ant deploy task.

  • Create directory and write files to it

    i have installed tomcat 3.2.3 and am using ms access as databse.
    through my jsp code i need to create random directories on the server and write files to it(need to have write access on the directories).
    how do i do it?? thanx in advance.

    You can include java.io in ur jsp page only using
    <%@ page language="java" import="java.io.File %>
    then u can create directories on the fly on the server using
    mkdir(s) method of the FILE Object.
    You will have to specify the path while creating a File object.
    You will get the application's path using
    application.getRealPath() method .... to wich u can append
    whatever u will like...
    Once u got the directory u can also create files using file object
    Hope this is of any help...
    Feel free toa sk if i could not satisfy u...

  • Workshop IDE can not create CTRL from WSDL file

    Hi everybody,
    For the evualtion of the Workshop IDE that comes with WLS 7.0 beta, I'm developing
    a web service (via this IDE) which must interoperate with another web service
    implemented with the help of another tool. I got the corresponding WSDL of this
    "outside" web service (see attachement), and when I want to generate the corresponding
    CTRL (via Add Service Control), I get the following error:
    Error: Could not find operation 'sayHello' in portType ''
    Prescription: The operation you are trying to bind was not found among the declared
    operations. Please check your <portType> sections.
    I do not have a lot of experience with WSDL files and its specification, but I
    compared this file with another WSDL files that work with WORKSHOP IDE, and I
    do not see difference between these files and the file that does not work. Moreover
    the IDE error says that my service 'sayHello' can not be find inside the 'portType'
    tags, but if you have a look at the WSDL file, you will see that is not true ?!?!?
    Can somebody help me please?
    Have a nice day
    Vincent

    Vincent,
    What is happening is that the type attribute on the binding tag must match
    both the targetnamespace and the name of the portType name attribute. Yours
    do match in basename only. When parsing the WSDL file what we do is put the
    name attributes of the portType, service and binding tags into the
    targetNamespace of the WSDL and then we expect the references to these names
    to also be resolved to that namespace.
    In the case of your WSDL, your targetNamespace is
    http://localhost:8000/HelloWorldApp/servlet/rpcrouter and the type attribute
    on the binding attribute just references HelloWorldServicePort which means
    it will use the default namespace of http://schemas.xmlsoap.org/wsdl which
    is, of course, different than the targetNamespace.
    To fixup the WSDL I would recommend you just define a new namespace at the
    top of the WSDL file that matches the targetNamespace attribute and then use
    that prefix in the text value of the attribute used to reference that name.
    Yes, we do need to do some better parser/error messages to help identify
    this :)
    Here is one way that I have done to fixup your WSDL and Workshop does pull
    it in and expose the methods correctly:
    <?xml version='1.0'?>
    <definitions name='HelloWorldService'
    xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
    xmlns:xsd='http://www.w3.org/2001/XMLSchema'
    xmlns='http://schemas.xmlsoap.org/wsdl/'
    xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
    targetNamespace='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'
    xmlns:test='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'
    xmlns:xsd1='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/schema'>
    <types>
    <xsd:schema
    targetNamespace='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/schem
    a'>
    <xsd:simpleType name="java.lang.Integer"><xsd:restriction
    base="xsd:int"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Short"><xsd:restriction
    base="xsd:short"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Long"><xsd:restriction base="xsd:long"
    /></xsd:simpleType>
    <xsd:simpleType name="java.lang.Double"><xsd:restriction
    base="xsd:double"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Float"><xsd:restriction
    base="xsd:float"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Boolean"><xsd:restriction
    base="xsd:boolean"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Character"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.String"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.StringBuffer"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Byte"><xsd:restriction
    base="xsd:byte"/></xsd:simpleType>
    <xsd:simpleType name="char_lb_rb"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    <xsd:simpleType name="char"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    </xsd:schema>
    </types>
    <message name='sayHelloInput'>
    <part name='message' type='xsd:string'/>
    </message>
    <message name='sayHelloOutput'>
    <part name='result' type='xsd:string'/>
    </message>
    <portType name='HelloWorldServicePort'>
    <operation name='sayHello'>
    <input message='test:sayHelloInput'/>
    <output message='test:sayHelloOutput'/>
    </operation>
    </portType>
    <binding name='HelloWorldServiceBinding'
    type='test:HelloWorldServicePort'>
    <soap:binding style='rpc'
    transport='http://schemas.xmlsoap.org/soap/http'/>
    <operation name='sayHello'>
    <soap:operation
    soapAction='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/sayHello'/
    >
    <input>
    <soap:body use='encoded' namespace='urn:HelloWorldService'
    encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
    </input>
    <output>
    <soap:body use='encoded' namespace='urn:HelloWorldService'
    encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
    </output>
    </operation>
    </binding>
    <service name='HelloWorldService'>
    <port name='HelloWorldServicePort'
    binding='test:HelloWorldServiceBinding'>
    <soap:address
    location='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'/>
    </port>
    </service>
    </definitions>
    Thanks,
    Art
    "Vincent Ducret" <[email protected]> wrote in message
    news:[email protected]...
    >
    Thanks for your answer, but I do not understand it, and also yoursuggestion.
    >
    According to WSDL specification, the 'type' attribute of a 'binding' tagmust
    reference (bind to) an exisiting 'portType' tag. And it's the case here,no? I.e.
    we have a 'portType' tag called HelloWorldServicePort, which is referencedby
    the 'binding' tag named HelloWorldServiceBinding via its 'type' attribute:'HelloWorldServicePort'.
    >
    Where is the problem ?
    Thanks a lot
    Thanks for your help

  • ICI adaptor development--need spec and WSDL file

    Hi, I'm trying to develop a adaptor between ICI and our contact center software. I have the V3.0.3 spec for ICI but couldn't find the WSDL file anywhere.
    Thanks

    Hello Beigen,
    You can find the newest ICI document at:
    SAP CRM Integrated Communication Interface (CA-ICI) [original link is broken] > “Integrated Communication Interface”
    or directly
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b075ad90-0201-0010-6a99-fac1a256ac39
    However, we only have the WSDL as part of version 3.01.  The newer version is being worked on but no plan date yet.
    With the ICI version that you can access above, you will be able to see more examples and detail how to implement the ICI adapter.  The most efficient way would be to contact the SAP certification center to get more information.   Hope this helps.
    Best Regards,
    Satit Nuchitsiripattara
    SAP CRM Development

Maybe you are looking for