Consuming URL renames XSD and WSDL files in OSB

We try to define a proxy service in the OSB 11g by consuming an URL.
We have all our WSDLs, XSDs etc online available, that is references like import of include in a WSDL uses URLs to identify other WSDLs or XSDs. In fact a webservice has a concrete WSDL which imports an abstract WSDL. The abstract WSDL imports XSD's. The XSD's file can import another XSD's as well. It is more or less a tree structure of XML documents.
When we try to define a proxy or business service on the concrete WSDL in Eclipse by consuming the URL ending on ?wsdl, all meaningfull names of XSD's are replaced by generated names i.e. common.xsd becomes xml_1233.xsd. And all URL references are replaced by file references. The depencency tree is preserved, everthing is still valid however the names are no longer human readable.
Is there any way to preserve the filenames of XML documents?
With kinds regards,
Jornica

Hi Anuj,
I followed this link to create the MDS connection and local MDS repository, should I create an empty composite project and place the
zip file of my xsd's in this and bundle that in to an MAR file? Are there any documents that talks about MAR creation?
Thanks,
Jai.

Similar Messages

  • CustomizeWSDL, importing xsd in wsdl file.

    We have requirement of importing centralized XSD files in WSDL,
    1) based on best practices I believe we should do following:
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" >
    <import namespace="http://xmlns.oracle.com/HelloWorld" schemaLocation="http://localhost:7777/xsd/HelloWorld.xsd"/>
    </schema>
    </types>
    2) Now, for life cycle management I thought of writing custom Ant task, but I believe customizeWSDL should take care of it,
    I tried,
    <customizeWSDL inFile="${process.dir}/bpel/WriteToMyFile.wsdl" outFile="${process.dir}/bpel/WriteToMyFile.wsdl">
    <wsdlImport namespace="http://xmlns.oracle.com/HelloWorld" locationURI="http://${http.hostname}:${http.port}/xsd/HelloWorld.xsd" />
    </customizeWSDL>
    but it didn't work. I know it is for wsdl import, but based document it says XSD and WSDL import are both supported in customizeWSDL.
    I looked at the source code of customizeWSDL as well, it doesn't look like there is any special xsdImport child tag inside customizeWSDL.
    Can anybody please help me here??
    Thanks a lot!
    Chintan

    Hi Ninad,
    WS Policy is  Standard that is used by any intregration tools while generating the .WSDL's, If the 3 party systems cannot understand WS Policy, you can easily remove them by using tools like XML notepad, XML spy in deleting them and feed in your WSDL files to the 3rd party systems.
    Hope this clears your issue.
    Thanks,
    KishoreJ.

  • 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

  • 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

  • XSD and WSDL in MDS

    Experts,
    Can someone give me the steps to create a project, add the xsd and wsld files in it and deploy the project to MDS.
    Thanks,
    Jai.

    Hi Anuj,
    I followed this link to create the MDS connection and local MDS repository, should I create an empty composite project and place the
    zip file of my xsd's in this and bundle that in to an MAR file? Are there any documents that talks about MAR creation?
    Thanks,
    Jai.

  • 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.

  • 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?

  • Try to do my first XML Schema in SQL Server 2012 Mangement Studio(SSMS2012)-How to execute the xsd and xml files in SSMS2012?

    Hi all,
    I learmed the basic stuff of XML, DTD, DOM, etc. long time ago. Now, I came back to resume my XML journey and try to learn the XML Schemas, XPath and XQuery. I have Microsoft SQL Server 2012 Management Studio (SSMS2012) in our computer network. From
    Page 221 of the old Book "Beginning XML 2nd Edition" written by David Hunter, et.al., (published by Wrox), I copied the name5.xsd and name5.xml :
    <?xml version="1.0"?>
    <schema xmlns=http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.wrox.com/name" xmlns:target="http://www.wrox.com/name"
    elementFormDefault="qualified">
    <element name="name">
    <complexType>
    <sequence>
    <element name="first" type="string"/>
    <element name="middle" type="string"/>
    <element name="last" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    <?xml version="1.0"?>
    <name
    xmlns=http://www.wrox.com/name"
    xmlns:xsi="http://www.wrox.org/2001XMLSchema-instance"
    xsi:schemaLocation="http://www.wrox.com/name name5.xsd"
    title="Mr.">
    <first>John</first>
    <middle>Frizgerald</middle>
    <last>Doe</last>
    </name>
    How can I execute these two files in my SSMS2012 for doing my first XML Schema trial?
    Please kindly help, advise and respond.
    Thanks in advance,
    Scott Chang

    Hi Eric Zhang, Thanks for your nice response.
    1) I saw the CREATE XML SCHEMA COLLECTION (Transact-SQL) and tried  its first example "Create XML schema collection in the database" in my SQL Server 2012 Management Studio (SSMS2012):
    -- Create a sample database in which to load the XML schema collection.
    -- Copied this set of code stsments from Microsoft Library (ms176009)
    -- ColesMS12_20a.sql (saved in C:/Documents/SQL Server Management Studio)
    -- 19 March 2015 1145 AM
    CREATE DATABASE SampleDB
    GO
    USE SampleDB
    GO
    CREATE XML SCHEMA COLLECTION ManuInstructionsSchemaCollection AS
    N'<?xml version="1.0" encoding="UTF-16"?>
    <xsd:schema targetNamespace="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions"
    xmlns ="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
    <xsd:complexType name="StepType" mixed="true" >
    <xsd:choice minOccurs="0" maxOccurs="unbounded" >
    <xsd:element name="tool" type="xsd:string" />
    <xsd:element name="material" type="xsd:string" />
    <xsd:element name="blueprint" type="xsd:string" />
    <xsd:element name="specs" type="xsd:string" />
    <xsd:element name="diag" type="xsd:string" />
    </xsd:choice>
    </xsd:complexType>
    <xsd:element name="root">
    <xsd:complexType mixed="true">
    <xsd:sequence>
    <xsd:element name="Location" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType mixed="true">
    <xsd:sequence>
    <xsd:element name="step" type="StepType" minOccurs="1" maxOccurs="unbounded" />
    </xsd:sequence>
    <xsd:attribute name="LocationID" type="xsd:integer" use="required"/>
    <xsd:attribute name="SetupHours" type="xsd:decimal" use="optional"/>
    <xsd:attribute name="MachineHours" type="xsd:decimal" use="optional"/>
    <xsd:attribute name="LaborHours" type="xsd:decimal" use="optional"/>
    <xsd:attribute name="LotSize" type="xsd:decimal" use="optional"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>' ;
    GO
    -- Verify - list of collections in the database.
    select *
    from sys.xml_schema_collections
    -- Verify - list of namespaces in the database.
    select name
    from sys.xml_schema_namespaces
    -- Use it. Create a typed xml variable. Note collection name specified.
    DECLARE @x xml (ManuInstructionsSchemaCollection)
    GO
    --Or create a typed xml column.
    CREATE TABLE T (
    i int primary key,
    x xml (ManuInstructionsSchemaCollection))
    GO
    -- ////The following code statements are not used in order to create SampleDB
    -- Clean up
    ---DROP TABLE T
    ---GO
    ---DROP XML SCHEMA COLLECTION ManuInstructionsSchemaCollection
    ---Go
    ---USE Master
    ---GO
    ---DROP DATABASE SampleDB
    It worked and I got the following results:
    1 4 NULL sys 2009-04-13 12:59:13.390 2012-02-10 20:16:02.097
    65536 1 NULL ManuInstructionsSchemaCollection 2015-03-19 11:47:17.660 2015-03-19 11:47:17.660
    http://www.w3.org/2001/XMLSchema
    http://schemas.microsoft.com/sqlserver/2004/sqltypes
    http://www.w3.org/XML/1998/namespace
    http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions
    But, I don't undertand (i) what SCHEMA COECTION is, (ii) what <xsd:schema targetNamespace=.....</xsd:complexType> are, (iii) How I can specify my "project specific" schema in the Microsoft SCHEMA COLLECTION to check my xml file.
    2) I dived in the XQuery programmimng in SSMS2012 in the last few weeks. I used the examles of Ad-Hoc XML File Query by Seth Delconte (in
    httpS://www.simple-talk.com/content/print.aspx?article=1756) in my SSMS2012. They worked. But I don't understand the (i) Importing XML data using a function, (ii) Using the XQuery contans()
    function to find substrings, (iii)Efficiency comparisons in the article.
    Please kindly help me in enlightening me to resolve the difficulties listed in 1) and 2).
    Thanks,
    Scott Chang

  • External portal capturing internal portal URL in Log and trace file

    Hi,
    We are facing one issue in portal like we have two portals for internal (Intranet) and external (Internet) users.
    Once users logged in the application and try to get the information about mylink from the external portal link (internet) they should not get any information about the internal portal.
    But in log and trace file we can see the external portal link capturing the internal portal URL.
    We need to find, from where system capturing the internal portal URL.
    Thanks.

    The tkproffed trace file is in seconds.
    "set timing" is in hh:mi:ss.uu format. So 00:00:01.01 is 1.01 seconds.
    You have to remember that most of these measurements are rounded. While your trace file says it contains one second of trace data, you know it's more.
    One excellent resource for trace files is "Optimizing Oracle Performance" by Cary Millsap & Jeff Holt. (http://www.amazon.com/Optimizing-Oracle-Performance-Cary-Millsap/dp/059600527X ) I thought I knew trace files before, but this book brings your knowledge to a whole new level.
    There is also an excellent WP by Cary Millsap ( http://method-r.com/downloads/doc_details/10-for-developers-making-friends-with-the-oracle-database-cary-millsap ) that gives you some insight.

  • Create web service consumer client with Ant and wsdl

    How can I create a web service client with just Ant and WSDL?
    Thanks.

    Hi,
    Did you check this web log?
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    Eddy

  • 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

  • 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

  • Problem in Importing wsdl file in IR

    Hi ,
    I am doing soap receiver scenario.I had a wsdl generated from .Net and i imported the wsdl , i am not able to find teh methods in the external defination ,
    Wat wil be theproblem.
    Regards,
    Shaik

    Hi,
    problems occur during the import of xsd and wsdl files as external definitions if the target namespace contains more than 60 characters. The system does not issue any error message, however, the list of the
    recognized messages remains empty.
    Solution;
    For a wsdl file, you simply need to edit the target namespace manually ( attribute "targetNamespace" of the wsdl:definitions element) and reduce the number of characters to less than 60. For the structure of the extracted messages (exception: import assuming rpc style binding, see below), this target namespace does not have any importance.
    Regards,
    Jayasimha Jangam

  • Oracle text search not working for  WSDL files

    I have a table (resources) with blob data type column (xml_data) and I've created context type index on that column. I've XSD and WSDL files stored in that blob column.
    I can search XSD and XML files with a query with contains operator. But any search on the words from wsdl file returns zero results.I am not able to perform search on wsdl file.
    Please advise me whether oracle text can work for WSDL files also ?
    Query details
    ===========
    create index myIndex on resources (xml_data) indextype is ctxsys.context;
    select * from resources where contains(xml_data, 'searchword') > 0
    Thanks a lot,
    Santhi

    Even though it isn't listed specifically, I can't see why it wouldn't work. The WSDL file should be a simple XML file, so in theory it shouldn't be any different to Oracle Text than the XML file that you loaded and searched successfully. Did you get any errors during indexing, and what do your tokens look like in the DR$MYINDEX$I.TOKEN_TEXT column?
    Do you have a mini test case that didn't work for you? Perhaps we could play with it a bit.
    Long term you might want to consider using section groups so that you can search "within" tags.
    -Ron

Maybe you are looking for

  • Accounting Document not updated after Vf01(billing)

    Hi Gurus, After creating invoice in vf01 when i m looking at accounting document, then my value is updated but the quantity is not updated in fb02. when i see table BSEG then the value of MENGE is not updated there. It is always coming ZERO. Thanks i

  • How do I customize the error page

    Our IT department has adopted a policy that requires a standard look and feel for all error pages encountered in any web application. To this end I need to be able to modify the error page that shows up on the browser when an unexpected error is enco

  • Read text file and insert into MySQL

    Dears, I need to read text file and then insert the data in the correct column in the MySQL database example I have the following text file: field1=1234 field2=56789 field3=444555 field1=1333 field2=2222 field3=333555 and so on and so forth ,,note th

  • XI E1EDKT1 mapping question

    Hi, I have a case where we receive a file with the following structure: <ORDERS01> <ORDERS03> <ORDERS04> <ORDERS02> <ORDERS05> where <ORDERS01> = (Header info. for the order) <ORDERS03> = (Header Texts for the order,               one textline/segmen

  • Disallow change in material through CJ20N if PR release & PO exist

    Requirement is as follows. 1. No change in PR material through CJ20N if related PR status is released. 2. No change in PR material through CJ20N if related PO is exist for the same. 3. Not allow to add new material through CJ20N if PR status is relea