Invalid SRS when create a map tile layer

Hi,
When i created a map tile layer and submit , it shows “Error creating a new map tile layer: Invalid SRS(spatial referencing system). This might be caused by invalid SRID or no database connection being available to retrieve SRS information.”
And I can't view the map tile which I've created before, it alerts "Cannot get map cache instance config information for MVDEMO.DEMO_MAP. Server response: {1}.
Thanks for any assistance.
a-Li

Are you trying to create a new map tile layer for the MVDEMO sample data set? If that's what you are trying to do, then may I suggest you re-download the latest MapViewer kit (10.1.3.3 for WebLogic, works on any 10g OracleAS and standalone OC4J as well), it includes a refreshed MVDEMO data set, and the best part is it already has the MVDEMO.DEMO_MAP map tile layer created for you (if you follow all the instructions come with the demo data set).
If you still want to create a new map tile layer, then can you please post the exact parameters you entered when creating the new tile layer? Since the MVDEMO data set has a built-in SRID of 8307 (if I remember correctly), you can always use the same SRID (8307) for your tile layer.
thanks

Similar Messages

  • Is there a way to create multiple map tile layers at once?

    Hello experts,
    I have a small problem. It's mainly a matter of saving some time. I need to create 51 map tile layers in mapviewer, and I would like to this this at one time. I can go to the admin console-->Management-->Manage Map Tile Layers-->Create, and then I can create one at a time. But it really would be nice to create them all at once!
    I tried using the XML mode interface, and I can use the following code to create one map tile layer:
    <?xml version="1.0" standalone="yes"?>
    <map_tile_server_admin_request>
      <create_map_tile_layer data_source="xxxx">
        <map_tile_layer
            name="FOUNDATION"
            http_header_expires="168"
            image_format="PNG">
          <internal_map_source base_map="FOUNDATION"/>
          <tile_storage root_path="/scratch/tilecache" />
          <coordinate_system
              srid="8265"
              minX="-180" maxX="180" minY="-90" maxY="90"/>
          <tile_image width="250" height="250" />
          <zoom_levels levels="10" min_scale="5000" max_scale="10000000">
          </zoom_levels>
        </map_tile_layer>
      </create_map_tile_layer>
    </map_tile_server_admin_request> And it creates one layer. But when I try this:
    <?xml version="1.0" standalone="yes"?>
    <map_tile_server_admin_request>
      <create_map_tile_layer data_source="xxxx">
        <map_tile_layer
            name="FOUNDATION"
            http_header_expires="168"
            image_format="PNG">
          <internal_map_source base_map="FOUNDATION"/>
          <tile_storage root_path="/scratch/tilecache" />
          <coordinate_system
              srid="8265"
              minX="-180" maxX="180" minY="-90" maxY="90"/>
          <tile_image width="250" height="250" />
          <zoom_levels levels="10" min_scale="5000" max_scale="10000000">
          </zoom_levels>
        </map_tile_layer>
      </create_map_tile_layer>
      <create_map_tile_layer data_source="xxxx">
        <map_tile_layer
            name="FOUNDATION_WY"
            http_header_expires="168"
            image_format="PNG">
          <internal_map_source base_map="FOUNDATION_WY"/>
          <tile_storage root_path="/scratch/tilecache" />
          <coordinate_system
              srid="8265"
              minX="-180" maxX="180" minY="-90" maxY="90"/>
          <tile_image width="250" height="250" />
          <zoom_levels levels="10" min_scale="5000" max_scale="10000000">
          </zoom_levels>
        </map_tile_layer>
      </create_map_tile_layer>
    </map_tile_server_admin_request>...it creates only the first map tile layer in my xml request.
    Is there any way to create multiple map tile layers at once?
    Thank you!
    John

    Michael,
    It looks like you are right! Thank you for your help.
    I still have a small concern. I looked at the documentation and it reads,
    "The configuration settings for a cache instance are stored in the USER_SDO_CACHED_MAPS metadata view. You should normally not manipulate this view directly, but should instead use the MapViewer administration tool, which uses this view to configure map cache instances."
    But, I tried inserting records into USER_SDO_CACHED_MAPS and it works, and I can't really see any reason not to directly insert records into this table, so...
    Perhaps that warning is there simply because potentially you could screw things up tinkering with the table directly.
    Cheers!
    John

  • Please Help; MAPVIEWER-05501 Map tile layer not found error

    Hi, I am just a newbie to oracle mapviewer; I installed mv 11.x. on Xe 11g with mvdemo dataset as mentioned in demo setup instructions.
    It seems everything went fine including mvdemo data import and oc4j instance.
    Only thing if i am missing is when I goto create "Create a map tile layer" in "Manage MapViewer" of "Admin" page; I can find datasource but do not find anything in "base map" combo. Thus i can't create Any Map tile.
    Now, when I click on a demo example I get following error:
    *[MVglobalvariables.getmap.cacheconfig]mapviewer-05501:maptile layer not found.check map tile layer name and/or data source name(mvdemo.demo_map)*
    When i check the user_sdo_cached_maps view return "no rows selected ".
    I have tried many restarts, re-import of mvdemo data but nothing worked.
    please help me.
    Regards

    Thanks Anyway I have found the solution, indeed I was missing the metadata script using @mvdemo.SQL.
    I Followed the instructions on the sites given below:
    http://gerardnico.com/wiki/spatial/mapviewer/mapviewer_demo_installation
    http://www.dbuggr.com/smallwei/step-step-instruction-install-oracle-mapviewer-10g-10-1-3-1/

  • Error loading Map Tile Layer when restart

    Hi all,
    I'm a newbie to Mapviewer. I'm having some problem after i restart the oc4j. Originally, when i insert the image into georaster and some other steps, then i did a xml_request for the map tile. It could load the map originally. When i restart the oc4j, it gives me the following error
    2008-03-11 17:55:28.046 WARNING Cannot list base maps.
    2008-03-11 17:55:28.203 ERROR Error in loading map tile layer config from databa
    se!(TEST,ML1)
    2008-03-11 17:55:28.203 ERROR Base map does not exist. Cannot create internal ma
    p source.(TEST,ML1)
    The mapviewer and app server is on the same domain but the database in on a different domain. When i tried to shift mapviewer to the same domain as the database, it won't cause this problem.
    Could anyone suggest me any solution?
    Message was edited by:
    nvr4getu

    Hi,
    It's pointing to the correct data sources. I've even tried to remove all the map tile and data, then upload again from my test application, it can render the map. However, when i restart the oc4j, the error occur again. Is this a bug of mapviewer that mapviewer must be deploy on the same machine with database?
    Cheng

  • Getting MAPVIEWER-05501 Map tile layer not found error !

    I keep getting an error messages basically saying that the application cannot find my
    map tile (or map cache) layer. It seems to be looking for it using "datasourceName.CacheName".
    I must be usiing the wrong attribute or identifier for this but don't know where to look to
    see what it is currently set to.
    Looking for a method to trouble shoot this error and fix it.

    Look in the MapViewer Admin console's Manage Map Tile Layers page i.e. host:port/mapviewer/faces/admin/admin_ds.jspx
    You should see entries for existing data sources and tile layers like
    Name      Data Source     Base map     Zoom levels     Internal     Tile width     Tile height     Online
    DEMO_MAP     MVDEMO     DEMO_MAP     10     true     256     256     true
    If the data source and map tile layer name combination you're using is not there then one has to be created.
    Assuming the base map is defined click on Create to create a new tile layer.
    If you're using the mvdemo.dmp sample dataset there are an additional step required after importing the dmp file.
    i.e. run mvdemo.sql as the map tile layer instances are created by this script.
    See mapviewer/fsmc/tutorial/setup.html

  • Component has not input columns and/or input columns have invalid id when creating package programmatically

    I am developing an ETL tool which has to create SSIS packages dynamically (and later execute them without being edited in Data Tools). One of my proto type scenarios is a simple data flow from a flat file to a flat file - without anything in between.
    However there is a problem with the columns of the flat file destination - it says it doesn't have any.
    Saving the package to XML and opening the destination component in the advanced editor (tab "Input and Output Properties") really shows that are no input columns defined. One click on the tab "Column Mappings" however solves the
    problem. The columns and the mapping are generated, the package can run.
    I already tried to place "ReinitializeMetaData()" calls nearly anywhere in the code, for both components, unfortunately without success:
    destinationComponentWrapper.AcquireConnections(null);
    destinationComponentWrapper.ReinitializeMetaData();
    destinationComponentWrapper.ReleaseConnections();
    The actual error during validation is (When the line for column mapping in the code below is commented out):
    "0xC020201B - The number of input columns for Flat File Destination.Inputs[Flat File Destination Inputs] cannot be zero"
    I am also trying to insert a column mapping - this leads to a com error: 0xC020201B
    In this case I am wondering why Data Tools tell me that there are no input columns yet I can iterate over them - they just don't have a valid ID (0x8000004B / -2147483573) which is then causing the 0xC020201B.
    See also "PROBLEM HERE" marker in the code below.
    How can I make the destination component recognize the columns programmatically, as when I click on the "Column Mappings" tab of the advanced editor of the component in Data Tools?
    Here is the complete proto type code:
    using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
    using Microsoft.SqlServer.Dts.Runtime;
    using Microsoft.SqlServer.Dts.Runtime.Wrapper;
    using System;
    using System.IO;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using Dts = Microsoft.SqlServer.Dts;
    namespace msdatapipe
    class Program
    static void Main(string[] args)
    Dts.Runtime.Application application = new Dts.Runtime.Application();
    Dts.Runtime.Package package = new Dts.Runtime.Package();
    package.Name = "Data Commander DTS Package";
    // ADD PIPELINE TASK
    Dts.Runtime.Executable pipelineExecutable = package.Executables.Add("STOCK:PipelineTask");
    Dts.Runtime.TaskHost pipelineTaskHost = (Dts.Runtime.TaskHost)pipelineExecutable;
    pipelineTaskHost.Name = "Data Commander Pipeline Task";
    Dts.Pipeline.Wrapper.MainPipe pipelineTask = (Dts.Pipeline.Wrapper.MainPipe) pipelineTaskHost.InnerObject;
    // ADD SOURCE COMPONENT TO THE PIPELINE TASK
    String sourceFilePath = "C:\\cmi\\tmp\\data.csv";
    Dts.Runtime.ConnectionManager sourceConnectionManager = package.Connections.Add("FLATFILE");
    sourceConnectionManager.ConnectionString = sourceFilePath;
    sourceConnectionManager.Name = "Source Connection";
    sourceConnectionManager.Description = "Source Connection Manager";
    sourceConnectionManager.Properties["ColumnNamesInFirstDataRow"].SetValue(sourceConnectionManager, "True");
    sourceConnectionManager.Properties["Format"].SetValue(sourceConnectionManager, "Delimited");
    sourceConnectionManager.Properties["TextQualifier"].SetValue(sourceConnectionManager, "\"");
    sourceConnectionManager.Properties["CodePage"].SetValue(sourceConnectionManager, "65001");
    sourceConnectionManager.DelayValidation = false;
    // START --- MANUALLY READ COLUMNS FROM TEXT FILE AND ADD TO SOURCE CONNECTION MANAGER COLUMNS
    IDTSConnectionManagerFlatFile100 sourceConnectionInterface = sourceConnectionManager.InnerObject as IDTSConnectionManagerFlatFile100;
    using (StreamReader reader = new StreamReader(sourceFilePath))
    String firstSourceFileLine = reader.ReadLine();
    String[] columnNames = firstSourceFileLine.Split(',');
    for (int i = 0; i < columnNames.Length; ++i)
    columnNames[i] = columnNames[i].Substring(1, columnNames[i].Length - 2);
    IDTSConnectionManagerFlatFileColumns100 sourceColumns = sourceConnectionManager.Properties["Columns"].GetValue(sourceConnectionInterface) as IDTSConnectionManagerFlatFileColumns100;
    IDTSConnectionManagerFlatFileColumn100 column = null;
    foreach (String columnName in columnNames)
    column = sourceColumns.Add();
    column.DataType = DataType.DT_TEXT;
    column.ColumnDelimiter = ",";
    column.TextQualified = true;
    (column as IDTSName100).Name = columnName;
    Console.WriteLine(columnName);
    column.ColumnDelimiter = "\r\n";
    // END --- MANUALLY READ COLUMNS FROM TEXT FILE AND ADD TO SOURCE CONNECTION MANAGER COLUMNS
    sourceConnectionInterface.RowDelimiter = "\r\n";
    Dts.Pipeline.Wrapper.IDTSComponentMetaData100 sourceComponent = pipelineTask.ComponentMetaDataCollection.New();
    sourceComponent.Name = "Flat File Source";
    sourceComponent.ComponentClassID = "DTSAdapter.FlatFileSource";
    sourceComponent.ValidateExternalMetadata = true;
    CManagedComponentWrapper sourceComponentWrapper = sourceComponent.Instantiate();
    sourceComponentWrapper.ProvideComponentProperties();
    // LINK CONNECTION TO THE SOURCE COMPONENT
    sourceComponent.RuntimeConnectionCollection[0].ConnectionManager = Dts.Runtime.DtsConvert.GetExtendedInterface(sourceConnectionManager);
    sourceComponent.RuntimeConnectionCollection[0].ConnectionManagerID = sourceConnectionManager.ID;
    // Connect to the data source, and then update the metadata for the source.
    //sourceComponentWrapper.Validate();
    //sourceComponentWrapper.ProvideComponentProperties();
    sourceComponentWrapper.AcquireConnections(null);
    sourceComponentWrapper.ReinitializeMetaData();
    sourceComponentWrapper.ReleaseConnections();
    // ADD DESTINATION CONNECTION MANAGER
    Dts.Runtime.ConnectionManager destinationConnectionManager = package.Connections.Add("FLATFILE");
    destinationConnectionManager.ConnectionString = "C:\\cmi\\tmp\\data_out.csv";
    destinationConnectionManager.Name = "DatComConOut";
    destinationConnectionManager.Description = "Data Commander Connection Manager";
    destinationConnectionManager.DelayValidation = false;
    destinationConnectionManager.Properties["Format"].SetValue(destinationConnectionManager, "Delimited");
    destinationConnectionManager.Properties["TextQualifier"].SetValue(destinationConnectionManager, "\"");
    destinationConnectionManager.Properties["CodePage"].SetValue(destinationConnectionManager, "65001");
    // ADD DESTINATION COMPONENT
    Dts.Pipeline.Wrapper.IDTSComponentMetaData100 destinationComponent = pipelineTask.ComponentMetaDataCollection.New();
    destinationComponent.Name = "Flat File Destination";
    destinationComponent.ComponentClassID = "DTSAdapter.FlatFileDestination";
    destinationComponent.ValidateExternalMetadata = true;
    CManagedComponentWrapper destinationComponentWrapper = destinationComponent.Instantiate();
    destinationComponentWrapper.ProvideComponentProperties();
    destinationComponent.RuntimeConnectionCollection[0].ConnectionManager = Dts.Runtime.DtsConvert.GetExtendedInterface(destinationConnectionManager);
    destinationComponent.RuntimeConnectionCollection[0].ConnectionManagerID = destinationConnectionManager.ID;
    // CREATE PATH
    Dts.Pipeline.Wrapper.IDTSPath100 pipelinePath = pipelineTask.PathCollection.New();
    pipelinePath.AttachPathAndPropagateNotifications(sourceComponent.OutputCollection[0], destinationComponent.InputCollection[0]);
    // DESTION CONNECTION MANAGER COLUMNS
    IDTSConnectionManagerFlatFile100 destinationConnectionInterface = destinationConnectionManager.InnerObject as IDTSConnectionManagerFlatFile100;
    IDTSConnectionManagerFlatFileColumns100 destinationColumns = destinationConnectionManager.Properties["Columns"].GetValue(destinationConnectionManager) as IDTSConnectionManagerFlatFileColumns100;
    // START --- MANUALLY READ COLUMNS FROM DESTINATION COMPONENT AND ADD THEM TO DESTIONATION CONNECTION MANAGER COLUMNS
    foreach (IDTSInput100 input in destinationComponent.InputCollection)
    IDTSVirtualInput100 virtualInput = input.GetVirtualInput();
    IDTSConnectionManagerFlatFileColumn100 column = null;
    foreach (IDTSVirtualInputColumn100 virtualInputColumn in virtualInput.VirtualInputColumnCollection)
    column = destinationColumns.Add();
    column.DataType = DataType.DT_TEXT;
    column.ColumnDelimiter = ",";
    column.TextQualified = true;
    (column as IDTSName100).Name = virtualInputColumn.Name;
    column.ColumnDelimiter = "\r\n";
    // END --- MANUALLY READ COLUMNS FROM DESTINATION COMPONENT AND ADD THEM TO DESTIONATION CONNECTION MANAGER COLUMNS
    // NEED TO CREATE NEW META DATA AFTER COLUMNS
    destinationComponentWrapper.AcquireConnections(null);
    destinationComponentWrapper.ReinitializeMetaData();
    destinationComponentWrapper.ReleaseConnections();
    // MAP INPUT COLUMNS
    foreach (IDTSInput100 input in destinationComponent.InputCollection)
    IDTSVirtualInput100 virtualInput = input.GetVirtualInput();
    foreach (IDTSVirtualInputColumn100 virtualInputColumn in virtualInput.VirtualInputColumnCollection)
    Console.WriteLine("VIC " + virtualInputColumn.Name + "(" + virtualInputColumn.ID + ")");
    destinationComponentWrapper.SetUsageType(input.ID, virtualInput, virtualInputColumn.LineageID, DTSUsageType.UT_READONLY);
    foreach (IDTSExternalMetadataColumn100 metadataColumn in input.ExternalMetadataColumnCollection)
    if (virtualInputColumn.Name.Equals(metadataColumn.Name)) {
    // PROBLEM HERE:
    // An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in msdatapipe.exe
    // Additional information: Exception HRESULT: 0xC0047072
    // at this point is virtualInputColumn.ID = -2147483573
    destinationComponentWrapper.MapInputColumn(input.ID, virtualInputColumn.ID, metadataColumn.ID);
    // if the code is commented out and the program rerun there is a package validation error instead: 0xC020201B
    // 0xC020201B - The number of input columns for Flat File Destination.Inputs[Flat File Destination Inputs] cannot be zero
    // NEED TO CREATE META DATA AFTER COLUMNS HAVE BEEN ADDED TO THE DESTIONATION MANAGER
    // AND USAGE TYPE HAS BEEN SET OR WE'LL GET A VS_NEEDSNEWMETADATA
    destinationComponentWrapper.AcquireConnections(null);
    destinationComponentWrapper.ReinitializeMetaData();
    destinationComponentWrapper.ReleaseConnections();
    // SAVING DTSX PACKAGE FOR DEBUGGING
    application.SaveToXml("C:\\Users\\CMI\\documents\\visual studio 2010\\Projects\\SSIS Tutorial\\SSIS Tutorial\\generated.dtsx", package, null);
    Microsoft.SqlServer.Dts.Runtime.DTSExecResult packageResults = package.Execute();
    Console.WriteLine("package execution result: " + packageResults.ToString());
    // Basic check for errors
    foreach (DtsError error in package.Errors)
    Console.WriteLine("ErrorCode : 0x{0:X}", error.ErrorCode);
    Console.WriteLine(" SubComponent : {0}", error.SubComponent);
    Console.WriteLine(" Description : {0}", error.Description);
    Console.WriteLine("press the return key hard to continue...");
    Console.Read();

    I suggest you revise your code against examples given in http://blogs.msdn.com/b/mattm/archive/2008/12/30/samples-for-creating-ssis-packages-programmatically.aspx
    Arthur My Blog

  • Internal GUI Error when creating Message Mapping.

    Hi Experts,
    An Unexpected Exception occurs when I try to create a Message Mapping on PI 7.1 EHP1.
    After that the object is not create but is locked, if I try to create again an error message is displayed saying "Object Message Mapping: mm_efgsdjk | http://testexxxx currently being edited by user CONSULTOR".
    Can anyone help-me with this problema ?
    Thanks in advance,
    Regis Ferrato

    Hello,
    To unlock the object, please do the following.
    1. Goto Integration Builder homepage and click on "Administration" link on top right menu.
    2. Goto Repository tab >> Lock Overview.
    3. You can select and delete the required locked object.
    Please not that if you dont have the access to this screen, you need to ask basis to do this or give you the access.
    Regards,
    Vikas

  • NullPointerException encountered when creating Message Mapping

    Hi experts,
    I created 3 messages using a wsdl external definition
    - GetPatientDemographicOutput
    - GetPatientDemographicInput
    - SOAPFaultMessage
    With this, I wanted to to create a message mapping object, to map GetPatientDemographicInput to a pre-defined message format.
    However, when I try to select "GetPatientDemographicInput" as "Source Message" in the "Message Mapping" window, I encounter a NullPointerException.
    The wsdl file I used is:
    === Start wsdl file definition ====================================
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Administrator (Fujitsu) -->
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:y="http://new.webservice.namespace" xmlns:ns="a" xmlns:ns1="b" targetNamespace="http://new.webservice.namespace">
         <types>
              <xs:schema xmlns:ns1="b">
                   <xs:element name="GetPatientDemographicReq">
                        <xs:annotation>
                             <xs:documentation>Request Message</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                             <xs:sequence>
                                  <xs:element name="Header">
                                       <xs:complexType>
                                            <xs:all>
                                                 <xs:element name="Encoding" type="xs:string"/>
                                                 <xs:element name="SendingApp" type="xs:string"/>
                                                 <xs:element name="SendingFac" type="xs:string"/>
                                                 <xs:element name="ReceivingApp" type="xs:string"/>
                                                 <xs:element name="ReceivingFac" type="xs:string"/>
                                                 <xs:element name="TimeStamp" type="xs:dateTime"/>
                                                 <xs:element name="MessageType" type="xs:string" minOccurs="0"/>
                                                 <xs:element name="MessageId" type="xs:string"/>
                                                 <xs:element name="MessageDesc" type="xs:string" minOccurs="0"/>
                                            </xs:all>
                                       </xs:complexType>
                                  </xs:element>
                                  <xs:element name="PatientID" type="xs:string" minOccurs="0"/>
                                  <xs:element name="InstitutionID" type="xs:string"/>
                                  <xs:element name="SAPPatientID" type="xs:string" minOccurs="0"/>
                             </xs:sequence>
                        </xs:complexType>
                   </xs:element>
                   <xs:element name="GetPatientDemographicRep">
                        <xs:annotation>
                             <xs:documentation>Reply Message</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                             <xs:all>
                                  <xs:element name="Header">
                                       <xs:complexType>
                                            <xs:all>
                                                 <xs:element name="Encoding" type="xs:string"/>
                                                 <xs:element name="SendingApp" type="xs:string"/>
                                                 <xs:element name="SendingFac" type="xs:string"/>
                                                 <xs:element name="ReceivingApp" type="xs:string"/>
                                                 <xs:element name="ReceivingFac" type="xs:string"/>
                                                 <xs:element name="TimeStamp" type="xs:dateTime"/>
                                                 <xs:element name="MessageType" type="xs:string" minOccurs="0"/>
                                                 <xs:element name="MessageId" type="xs:string"/>
                                                 <xs:element name="MessageDesc" type="xs:string" minOccurs="0"/>
                                            </xs:all>
                                       </xs:complexType>
                                  </xs:element>
                                  <xs:element name="PatientID" minOccurs="0">
                                       <xs:simpleType>
                                            <xs:restriction base="xs:string">
                                                 <xs:length value="20"/>
                                            </xs:restriction>
                                       </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="SAPPatientID" minOccurs="0">
                                       <xs:simpleType>
                                            <xs:restriction base="xs:string">
                                                 <xs:length value="10"/>
                                            </xs:restriction>
                                       </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="LastName" minOccurs="0">
                                       <xs:simpleType>
                                            <xs:restriction base="xs:string">
                                                 <xs:length value="50"/>
                                            </xs:restriction>
                                       </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="MiddleName" minOccurs="0">
                                       <xs:simpleType>
                                            <xs:restriction base="xs:string">
                                                 <xs:length value="50"/>
                                            </xs:restriction>
                                       </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="FirstName" minOccurs="0">
                                       <xs:simpleType>
                                            <xs:restriction base="xs:string">
                                                 <xs:length value="50"/>
                                            </xs:restriction>
                                       </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="DOB" type="xs:date" minOccurs="0"/>
                                  <xs:element name="Gender" minOccurs="0">
                                       <xs:simpleType>
                                            <xs:restriction base="xs:string">
                                                 <xs:length value="10"/>
                                            </xs:restriction>
                                       </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="Race" type="xs:string" minOccurs="0"/>
                                  <xs:element name="Nationality" type="xs:string" minOccurs="0"/>
                                  <xs:element name="Language" type="xs:string" minOccurs="0"/>
                                  <xs:element name="HomeNumber" type="xs:string" minOccurs="0"/>
                                  <xs:element name="MobileNumber" type="xs:string" minOccurs="0"/>
                                  <xs:element name="BusinessNumber" type="xs:string" minOccurs="0"/>
                                  <xs:element name="PaymentType" type="xs:string" minOccurs="0"/>
                                  <xs:element name="CancelInd" type="xs:string" minOccurs="0"/>
                                  <xs:element name="PatientRef" type="xs:string" minOccurs="0"/>
                                  <xs:element name="VIPInd" type="xs:string" minOccurs="0"/>
                             </xs:all>
                        </xs:complexType>
                   </xs:element>
                   <xs:element name="SOAPFaultMessage">
                        <xs:annotation>
                             <xs:documentation>Fault Message</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                             <xs:sequence>
                                  <xs:element name="FaultMessage" type="xs:string"/>
                                  <xs:element name="FaultCode" type="xs:string"/>
                                  <xs:element name="FaultDesc" type="xs:string"/>
                             </xs:sequence>
                        </xs:complexType>
                   </xs:element>
              </xs:schema>
         </types>
         <message name="messageName"/>
         <message name="GetPatientDemographicInput">
              <part name="GetPatientDemographicReq" element="ns1:GetPatientDemographicReq"/>
         </message>
         <message name="GetPatientDemographicOutput">
              <part name="GetPatientDemographicRep" element="ns1:GetPatientDemographicRep"/>
         </message>
         <message name="SOAPFaultMessage">
              <part name="SOAPFaultMessage" element="ns1:SOAPFaultMessage"/>
         </message>
         <portType name="SOAPPort">
              <operation name="GetPatientDemographic">
                   <input message="y:GetPatientDemographicInput"/>
                   <output message="y:GetPatientDemographicOutput"/>
                   <fault name="FaultName" message="y:SOAPFaultMessage"/>
              </operation>
         </portType>
         <binding name="PatientDemoQuerySOAP" type="y:SOAPPort">
              <soap:binding style="rpc" transport="http://schemas.xmlsoap.org"/>
              <operation name="GetPatientDemographic">
                   <soap:operation/>
                   <input>
                        <soap:body use="literal"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
                   <fault name="FaultName"/>
              </operation>
         </binding>
         <service name="RetrievePatientDemographics">
              <port name="QueryPort" binding="y:PatientDemoQuerySOAP">
                   <soap:address location="http://www.xmlspy.com"/>
              </port>
         </service>
    </definitions>
    === End wsdl file definition ====================================
    The exception stack trace I got is:
    === Start stack trace ====================================
    #19 11:55:30 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable
    Thrown:
    MESSAGE ID: com.sap.aii.utilxi.misc.api.BaseException
    com.sap.aii.utilxi.misc.api.BaseException: java.lang.NullPointerException
         at com.sap.aii.ib.gui.xmleditor.docview.views.XsdSchemaTextable.setSchema(XsdSchemaTextable.java:86)
         at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.setSchema(XsdContainerTextView.java:46)
         at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.<init>(XsdContainerTextView.java:36)
         at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.makeFromTreeDoc(MultiViewEditor.java:216)
         at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.<init>(MultiViewEditor.java:64)
         at com.sap.aii.mappingtool.mf.TransformationPanel.createSourceView(TransformationPanel.java:248)
         at com.sap.aii.mappingtool.mf.TransformationPanel.<init>(TransformationPanel.java:99)
         at com.sap.aii.mappingtool.mf.MappingTool.<init>(MappingTool.java:32)
         at com.sap.aii.mappingtool.api.MappingToolFactory.getInstance(MappingToolFactory.java:96)
         at com.sap.aii.mappingtool.fwutil.util.ToolUtil.restartTool(ToolUtil.java:315)
         at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView.loadIfrSchema(XiTransformationView.java:274)
         at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView.searchForRepositoryObject(XiMappingView.java:245)
         at com.sap.aii.ibrep.gui.mapping.xitrafo.RepObjSearchHelpAction.actionPerformed(RepObjSearchHelpAction.java:90)
         at com.sap.aii.utilxi.swing.framework.mtaction.MTActionGroup.actionPerformed(MTActionGroup.java:44)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton.performDefaultAction(IBToolButton.java:326)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton.fire(IBToolButton.java:220)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton.access$200(IBToolButton.java:49)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton$4.actionPerformed(IBToolButton.java:340)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Root cause:
    java.lang.NullPointerException: null
         at com.sap.aii.utilxi.xsd.api.XsdHandler.saveSchemaToDocument(XsdHandler.java:61)
         at com.sap.aii.ib.gui.xmleditor.docview.views.XsdSchemaTextable.setSchema(XsdSchemaTextable.java:82)
         at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.setSchema(XsdContainerTextView.java:46)
         at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.<init>(XsdContainerTextView.java:36)
         at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.makeFromTreeDoc(MultiViewEditor.java:216)
         at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.<init>(MultiViewEditor.java:64)
         at com.sap.aii.mappingtool.mf.TransformationPanel.createSourceView(TransformationPanel.java:248)
         at com.sap.aii.mappingtool.mf.TransformationPanel.<init>(TransformationPanel.java:99)
         at com.sap.aii.mappingtool.mf.MappingTool.<init>(MappingTool.java:32)
         at com.sap.aii.mappingtool.api.MappingToolFactory.getInstance(MappingToolFactory.java:96)
         at com.sap.aii.mappingtool.fwutil.util.ToolUtil.restartTool(ToolUtil.java:315)
         at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView.loadIfrSchema(XiTransformationView.java:274)
         at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView.searchForRepositoryObject(XiMappingView.java:245)
         at com.sap.aii.ibrep.gui.mapping.xitrafo.RepObjSearchHelpAction.actionPerformed(RepObjSearchHelpAction.java:90)
         at com.sap.aii.utilxi.swing.framework.mtaction.MTActionGroup.actionPerformed(MTActionGroup.java:44)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton.performDefaultAction(IBToolButton.java:326)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton.fire(IBToolButton.java:220)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton.access$200(IBToolButton.java:49)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton$4.actionPerformed(IBToolButton.java:340)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #18 11:55:30 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.utilxi.misc.api.BaseException: com.sap.aii.utilxi.misc.api.BaseException: java.lang.NullPointerException
         at com.sap.aii.ib.gui.xmleditor.docview.views.XsdSchemaTextable.setSchema(XsdSchemaTextable.java:86)
         at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.setSchema(XsdContainerTextView.java:46)
         at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.<init>(XsdContainerTextView.java:36)
         at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.makeFromTreeDoc(MultiViewEditor.java:216)
         at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.<init>(MultiViewEditor.java:64)
         at com.sap.aii.mappingtool.mf.TransformationPanel.createSourceView(TransformationPanel.java:248)
         at com.sap.aii.mappingtool.mf.TransformationPanel.<init>(TransformationPanel.java:99)
         at com.sap.aii.mappingtool.mf.MappingTool.<init>(MappingTool.java:32)
         at com.sap.aii.mappingtool.api.MappingToolFactory.getInstance(MappingToolFactory.java:96)
         at com.sap.aii.mappingtool.fwutil.util.ToolUtil.restartTool(ToolUtil.java:315)
         at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView.loadIfrSchema(XiTransformationView.java:274)
         at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView.searchForRepositoryObject(XiMappingView.java:245)
         at com.sap.aii.ibrep.gui.mapping.xitrafo.RepObjSearchHelpAction.actionPerformed(RepObjSearchHelpAction.java:90)
         at com.sap.aii.utilxi.swing.framework.mtaction.MTActionGroup.actionPerformed(MTActionGroup.java:44)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton.performDefaultAction(IBToolButton.java:326)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton.fire(IBToolButton.java:220)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton.access$200(IBToolButton.java:49)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton$4.actionPerformed(IBToolButton.java:340)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #17 11:55:30 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.utilxi.misc.api.BaseException: java.lang.NullPointerException
    #16 11:55:30 [AWT-EventQueue-0] FINE AutoLog.created.java.lang.NullPointerException: java.lang.NullPointerException
         at com.sap.aii.utilxi.xsd.api.XsdHandler.saveSchemaToDocument(XsdHandler.java:61)
         at com.sap.aii.ib.gui.xmleditor.docview.views.XsdSchemaTextable.setSchema(XsdSchemaTextable.java:82)
         at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.setSchema(XsdContainerTextView.java:46)
         at com.sap.aii.ib.gui.xmleditor.docview.views.XsdContainerTextView.<init>(XsdContainerTextView.java:36)
         at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.makeFromTreeDoc(MultiViewEditor.java:216)
         at com.sap.aii.ib.gui.xmleditor.docview.MultiViewEditor.<init>(MultiViewEditor.java:64)
         at com.sap.aii.mappingtool.mf.TransformationPanel.createSourceView(TransformationPanel.java:248)
         at com.sap.aii.mappingtool.mf.TransformationPanel.<init>(TransformationPanel.java:99)
         at com.sap.aii.mappingtool.mf.MappingTool.<init>(MappingTool.java:32)
         at com.sap.aii.mappingtool.api.MappingToolFactory.getInstance(MappingToolFactory.java:96)
         at com.sap.aii.mappingtool.fwutil.util.ToolUtil.restartTool(ToolUtil.java:315)
         at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView.loadIfrSchema(XiTransformationView.java:274)
         at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView.searchForRepositoryObject(XiMappingView.java:245)
         at com.sap.aii.ibrep.gui.mapping.xitrafo.RepObjSearchHelpAction.actionPerformed(RepObjSearchHelpAction.java:90)
         at com.sap.aii.utilxi.swing.framework.mtaction.MTActionGroup.actionPerformed(MTActionGroup.java:44)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton.performDefaultAction(IBToolButton.java:326)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton.fire(IBToolButton.java:220)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton.access$200(IBToolButton.java:49)
         at com.sap.aii.utilxi.swing.framework.mtaction.IBToolButton$4.actionPerformed(IBToolButton.java:340)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #15 11:55:30 [AWT-EventQueue-0] DEBUG AutoLog.created.java.lang.NullPointerException: null
    === End stack trace ====================================
    Please help.
    I am running PI7.0.
    Thanks.
    Ron

    I've managed to get around this problem.
    The problem is with the namespace definition.
    Apparently, a more correct definition looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:y="http://new.webservice.namespace"
    xmlns:ns="http://new.webservice.namespace"
    targetNamespace="http://new.webservice.namespace"
    >
         <types>
              <xs:schema <b>targetNamespace="http://new.webservice.namespace" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns="http://new.webservice.namespace" xmlns:y="http://new.webservice.namespace" xmlns="http://schemas.xmlsoap.org/wsdl/"</b>>
                   <xs:element name="GetPatientDemographicReq">
                        <xs:annotation>
                             <xs:documentation>Request Message</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                             <xs:sequence>
                                  <xs:element name="Header">
                                       <xs:complexType>
                                            <xs:all>
                                                 <xs:element name="Encoding" type="xs:string"/>
                                                 <xs:element name="SendingApp" type="xs:string"/>
                                                 <xs:element name="SendingFac" type="xs:string"/>
                                                 <xs:element name="ReceivingApp" type="xs:string"/>
                                                 <xs:element name="ReceivingFac" type="xs:string"/>
                                                 <xs:element name="TimeStamp" type="xs:dateTime"/>
                                                 <xs:element name="MessageType" type="xs:string" minOccurs="0"/>
                                                 <xs:element name="MessageId" type="xs:string"/>
                                                 <xs:element name="MessageDesc" type="xs:string" minOccurs="0"/>
                                            </xs:all>
                                       </xs:complexType>
                                  </xs:element>
                                  <xs:element name="PatientID" type="xs:string" minOccurs="0"/>
                                  <xs:element name="InstitutionID" type="xs:string"/>
                                  <xs:element name="SAPPatientID" type="xs:string" minOccurs="0"/>
                             </xs:sequence>
                        </xs:complexType>
                   </xs:element>
                   <xs:element name="GetPatientDemographicRep">
                        <xs:annotation>
                             <xs:documentation>Reply Message</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                             <xs:all>
                                  <xs:element name="Header">
                                       <xs:complexType>
                                            <xs:all>
                                                 <xs:element name="Encoding" type="xs:string"/>
                                                 <xs:element name="SendingApp" type="xs:string"/>
                                                 <xs:element name="SendingFac" type="xs:string"/>
                                                 <xs:element name="ReceivingApp" type="xs:string"/>
                                                 <xs:element name="ReceivingFac" type="xs:string"/>
                                                 <xs:element name="TimeStamp" type="xs:dateTime"/>
                                                 <xs:element name="MessageType" type="xs:string" minOccurs="0"/>
                                                 <xs:element name="MessageId" type="xs:string"/>
                                                 <xs:element name="MessageDesc" type="xs:string" minOccurs="0"/>
                                            </xs:all>
                                       </xs:complexType>
                                  </xs:element>
                                  <xs:element name="PatientID" minOccurs="0">
                                       <xs:simpleType>
                                            <xs:restriction base="xs:string">
                                                 <xs:length value="20"/>
                                            </xs:restriction>
                                       </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="SAPPatientID" minOccurs="0">
                                       <xs:simpleType>
                                            <xs:restriction base="xs:string">
                                                 <xs:length value="10"/>
                                            </xs:restriction>
                                       </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="LastName" minOccurs="0">
                                       <xs:simpleType>
                                            <xs:restriction base="xs:string">
                                                 <xs:length value="50"/>
                                            </xs:restriction>
                                       </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="MiddleName" minOccurs="0">
                                       <xs:simpleType>
                                            <xs:restriction base="xs:string">
                                                 <xs:length value="50"/>
                                            </xs:restriction>
                                       </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="FirstName" minOccurs="0">
                                       <xs:simpleType>
                                            <xs:restriction base="xs:string">
                                                 <xs:length value="50"/>
                                            </xs:restriction>
                                       </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="DOB" type="xs:date" minOccurs="0"/>
                                  <xs:element name="Gender" minOccurs="0">
                                       <xs:simpleType>
                                            <xs:restriction base="xs:string">
                                                 <xs:length value="10"/>
                                            </xs:restriction>
                                       </xs:simpleType>
                                  </xs:element>
                                  <xs:element name="Race" type="xs:string" minOccurs="0"/>
                                  <xs:element name="Nationality" type="xs:string" minOccurs="0"/>
                                  <xs:element name="Language" type="xs:string" minOccurs="0"/>
                                  <xs:element name="HomeNumber" type="xs:string" minOccurs="0"/>
                                  <xs:element name="MobileNumber" type="xs:string" minOccurs="0"/>
                                  <xs:element name="BusinessNumber" type="xs:string" minOccurs="0"/>
                                  <xs:element name="PaymentType" type="xs:string" minOccurs="0"/>
                                  <xs:element name="CancelInd" type="xs:string" minOccurs="0"/>
                                  <xs:element name="PatientRef" type="xs:string" minOccurs="0"/>
                                  <xs:element name="VIPInd" type="xs:string" minOccurs="0"/>
                             </xs:all>
                        </xs:complexType>
                   </xs:element>
                   <xs:element name="SOAPFaultMessage">
                        <xs:annotation>
                             <xs:documentation>Fault Message</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                             <xs:sequence>
                                  <xs:element name="FaultMessage" type="xs:string"/>
                                  <xs:element name="FaultCode" type="xs:string"/>
                                  <xs:element name="FaultDesc" type="xs:string"/>
                             </xs:sequence>
                        </xs:complexType>
                   </xs:element>
              </xs:schema>
         </types>
         <message name="messageName"/>
         <message name="GetPatientDemographicInput">
              <part name="GetPatientDemographicReq" element="ns:GetPatientDemographicReq"/>
         </message>
         <message name="GetPatientDemographicOutput">
              <part name="GetPatientDemographicRep" element="ns:GetPatientDemographicRep"/>
         </message>
         <message name="SOAPFaultMessage">
              <part name="SOAPFaultMessage" element="ns:SOAPFaultMessage"/>
         </message>
         <portType name="SOAPPort">
              <operation name="GetPatientDemographic">
                   <input message="y:GetPatientDemographicInput"/>
                   <output message="y:GetPatientDemographicOutput"/>
                   <fault name="FaultName" message="y:SOAPFaultMessage"/>
              </operation>
         </portType>
         <binding name="PatientDemoQuerySOAP" type="y:SOAPPort">
              <soap:binding style="rpc" transport="http://schemas.xmlsoap.org"/>
              <operation name="GetPatientDemographic">
                   <soap:operation/>
                   <input>
                        <soap:body use="literal"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
                   <fault name="FaultName"/>
              </operation>
         </binding>
         <service name="RetrievePatientDemographics">
              <port name="QueryPort" binding="y:PatientDemoQuerySOAP">
                   <soap:address location="http://www.xmlspy.com"/>
              </port>
         </service>
    </definitions>
    Thanks!

  • Can't display a Tile Layer using JAVA API V2 (based on HTML5)

    Hi Experts,
    I am trying to display a tile layer using JAVA API V2 but i get the below error and nothing shows after that.
    MAPVIEWER-05501: Map tile layer not found. Check map tile layer name and/or data source name.
    Source: OM.layer.Tilelayer.getTileLayerConfig
    *[mvdemo.demo_map]*
    I tried with chrome and firefox browsers which supports HTML5 but same issue. Here is the html code i am using
    <html>
    <head>
    <title></title>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
    <script type='text/javascript' src='http://localhost:8282/mapviewer/jslib/v2/oraclemapsv2.js'></script>
    <style type= 'text/css '>body {cursor:default;}</style>
    <script language="JavaScript" type="text/javascript">
    function showMap()
    var baseURL = "http://"+document.location.host+"/mapviewer";
    var mapCenterLon = -122.45;
    var mapCenterLat = 37.6706;
    var mapZoom = 4;
    var mpoint = new OM.geometry.Point(mapCenterLon,mapCenterLat,8307);
    var map = new OM.Map(
    document.getElementById('map'),
    mapviewerURL: baseURL
    var tileLayer = new OM.layer.TileLayer(
    "baseMap",
    dataSource:"mvdemo",
    tileLayer:"demo_map",
    tileServerURL:baseURL+"/mcserver"
    map.addLayer(tileLayer) ;
    navigationPanelBar=new OM.control.NavigationPanelBar();
    map.addMapDecoration(navigationPanelBar);
    map.setMapCenter(mpoint);
    map.setMapZoomLevel(mapZoom) ;
    map.init() ;
    </script>
    </head>
    </html>
    Note: inside the body on load i use DIV Id = Map (i skipped that one line of code because it stops rest of the line from displaying in the thread)
    However, I am successful in using the same tile Layer with JAVA API V1
    Please share your thoughts as what could be the fix
    Thanks
    Nag

    Nag,
    inside the body on load i use DIV Id = Map (i skipped that one line of code because it stops rest of the line from displaying in the thread)please surround your code with [ c o d e ] [ / c o d e ] (without the spaces).
    Secondly: this is probably more appropriate for the {forum:id=727} forum.
    Regards,
    Stefan

  • Java bean + Map Tile Server

    We have Oracle 10g Release 2 And AS + Mapviewer Patch 4.
    Question:
    Is Java bean based API can use map tile server, i. e. to fetch tile from cache of Map Tile Server?
    Why i asking?
    We use function addMapCacheTheme, and mapviewer takes pic from the Map Tile Layer.
    In user guide no ever mention about this functions and about ability of java bean to use Map Tile Server.

    You can find a sample Java Swing application that does just that on my blog here:
    http://oraclemaps.blogspot.com/2008/09/displaying-map-tiles-in-your-java-swing.html
    It contains full source code and can be easily configured to display map tiles from any MapViewer instance.
    thanks

  • Error when create bid invitation (Tax code CN in procedure TAXD is invalid)

    Dear All ,
    We have issue in our PDP scenario, when creating a bid invitation from a PR (from R/3), an error occured with message" Tax code CN in procedure TAXD is invalid".
    I already raise an oss message and the reply is because the system take different company code that's not active in R/3 system. Its because TAXD procedure is assign to country DE (German) and company 0001 country is "DE".
    BE_STGE_LOC 9114
    BE_PLANT 7008
    BE_BATCH
    BE_VAL_TYPE
    BE_MOVE_REAS 0000
    BE_EXPERYDATE
    BE_PUR_GROUP
    BE_PUR_ORG
    BE_CO_CODE 0001 --> supposed the Correct company code is "8008"
    CALL FUNCTION 'FI_COMPANY_CODE_DATA'
    EXPORTING
    I_BUKRS = BUCHUNGSKREIS
    IMPORTING
    E_T001 = T001.
    We wonder how the system assign company code 0001 with plant 7008, since in R/3 Plant 7008 is assign to company code 8008.
    The company code 0001 is not active in our R/3 system.
    And also its not happen for all document , so just for several document, and not just in this plant (7008).
    The OSS reply also mention that the company chages is because this badi
    implementation ZBBP_DOC_CHANGE_BADI with object type 'BUS2121' method 'BBP_SC_CHANGE' 'Method for Changing Shopping Carts'
    ======================================================
    Assign the appropriate company code and modify the ET_ITEM table
    ls_item-be_co_code = ls_locmap-company_code.
        MODIFY et_item FROM ls_item.
    ======================================================
    But we already use this badi for several years, and we're not sure that this badi id the root cause,and until now there still no solution for this issue.
    Please kindly advise.
    Regards,
    Darwin

    Hi SG,
    In SPRO > IMG > SRM > SRM Server > Cross Application Basic Settings > Tax Calculation
    1.Determine system for tax caluclation : Choose either no tax calculation or Tax calculation occurs in back end.
    2. Enter Tax code : Mention Tax indicator as I0 and tax description Zero Tax, Check the No Tax check box and make it default based on your requirement.
    Please follow the above steps based on your requirement which will definitely resolve your issue.
    This issue comes when the tax calculation happens in the SRM system and the tax code I0 is not defined in tax procedure TAXD.
    Hope this makes you more clear. Clarifications are welcome.
    Award points for helpful answers.
    Rgds,
    Teja

  • Photoshop CS3 freezing when I create a new adjustment layer

    I am working on a Macbook Pro. Have plenty of memory/RAM/scratch disk space.
    When I try editing an image (which I have exported from Lightroom) PS freezes as soon as a new adjustment layer is created. When there is a second layer, I am unable to return to the original layer. Tool switches automatically from default "move" tool to "eyedropper" and PS freezes.
    Have been through all the archives and can find no help. Also just re-installed PS from the disk and still have the same issue.
    Thanks for any advice/help.

    Usually just checking the system display configuration and sorting that out will make it work.  Photoshop tries to make sure the dialogs are displayed on an active display, but has to trust the OS about what displays are active.
    If you ever get completely stuck, then resetting Photoshop preferences will reset all dialog locations and EVERYTHING ELSE - so backup your favorite settings and presets before doing a complete reset.

  • Error when creating Production Orders: -5002 Invalid Code  [OWOR.Status]

    When creating Production Orders, I receive the error: -5002 Invalid Code  [OWOR.Status] on certain of the entries. Typically 200 orders are created at once.
    What could be causing the error?

    You may check this thread to have a reference:
    Setting the repByIns to Null
    Thanks,
    Gordon

  • Layer mask occasionally does not have link when created

    when addidng a layer mask sometimes it does not have link when created which can get annoying when you dont realize it and you start moving groups.
    its happened a few times already.

    hi, most of my psds have tons of layers and i create the masks in a variety of ways, such as clciking on the mask icon or alt clicking when i have a selection going, i didnt notice anything until i started moving groups and things started getting messed up. today im going to pay attention every time  i make a mask to see if there was a specific task tthat is causing it.

  • Layer position resets when creating animations

    I'm creating an animated gif from a video clip (cinemagraph). In order to acheive the effect I need, I need to move each layer with the move tool to get an object to stay in the same position. I have gone through layer by layer and used the move tool to move the contents of each layer. When I play the animation I see the layers in the position I put them in. As soon as I stop playing the animation the contents of each layer snap back to their original positions. I have tried using the lock tools (both lock position and lock all) but they don't make a difference. Can anyone tell me why layer positions would reset when creating animations and how to get it to stop?
    Thanks for any help.
    Eric

    It seems from your answer that you're thinking I'm just moving one frame and expecting the rest of them to move automatically (but I'm not sure if that's what you are saying). I have gone through and moved each frame individually and then locked each frame's position individually. When I play the animation and then stop it the layers move back to their original positions.
    I'm also not sure if you're thinking I'm expecting that when I move one image off the layer it will affect the next layer. That's not what I'm expecting. I'm just repositioning the image on each layer to get a particular object to stay in one place (the camera was moving while shooting), so I'm dealin gwith each layer individually.
    Thanks

Maybe you are looking for

  • Will Leopard CD boot new 24" iMac?

    A few months ago I bought my wife a 24" iMac. I have a 24' iMac from the previous generation. She's been having problems since upgrading to 10.5.7 and we decided to reformat and start over before we install 10.5.8. This is where the fun starts. I can

  • How to use dynamic internal table with FOR ALL ENTRIES

    Hello SDNers, I am having a dynamic internal table & want to use FOR ALL ENTRIES(FAE) using this dyn. table. This works fine for me: IF <lt_tmp> IS NOT INITIAL. "<lt_tmp> is my dyn. internal table         SELECT field1 field2           FROM TABLE zta

  • Display the file extension?

    Is there a way to display the file extension? I want to tag some as PSD files and I want to delete all gif files. Currently I am opening each in Photoshop elements to get the extension, which is very cumbersome. I know I can see the extension in find

  • I can't access webinars, even with their software; what can I do?

    Could it be a problem with my Firewall or other Internet Security System? I have no idea how to resolve this.

  • Getting Started with CFBuilder - A Question About Project Settings

    Hello All, I'm just getting my feet wet with CFBuilder and giving it a spin after over a decade's worth of experience with Dreamweaver and I have a question about setting up my work environment. First of all, I have two computers that I mainly work f