WSDL Import for External Definiton

Hi,
I'm trying to import a wsdl document in order to create an external definition for a WS I am wishing to envoke from XI.
However I get the following error:
Cause: Unable to recognize the loaded document as valid WSDL  The value "xsd:schema" is not permitted for the attribute "ref" of the "QName" type in the "/schema/element("Browse_DataSetResponse")/complexType/sequence/element("Browse_DataSetResult")/complexType/sequence/element("http://www.w3.org/2001/XMLSchema:schema")" element
followed by more errors relating to the value xsd:schema being used. 
However I have successfully used this wsdl before and it is from a commercial service so syntactically should be correct.
Can anybody help please. 
Thanks in advance
John

Hi Jhon,
There are two ways of defining an XSD (or WSDL). Depending the complexity, while importing an WSDL file, XI will not recognise the file as valid and throws errors. It might look a vague answer, but true, because I have faced similar problem in the past. There is a work around as follows. From your description I could understand, your WSDL is equivalent to File 1. Redefine your WSDL so that it doesn't contain any refernce types.
The File 1 & 2 below defines the same XML content but they way do is different. The first one uses a 'Type and Refence Linkage' where as the second one uses 'Direct Linkage'. Redefine your file as in 2 and import, it would work.
File 1:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:element name="Root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Child" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:attribute name="Name" type="xsd:string"/>
<xsd:attribute name="Mobile" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:elemet>
</xsd:schema>
File 2:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:element name="Root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Child" type="Type" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="Type">
<xsd:attribute name="Name" type="xs:string"/>
<xsd:attribute name="Mobile" type="xs:string"/>
</xsd:complexType >
</xsd:schema>
Hope it would help you.
Regards, Sreenivas.

Similar Messages

  • Catch: could not retrieve wsdl imports for wsdl

    Hello, I am using JDeveloper 11.1.1.17 and am configuring a catch in a BEPL for a web service.
    The web service itself works, and the composite that is calling the web service works properly.  I am now trying to configure the catch for the web service.  I create the catch, and double-click it to get the GUI for the configuration.
    I click on the magnifier to open the "Fault Chooser" window.  I click on the Partner links, then the service, and then the "Imported WSDL" for the service.  This exposes an error message:  Exception: could not retrieve wsdl imports for wsdl
    Given that the web service calls a service on a remote server (within my organization, however), I tried re-creating the web service call, and the second time specified that it "copythe WSDL and its dependent artifacts into the project" to see if this would allow the catch to "grab" the wsdl.
    It does not.  The wsdl is listed under the project wsdl files, but each project wsdl file does not show the necessary information.
    Does anyone know if I am doing anything incorrect?
    Points Vigorously awarded!
    Stuart

    Hi HDeiby,
    We are facing similar issue and trying to resolve the Oracle advices not to Copy the WSDL files locally , and writes a note " Keeping a copy of WSDL may result in synchronization issues "  in Jdeveloper when you try to create a reference .
    We found out a way to access the Fault by adding PartnerLink to the WSDL ( I know that it is not a best practice to mix interface and implementation ) . This avoids the synchronization issues .
    Do you have any other Thoughts .
    Cheers,
    Lakshmi

  • Proxy Object for external WSDL--Not using XI

    Dear Collegues,
    URL OF web service: <u>http://www.nanonull.com/TimeService/TimeService.asmx</u>
    I am trying to create proxy object from <b>se80->enterprise services->create proxy
    then is selecting url/http and giving the above address(url).</b>
    i get this error.
    <b>Message no. SPRX090
    If you want to generate a proxy for an external WSDL document (for example, by specifying a URL), check that the proxy settings of the system are correct (transaction sicf - Client - Proxy Settings).[/b
    it says something should be correct in SICF,say any one provide some pointers for this.I am not using XI.
    Regards
    chandra

    Hi,
    I know this issue is logged some time back.
    Is this Issue fixed for you?
    Can you please let us know the SICF Config settings that you used for fixing this Issue?
    Thanks and Regards,
    Nagendra

  • Import WSDL imported from WS Navigator.

    Hi Everybody,
    First, sorry for my English. I'm from Brazil.
    I've done an EJB in Developer Studio, generated a WebService in the same tools and deployed then in Application Server. After that, I run the WS Navigator and exported the WSDL to a zip file.
    So, I imported this WSDL in PI (External Definition) but I can't use this "External Definition" because when I try to use then in Message Mapping or Message Interface, the following error is showed: "Has no message".
    Do I have to convert the WSDL to XSD format?
    How can I use a WSDL as an External Definition?
    Does anybody could help me?
    Best Regards,
    Hyalen.

    Hello Sunil,
    Thank you for the quick response.
    I managed to import the WSDL. The problem is that I can not use the External Definition in the Message Mapping because the system said that has no message.
    In fact, after importing the WSDL Message tab is empty.
    Thanks a lot for the help.
    Hyalen.

  • Messages missing after WSDL import

    Hi,
    I imported the WDSL of a WebService in External Definitions in SAP XI. Unfortunately, I cannot see any messages. For other WebServices, this procedure worked fine.
    Any ideas?
    Regards
    Volker

    Hi Volker,
    Go thru the following threads it might be helpful:
    wsdl import and message in XI
    WSDL upload not showing namespace OR message
    Do share whether they helped you or not...
    Regards
    Suraj

  • Component getServiceDescription() with WSDL imports

    How are WSDL imports handled in JBI service descriptions? I was looking through several specifications OASIS and many of the WSDL definitions are broken into several files and use WSDL imports. According to the JBI spec,
    "The document must not use the <wsdl:import> or <wsdl:include> elements (the document MUST be stand-alone)."
    From this I gather it is up to a JBI component developer to merge existing WSDL specs together so that they can be represented by a WC3 Document object?
    Also several of the OASIS specs have WSDL SOAP binding requirements. Since the SOAP binding component is not in the JBI spec is it optional that the binding allow component/SU deployer's to specify the precise bindings to the Services? How does open-esb handle it?

    Aaron,
    The JBI component developer must do the merge you mentioned. Quite often this is done at design-time, and deployed as part of the service unit, so the component itself has little or nothing to do to create the description.
    The JBI specification does require each JBI implemenation to provide a WS-I 1.1-compliant SOAP binding.
    A service engine only declares the "service-engine" type of endpoint for services provided; if it declares other endpoint types (say, a SOAP binding) it is meaningless from the JBI perspective.
    To expose a service provided by an SE through the SOAP BC, normally an SU must be deployed to the BC (usually part of the SA that contains the SU for the SE).
    More dynamic situations are possible: the BC could dynamically discover services, and expose them to external consumers using some sort of heuristic mapping. This dynamic approach remains, as far as I know, theoretical: no one has actually implemented such a BC. Controlling exposure of services is something that needs to be more carefully controlled, via design-time mechanisms and/or a registry/repository.

  • What are the requried fields to be mentioned for external application login

    Hi all,
    I want to integrate a authenticated external application with my portal. My problem is that in the source code of the page, which contains login and paasword box, the action url is given as ../servlet/searchdirectory?Path=http://mybeat.techmahindra.com/ispace/home!section>cafetaria. When I give this URL in URL field for external application, it gives error as it is not a valid URL format. In fact, this site is redirecting the information for authentication. How can I get that URL????????
    Another problem is that, when I am giving the URL as http://mybeat.techmahindra.com/service/page/UserLoginForm?
    Path=http://mybeat.techmahindra.com/ispace/home!section>cafetaria after clicking apply button, it automatically removes the > sign and take it as http://mybeat.techmahindra.com/service/page/UserLoginForm?Path=http://mybeat.techmahindra.com/ispace/home!sectioncafetaria Is there any limitations for URL patterns which can be mentioned here????????
    Sid

    Hi Prasad,
    note 1080927 contains the most up-to-date a list of required SCs for BPM. Ensure that you have imported the corresponding SCAs because the Studio checks the availability of certain required DCs that all BPM DCs must reference.
    You can check which DCs are missing in the Component Properties view of the 7.11 NWDS: select the SC where you want to develop in Component Browser, switch to the "DC Types" tab in Component Properties and open the node for the DC type in question. DCs marked in red are missing.
    Regards
    Michael

  • How do I stop iMovie 11 auto importing from external HD?

    Okay, I'm going crazy. I, the intrepid Googler, have so far been unable to find the answer to this question. Please somebody help me!
    I have hundreds of video clips stored on an external hard drive. However, when I crank it up, iMovie exceptionally irritatingly starts auto-importing every single clip back onto my MacBook's hard drive. No! No! NOOOO! That's NOT what I want! Stop it! Stop it! Stop it! I only want to import ONE video of MY choice at a time to edit and then save it back to the external drive, I don't have enough ROOM for ALL of them on the internal drive, you crazy machine!!!!
    So. I go into iMovie preferences, where I'd expect to see an option for turning off auto import. Nope. I cannot see anything there. Do I have menu blindness? Am I losing my mind?
    Then I Google 'how to stop iMovie 11 from auto-importing from external hard drive and find nothing. Am I alone in this? Surely not. Am I being a dunce? Possibly.
    Advice, anyone?

    Okay. Please ignore the above. I was being a dunce. Today, it appears not to be doing it any more. Bizarre. LOL!

  • Data import for users of forms created with Livecycle Designer

    Hello,
    I have seen several posts regarding data import for forms created by Livecycle Designer but nothing that helps with something I am trying to accomplish.  I can create a data connection and import information in a form but what I would like to do is import data, then send the pdf for completion to a user.  There are a few data elements that I have available and the rest of the information comes from from the user.  The problem I run into is once I create a data connection, the pdf is ALWAYS looking for the source file for that data.  I simply want to prepopulate some fields and send to the various users for completion.  Any help would be greatly appreciated.
    Thanks!

    Which type of Data Connection are you trying to create?
    XML Schema, Sample Data File or WSDL?
    Creating any one of first two types(mentioned above) will only create schema and will never import any data into PDF.
    If you create the WSDL connection, you can surely import data (i.e. prepopulate data) into your PDF and forward it for users review/fill.
    If I misunderstood your question, please get me clarified.
    Nith

  • How to import GreenSock external classes?

    Hi, I'm having some problems in importing GreenSock external classes into my flash project.
    Line 27: import gs.*;
    Desktop\myFlashAPPS\twitter\src\zainu\twitter\MainClass.as, Line 27
    1172: Definition gs could not be found.
    Here is the directory tree:
    myFlashApp (contains myproject.fla)
         src
              zainu
                   twitter (contains MainClass.as and gs folder)
    MainClass.as:
    package zainu.twitter{

    You could try specifying the path to the gs folder as if you were importing it directly from the myproject.fla file.
    You should set up a classpath for external classes for your system so that Flash has a ready reference for finding them.  YOu can set this up via using Edit -> Preferences... -> Actionscript -> Actionscript 3.0 Settings... -> specify a source path.  Normally what people do is create a folder in a relatively general location and use that as their source path.   Within that they place a "com" folder, and within that com folder they place their subfolders for different classes they acquire from outside sources, such as your gs folder.  So when you want to import the gs classes you can use... import com.gs.*;
    There is a tutorial at gotoandlearn that explains this...   http://www.gotoandlearn.com/play.php?id=30

  • Message no. O3453 "No additional quantities imported from external applicat

    When I run LQ01, the following message appears Message no. O3453 "No additional quantities imported from external application"
    Function MB_CREATE_GOODS_MOVEMENT has been called for an HPM material (additional units of measure), but no additional quantities and UoM have been passed to the function. Stock levels cannot be posted correctly without this data.
    This material is an HPM MAterial and have additional units of measure.
    Any body can help me.
    Regards
    Vasco

    Ariane, thanks a lot,
    SAP answer me the same like you from "sap notes"
    Togheter with the developer, we doing a changes an OIL & GAS table as details note number 607156 and it´s work good.
    Regards
    Vasco

  • Wsimport failure as my wsdl import files from different sources

    I have tried to generate java code from wsdl using mtosi 1.1 example I ahve found in the Apache CXF sample.
    For the sake of knowledge wsdl2java of cxf was able to generate everything fine.
    wsimport fails.
    Unfortunately it's a pain to post all the wsdl, because each different WSDL imports other schemas and wsdl separately.
    The example is to be found in the cxf samples dir or at the following url.http://sourceforge.net/project/showfiles.php?group_id=153083
    Does wsimport work when the bindig files and schemas are defined explicitly?
    trying using the -b option with all the binding files and schemas does not change anything.
    This is the main wsdl:
    mtosi_1.1\wsdl\transport\http\ManagedElementMgrSOAP_HTTP.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- TMF854 Version 1.0 - Copyright TeleManagement Forum 2005, 2006 -->
    <wsdl:definitions xmlns:tmf854WS="tmf854.v1.ws" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="tmf854.v1.ws" name="TMF854-ManagedElementMgr-SOAP-HTTP">
         <wsdl:import namespace="tmf854.v1.ws" location="../../binding/soap_http/ManagedElementMgrSOAP.wsdl" />
         <wsdl:service name="ManagedElementMgr">
              <wsdl:port name="ManagedElementMgr" binding="tmf854WS:ManagedElementMgrSoapHTTPBinding">
                   <soap:address location="http://127.0.0.1/mtosi/v1/ManagedElementMgr" />
              </wsdl:port>
         </wsdl:service>
    </wsdl:definitions>I get this message:
    [ERROR] invalid extension element: "soap:header" (in namespace "http://schemas.xmlsoap.org/wsdl/soap/")

    I have posted this issue even in the netbeans issuezilla ( the defect appears in netbeans wizard as well).
    http://www.netbeans.org/issues/show_bug.cgi?id=122505
    from this url you can download the zip file containing the WSDL MTOSI specification I have tried to use.
    Every file contained into the directory I have used the mtosi_1.1\wsdl\transport\http\ is fine.

  • Wsdl import list

    I've been using flex's wsdl import feature to generate web
    service client code. It's been working quite well, but I noticed
    that if I checked in my entire project on one pc, then go to
    another pc and update it (im using svn btw), the second pc doesn't
    have the list of wsdls in the the manage web services window. To
    make matters worse, if i try to add the wsdl, it says its already
    added. Does anyone know how I might be able to get flex on the
    second pc to add the wsdl files to the management window
    automatically from an svn update? Thanks!

    Hello!
    I am getting this error, but the above fix does not solve the issue, however I do know what has caused it.
    I have an edmx file in a WCF webservice which feeds a silverlight app.  The edmx is quite complex and a bit fragile, but was working fine up until I introduced our Industry Codes view into the model.  The view is basically { ID, ParentID, Name, ... }.  In my model I have created an association to itself which describes Children(*)/Parent(0/1) so I have a nice and tidy hierarchical structure.  The edmx and the service build without any errors - hurrah!  However, when I update the service reference I then get the below error (and a whole load of others as none of the webservice objects exist anymore):
    Error 21 Custom tool error: Failed to generate code for the service reference 'WCF_ContactAdmin'.  Please check other error and warning messages for details. X:\2008-054 ContactAdmin_Silverlight\Contact2_Admin_Silverlight\Service References\WCF_ContactAdmin\Reference.svcmap 1 1 Contact2_Admin_Silverlight
    When I try the fix mentioned in the link above this error disappears, but then so do all the objects in the datamodel, so I cannot continue from there.
    Having the hierarchical data objects defined in the EDM will make like so much easier in future, any help will be greatly appreciated, thank you!!
    Tim
    Web Developer at Terrapinn

  • Which option do you use? PSD or TIFF for external edits?

    I'd like to hear why you use PSD or TIFF for external edits. Why do you choose one over the other? Do you wish you had a choice, as in an option, when you click on Edit in External Editor?

    I did a little reading on this and this is what I have found so far:
    Deke McClelland in Adobe Photoshop CS2 one-on-one states:
    "TIFF is a wonderful format to use when handing off CMYK files because it enjoys wide support and prints without incident."
    He also states "Photoshop also lets you save layers to the TIFF and PDF formats, but where multilayer compositions are concerned, the native PSD Format enjoys wider support among other imaging applications (including, older versions of Photoshop itself)."
    Classroom In A Book states:
    "TIFF is used to exchange files between applications and computer platforms. TIFF is a flexible format supported by virtually all pain, image-editing, and page-layout applications. Also, virtually all destop scanners can produce TIFF images.
    "PSE is the default file format. Because of the tight integration between Adobe products, other Adobe applications such as Adobe Illustrator, Adobe InDesign, and Adobe GoLive can directly import PSD files and preserve many Photoshop features.
    Apple Aperture 1.5 by Mike Cuenca:
    "PSD: The Photoshop proprietary format is widely used by digital imaging professionals because it supports the storage of alpha channels and layers. Aperture will preserve this extra data byt will not display the layers or channels. PSD files are not compressed, and although they are intended for use within Photoshop, they are becoming more widely accepted outside Photoshop."
    "TIFF: The TIFF format is the recommended format for high quality storage of master images. It has a loss-less compression method that can be applied, but more often the images are stored uncompressed. The TIFF format is also the most widely used format for images destined to be printed on a printing press."
    Maybe some of this will help
    MacBook Pro   Mac OS X (10.4.9)  

  • Enabling Quote custom field for External Pricing Response

    Hi All,
    Using UI configuration (adaptation) we are able to define new fields and enable them for standard web services. The result is that they are included in the relevant WSDLs and can be mapped using PI/HCI to equivalent fields in an external system such as SAP ECC.
    Looking at Quote's for example, we have defined a new field at Product Item Line level and have the following services we can enable it for.
    Enabling for the CustomerQuoteRequestExternalSalesDocumentDataOut outbound service adds the field to the External Pricing request part of the resulting WSDL, however it is not enabled for the response which is key to our requirement.
    Is it possible through PDI to enable this field for the inbound equivalent for CustomerQuoteRequestExternalSalesDocumentDataOut??? If not, is it possible to create the field through PDI and enable it that way?
    Thanks
    Indi

    Hi Chandan,
    Thanks for the response.
    The External Pricing interface for Quotes is synchronous so has no IDoc as such. We send some parameters to fetch a price from SAP ECC, and the response contains all the pricing information.
    In terms of the response, we're able to pass the value we need from SAP ECC to HCI, however there is no place in the WSDL for us to pass it to the field we have defined in C4C.
    The WSDL for External Pricing contains both the request and response structures, therefore two root nodes. Adaptation only allows us to enable the field for the request (outbound) node. I'm trying to work out how we can enable our custom field for the response (inbound) node within the WSDL structure.
    Thanks
    Indi

Maybe you are looking for

  • Can a website created in Dreamweaver 5.5 be maintained with Contribute 6.5?

    I have a client who I have advised to purchase Contribute to maintain the website I created for her. When I go to Adobe I see version 6.5. Would she be able to use this newer version to make her updates even if i created the website and all its edita

  • How to assign approver to missing approver of workflow

    We have defined approval group on specific employee so when every user create their leave then it go to specific user for approval. Now the issue is, approver has been terminated and the dynamic query is getting no record. Due to this neither approve

  • How to delete a Calendar in iPhone?

    I subscribe to a Swedish Holiday Calendar for iCal. When I noted that they had put the Easter in 2010 one week too late I managed to refresh it in my Mac but I can not make it change in iPhone. As there is no way to delete a Calendar i iPhone I delet

  • ISSUES WITH 2.2 UPDATE ON THE ALLY

    The option "Picture Frame" Under Widgets is no longer available. I would rather have the older version of Android back. Anyone no how to set it back to the older software? The dialpad is now smaller buttons and the ringtones selected are not setting

  • Call(PUSH) Button after executing report

    Hi, After executing report how to call select layout button automatically, and select layout screen display at output of screen after executing report. Regards Arpit