XSD  As Transaction Input Property

We are running Mii Version 12.1.4 Build (53).
It is entirely possible I am not doing something correctly but I've searched through the forum and the documentation and I need to validate that I understand how this should be working.
I want to use the XSD below as an input to my BLT.  I want the XSD Schema to be available in my WSDL for the calling application.  So far all I am getting is a reference to the schema in my WSDL.  I was hoping the actual structure would be available in the WSDL.
Any idea what I'm doing wrong?
Here is the XSD format:
<?xml version="1.0" encoding="utf-8" standalone="no"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="TAG">
<xs:sequence>
<xs:element name="TAGNAME" type="xs:string"/>
<xs:element name="TAGVALUE" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="TAGLIST">
<xs:complexType>
<xs:sequence>
<xs:element name="TAG" type="s0:TAG"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Here is the WSDL:
  <?xml version="1.0" encoding="UTF-8" ?>
- <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mii0="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.sap.com/xMII" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.sap.com/xMII">
- <!--  Types
  -->
- <types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://www.sap.com/xMII">
  <s:import namespace="http://www.w3.org/2001/XMLSchema" schemaLocation="http://xxxx.xxx.com:50000/XMII/WSDLGen/db/MES_FA/MES_OPC/TRANSACTIONS/FA_WRITE_TAG.xsd" />
- <s:complexType name="InputParams">
- <s:sequence id="InputSequence">
- <s:element maxOccurs="1" minOccurs="0" name="I_XML">
- <s:complexType>
- <s:sequence>
  <s:element ref="mii0:TAGLIST" />
  </s:sequence>
  </s:complexType>
  </s:element>
  </s:sequence>
  </s:complexType>
- <s:element name="XacuteRequest">
- <s:complexType>
- <s:sequence>
  <s:element maxOccurs="1" minOccurs="0" name="LoginName" type="s:string" />
  <s:element maxOccurs="1" minOccurs="0" name="LoginPassword" type="s:string" />
  <s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:InputParams" />
  </s:sequence>
  </s:complexType>
  </s:element>
- <s:complexType name="Rowset">
- <s:sequence>
  <s:element maxOccurs="unbounded" minOccurs="0" name="Row" type="s0:Row" />
  </s:sequence>
  <s:attribute name="Message" type="s:string" />
  </s:complexType>
- <s:complexType name="Row">
- <s:sequence id="RowSequence">
  <s:any maxOccurs="132" minOccurs="1" type="s:string" />
  </s:sequence>
  </s:complexType>
- <s:element name="XacuteResponse">
- <s:complexType>
- <s:sequence>
  <s:element maxOccurs="1" minOccurs="0" name="Rowset" type="s0:Rowset" />
  </s:sequence>
  </s:complexType>
  </s:element>
  </s:schema>
  </types>
- <!--  Messages
  -->
- <message name="XacuteSoapIn">
  <part element="s0:XacuteRequest" name="parameters" />
  </message>
- <message name="XacuteSoapOut">
  <part element="s0:XacuteResponse" name="parameters" />
  </message>
- <!--  Ports
  -->
- <portType name="XacuteWSSoap">
- <operation name="Xacute">
  <input message="s0:XacuteSoapIn" />
  <output message="s0:XacuteSoapOut" />
  </operation>
  </portType>
- <!--  Bindings
  -->
- <binding name="XacuteWSSoap" type="s0:XacuteWSSoap">
  <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="Xacute">
  <soap:operation soapAction="http://www.sap.com/xMII" style="document" />
- <input>
  <soap:body use="literal" />
  </input>
- <output>
  <soap:body use="literal" />
  </output>
  </operation>
  </binding>
- <!--  Service mapping
  -->
- <service name="XacuteWS">
- <port binding="s0:XacuteWSSoap" name="XacuteWSSoap">
  <soap:address location="http://xxxx.xxx.com:50000/XMII/SOAPRunner/MES_FA/MES_OPC/TRANSACTIONS/FA_WRITE_TAG_XML" />
  </port>
  </service>
  </definitions>

First the xsd is not correctly formed ....it throws error while validate your given input xml in a BLS transaction
"[ERROR] [Validate_XML_0]Error in Parsing : cvc-elt.1: Cannot find the declaration of element 'TAGLIST'."\
use this xsd
<?xml version="1.0" encoding="utf-8" ?>
<!Created with Liquid XML Studio Developer Edition (Trial) 8.1.6.2625 (http://www.liquid-technologies.com) Developer Ram Upadhayay, creation date 04-13-2011>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="TAGLIST">
        <xs:complexType>
            <xs:sequence>
<xs:element name="TAG" minOccurs="1" maxOccurs="1">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="TAGNAME" type="xs:string" minOccurs="1" maxOccurs="unbounded" />
                   <xs:element name="TAGVALUE" type="xs:string" minOccurs="1" maxOccurs="unbounded" />
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>
In order to make web service request format visible to other applications, make the SOAP Request format so when they will access MII Web Service using the SOAPRunner url, they will be able to see the available MII service and the request format.

Similar Messages

  • Reference Schema loader for Transaction Input Property

    Hello,
    I am trying to use XML Schema to define input structure of a BLS transaction, I have two issues with it.
    Firstly. I do not get drill down Tree structure of the XML input parameter in an action block's link editor,
    Secondly, If I add a reference document drill down comes, but there is an issue with that, when I close and open the transaction I get this error
    I am not sure What I am missing here. Has anyone come across this issue?
    Can we assign a reference schema document to an Incomming Parameter?
    I have configured the transaction as given below.
    1. I have specified an input parameter as XML type and linked it to a XSD file
    2. The XSD File
    <s:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
      xmlns:s="http://www.w3.org/2001/XMLSchema"
                targetNamespace="http://www.sap.com/xMII">
      <s:element name="Request">
        <s:complexType>
          <s:sequence>
            <s:element type="s:string" name="MaterialNumber"/>
            <s:element type="s:string" name="Plant"/>
            <s:element name="TestList" minOccurs="1" maxOccurs="unbounded">
              <s:complexType>
                <s:sequence>
                  <s:element type="s:string" name="Param"/>
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
    3. Created a reference Schema loader Action and configured it to refer the same XSD as above.
    4. Assigned the Reference schema loader's XMLcontent to "Input"  property of transaction.

    Hello Sam,
    Thank you for the reply,
    unfortunately, It still does'nt work for me.
    I have 14.0 SP4 Patch 1 (08.01.2014).
    Do you think an upgrade will help?
    Also, why does below popup come when I close and open the transaction.

  • XML Payload to Transaction Input

    Hi,
    For clarification, used to be (and still appears to be) that for transaction input properties, data type needed to be 'simple' (ie: string etc), and although we can have transaction input properties of type XML, they still appear in the WSDL as string.  Although I can see that this works fine even if the string content is actually XML, and the inbound data (which in fact is XML as a string) still looks like XML in the transaction, is this still the recommended approach?  Or is there another recommended way to get an XML payload passed in to a transaction using Runner / SOAPRunner from an external application.
    Additionally, when calling the Runner (or SOAPRunner) from an external application, is there then any limit to the length of the URI call?  I know that browsers have limits on the path, but here we're playing with a path + query string outside of browsers? 
    Are there any limitations on the Netweaver side?
    By the way, currently using MII V12.2.2
    Regards
    Kevin.

    Hi Kevin,
    You can pass XML as string to a transaction and make input parameter as XML in transaction.
    That is perfectly fine.
    As far as I know about the limit of URL, It depends on the server.
    However there are two methods to call a http webservice. GET and POST.
    Use the POST method which is having more limit than GET method. I have faced issue with GET on high volume of data so replaced it with POST method. I have used the url with query parameters of a few MB's (approx 4-5) and never faced the limit issue with POST. You can check exact limit with some load testing on the server.
    Thanks
    Anshul

  • Missing required input property error in insert attachment

    Hi,
    Im getting this following error some times not all times when i tring to insert attachment files to campaign object
    <ErrorMessage>Missing required input property &quot;Handle&quot;(SBL-ODS-00242)</ErrorMessage>
    please give some solution
    Thanks,
    Sathis Kumar P

    Do you have the XML request that you are sending?

  • ITS & Transaction Input Field (OKCODE)

    Hello,
    We just configured the internal ITS on a Netweaver 2004s SP13 Solution Manager SR3, but we can't see the transaction input field on webgui when accesing the system using the web client.
    We have been looking around, and it seems that it should be displayed by default, but in our case it's not.
    Any ideas?
    Thanks in advance,
    jmiturbe

    Hello Jmiturbe,
    The okcode field is sometimes collapsed (hidden).  There should be a right arrow button, if you click on this then the okcode field should expand.
    Edgar

  • XSD for the input file for GTS offline screening program

    Hi Friends,
    We are running some performance tests for our current project to  evaluate how much time the offline screening program (report "/SAPSLL/SPL_OFFLINE_SCREENING") takes in GTS. This report expects the customers in an XML format - would you know where I can get the definition of this expected XML format (e.g. the XSD for this input file)?
    Can some one help me to provide response XML definition of what GTS generates for the SPL check ?
    Thanks,
    Sudheer.

    Hi Sudheer,
    please follwow the steps:
    1. Prepare an XML file  with Adress data
    -> you can create a simple excel file that has to be converted into an      
    XML-file. See also the GTS documentation http://help.sap.                
    com/saphelp_gts72/helpdata/en/b1/8dc5c62c885046ab71fdcddc6ad2c2/frameset 
    .htm.                                                                    
    2. Upload the local file  to GTS for SPL Screening
    3. Examine the SPL screening results in GTS
    4. Save the results in Audit trail and&or in local file
    Best regards,
    Christin

  • Set transaction code property of PCD Iview

    Hi ALL
    I have a SAP transaction Iview sitting in my PCD. I want to access this Iview, set its transaction code property to the transaction that the user selects on the Iview of my web dynpro application.
    The idea is to set the Tcode and then navigate to that Iview taking pcd location.
    Please help on how to set the properties and invoke the iview

    Sanjay,
       That's what the mentioned post talks about, isn't it?
    You should pass the parameter while doing a portal navigation.
    Go through the following blogs:
    1. /people/prakash.singh4/blog/2005/10/07/how-to-launch-sap-transaction-pass-parameters-via-url
    2. /people/durairaj.athavanraja/blog/2004/09/23/pass-parameter-to-its-url-upadated-21st-june-2008
    You should use a code like this:
    String parameter = "System=" + <portal system> + "&TCode=" + <transaction code as selected by user>;
    WDPortalNavigation.navigateAbsolute(
    "ROLES://<pcd location>",
    WDPortalNavigationMode.SHOW_EXTERNAL,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    parameter,
    true,
    true);
    Regards,
    Satyajit.
    Message was edited by: Satyajit Chakraborty

  • XML Datatype as transaction output property

    Hello everyone,
    I'm having some problems while using the XML datatype as an output for a transaction and would like your input on this.
    I've created a transaction that has one output property set as a XML. This transaction reads information from a SAP BAPI call and I assigns the response XML to the output parameter. I've checked the output value with a trace block and it is ok.
    This transaction is called from within another transaction, but when I read the output parameter after the transaction block is executed, the output parameter is empty...
    The only work-around this problem that I have found it to encode the XML as a string and then decode it in the outer transaction, but that just doesn't seem like the right thing to do... There must be a reason to have a XML datatype!
    Thanks in advance,
    Marcelo

    Marcelo,
    I too tried this on 12.1.8 build 20 and this seems to be working for me.
    Here's what I did, I am calling BAPI_ALM_ORDER_DETAIL in the "called" transaction. This has an output property called "outXML" of type XML.
    I assign the response of the BAPI to outXML after the BAPI is executed.
    I tried a tracer here and all's well.
    In the "calling" transaction I have a tracer after the Transaction call where  am able to see the respose from the called transaction.
    Thanks
    Udayan

  • How shall i add new tab in cgab transaction under property tree.

    hi,
    how shall i add new class tab under phrase-set-to-attribute assignment under industrial hygine & safety data in transaction cgab.
    thanks and regards,
    manish.

    Hello Manish,
    Based on your data input requirements, first create a characteristics in t-code ct04. Create a class (in t-code cl01) and assign the characteristics to the class. For characteristics, define "Values" by clicking on button "Other value check" and selecting "check values with function module". Input FM as "C14K_PHRASECHARACT_CHECK_F4".
    Now, create phrases (t-code cg12) for the actual values which you wish to have as F4 values on your IHS screen for the custom fields. Then create phrase set (t-code :cg1b) and assign the phrases to the phrase set.
    Go to spro>EHS>IHS>Basic settings>Assign value assignment types to classes..........define here the name of the tab under which custom fiellds should come. Assign the above created class here.
    Now, go for master data match-up (t-code cgcz) , select first three checkboxes and execute.
    Go to cgab now, and you should be able to see the value assigment type created in spro in IHS section . Double click it, and assign the phrase set against the created characteristics.
    Regards,
    Pavan

  • Email notification User Input property

      I have query results from service request as part of user input into Service Request and processing them in Orchestrator.
      As a part of email notification, I would like to display the same query results as part of body of email notification.
      Query results are displayed as part of User Input in Service Request
      In email notification I am able to display all fields of service requests except User Input maybe because its inturn a XML value.
      Any suggestion to come across this ?
    Shahid Roofi

    I am assuming that you are sending the email notification as HTML, in that case the "User Input" will be filtered as it starts with < and ends with > (HTML notification will filter the context between <...>)
    You have to use a PS script in Orchestrator to get the query results only from the "User Input" without all the junk info between <...> then return that using Published Data tab so you will be able to use it in the runbook activities such
    as the email activity.
    Do you have a working example of how to do what you describe?  I am trying to accomplish the same thing and having alot of difficulty coming up with a proper solution.  Any help is appreciated!

  • ES through xMII - Input/Output variable mapping

    Hello All,
    I'm new to SAP xMII Application. I'm using BLS Transaction's Web Service action to invoke Enterprise Service (ES).
    Can you tell me how to pass on the input parameters to the ES ?
    Also in which format the ES will send the response and how to map that response to transaction variables ?
    Regards,
    Sumit

    Hi Sumit,
    First you create input xml in frontpage that you want to assign to Enterprise Service.
    Now  create one transaction input property of xml data type and assign input xml to this.Take next action block as Web Sevice and configure for ES.
    If you Provide right login credentials than you will get result in  SOAP format.
    Are you getting SOAP format ?
    If you are getting this than you can map input parameters in link.
    Please update with this.
    Best Regards
    Ramshanker Upadhyay

  • How can I access RFC data in transaction? (SAP to MII rfc calling)

    If I keep the incoming RFC calling by message rules with category, then using the message actions to handle, that is a solution.
    But if I want process the incoming RFC data in transaction directly, how can I get these data?

    You will need to define an XML typed Transaction input property for processing the message synchronously.  Then in the processing rule for this message you need to associate the proper transaction and map the parameter.
    So essentially the transaction and input parameter mapping in your message services processing rule replaces the category setup that you already have working.

  • Passing query template name to BLS SQL action in the link editor

    I want to have one transaction that uses the SQL query action, but which query template it uses will be dependent on some user input. I am having trouble passing the query name. I'm using the full file path in xml format (i.e. "c://<folder1>//<folder2>//<folderN>//"&PassedFileName&".xml", but with backslashes instead of forward slashes). I got an error around the connector, so I set that too. Then I got an error around mode, so I set it to "FixedQuery". Now I'm getting, "The Query expression was not set with the Query parameter".
    There are only 3-5 possible queries that will be used, so I'd rather build SQL queries and just pass the transaction the name of the query, as opposed to passing the full text of the query each time.
    Thanks,
    Carrie
    Edited by: Carrie Schimizzi on May 9, 2008 6:38 PM
    Edited by: Carrie Schimizzi on May 9, 2008 6:39 PM
    Edited by: Carrie Schimizzi on May 9, 2008 6:40 PM

    Carrie,
    If you haven't already done so, configure your master BLS transaction with a proper representative runtime variation, which will make the whole process simpler to create and troubleshoot.  Quite often when people try to use the dynamic capabilities of MII, they end up getting confused because of user over-complication.  In your SQLQuery action block make sure you configure it to a valid template that would be one that the user would provide as an input (don't forget to allow the generation of sample results for making any subsequent trx efforts easier).  Then look in the link editor and you should see this string value for the query template link if you hover over the corresponding blue T icon.  This will show you the format you need to provide from your Transaction input property (which should also have a valid default value assigned so you can test the transaction by itself, without needing to initially rely on the Xacute Query template layer.
    Regards,
    Jeremy

  • IChart x-axis labels

    I'm having some issues with the x-axis labels on an iChart.
    The data I'm trying to display returns a date column I want to use as the x-axis labels. The data returned looks similar to the following:
    MY_DATE | project1 | project2 | project3 .... Where the number of project columns returned can be variable, and the column names change as well based on the project name. The one column always returned in the data is the MY_DATE column.
    The issue I'm having is that it doesn't display the custom labels for the x-axis. I specify "MY_DATE" as the "X-Axis Label Columns", yet it completely ignores it. I've verified in the javascript that the MY_DATE column is specified as the label column, but it doesn't use it.
    I think I discovered what is making it not work, but I cannot figure out why. I have another identical display template, one has a static set of columns returned. I can then specify the "Value Columns" in the "Data Mapping" template category of the display template, as well as the label column "MY_DATE" under the X-axis label columns. In this case it works, but when I take the Data Mapping "Value Columns" away, the dates disappear from the x-axis.
    Does anyone have another way to set custom labels for the x-axis? Or any insight as to why it wouldn't work?

    Austin,
    What do you want the user to see initially?  An empty chart?  Please explain the initial state of the chart and how the user interacts with it.
    1.  Is your query time-sensitive?  This means in the SQL Query you have designated a Date Column or used the SD and ED tokens in a filter expression.  If the query is time-sensitive, the date will automatically map as the X-Axis label.  If it is not time-sensitive, in addition to adding the My_Date to the X-Axis Label Colunms, add it to the X-Axis Value Columns.
    2.  I have found that if I return all the columns in the query, then I simply have to do this to make them show upon some event triggered by the user:
    // assume user chose these columns
    var valCols = "ProjA,ProjB,ProjC";
    var chartObj = document.AreaChart.getChartObject();
    chartObj.setValueColumns(valCols);
    document.AreaChart.updateChart(true);
    3.  I wrote a small transaction using the same query and display template in the Chart action block configuration.  I created a transaction property for inputting the value columns (a comma-separate list) and linked this transaction property (the source property) to the Chart action's ValueColumns property (the desination property).  I then use a PDF Document action and a PDF Image action, linking the encodedImage property of the Chart to the encodedImage.  When I varied the content of the transaction input property to use differenct columns, the changes showed in the PDF Document.
    Hope this is helpful.
    Kind Regards,
    Diana Hoppe

  • Web Service Action Block in MII 12.0

    Hi All,
    We are trying to understand the functionality of web services action block in MII 12.0 with a third party application.
    Can anyone share the complete procedure of the configuration to understand the data flow between webservice block with third party application.
    Thanks
    Rajesh S

    Rajesh,
    let's take your example. An external web service has been created with C or .NET or other tools. The creator of the web service also have created a URL that you can use to call the web service. The web service may accept input and responses output. The input / output parameters (among other settings) are defined in the WSDL.
    Now you want to call the external web service in MII. You create a BLT with the web service action. After you have entered the URL and press enter the web service configuration wizard calls the URL and retrieves the WSDL data (if the URL is correct). That's what I have described above.
    In the link editor MII displays the XML structure of the web service. There you can link data to the input parameter of the web service, e.g. the contents of a file. If the web service action is processed, the web service is called using the linked values, and the file contents is submitted.
    The external party can also call any MII BLT as a web service using the MII WSDLGen service. In the BLT, you also define Transaction Properties as input and output parameters. WSDLGen will build a xml structure using these parameters. If the external party want to send the file contents, it calls the MII web service with the file contents in the Transaction input property.
    You can easily test a MII web service. You just need two BLTs, one calling the other to see if the file contents is sent correctly.
    Does this explanation help? I do not see a difference between a URL and WSDL URL. The file contents is passed inside the web call, not stored in a location.
    Michael

Maybe you are looking for

  • Can't turn launch in camera raw off, part 2

    My problem was I wanted to batch process jpgs but they kept opening in ACR. Thanks to all for your suggestions. I ended up uninstalling and reinstalling PS and Bridge. Still I got the same results. I think that if the jpg has been processed in ACR, i

  • Ftp Adapter Minimum File Age

    When Minimum File Age property is entered, the ftp adapter fails to work. It throws the following error, <2008-08-29 16:36:05,162> <INFO> <default.collaxa.cube.ws> <File Adapter::Outbou nd> Poller raising Alert for exception : ORABPEL-11430 Error in

  • Install Adobe Reader fails; says I should check javascript but how do I do it?

    Windows 7 I attempted to load Adobe Reader but it failed at the end, saying "There was an error installing Adobe Reader [Error 1321. There was insufficient privileges to modify the file C\Program Files(x86)\Adobe\Reader11.0\Reader\Browser\nppdf32.dll

  • Optical Surround not working in Macbook pro

    I have a MBP 15" 2.33GHz core 2 duo, and I would like to use surround (DTS or Dolby 5.1) in logic pro. I do not have a audio hardware, but I read here I can use the (digital) optical output to hear 5.1 output. Well, I plugged the optical out to a Pio

  • Solaris 10 Remote Desktop

    Hi, I am new on solaris plateform, i install solaris 10.2 on vmware . i want to take access of running solaris on X-manager software but its not working.however i am able to ping IP assigned to solaris system from my network. please let me know is an