MII transaction as Web service integration

Hi MII's transaction can be called as WS but it has its own format. We have a system to integrate and this system should call MII's transaction. However the WS interface of the system is inflexible (it cannot be change, but has a very simple structure). So I just want to know any idea how we could change MII in order to adapt to the data structure .

Now, I am able to create the Web Service in SAP and it is now showing the respective class, attribute and methods to execute this web service (web service to call MII transaction).
But when I am calling it from ABAP (a simple Web Dynpro for ABAP method), it is showing me the following error:
Error (id=GET_BUSINESS_SYSTEM_ERROR): An error occurred when determining the business system (LD_ERROR)
Thought this error is coming from ABAP program, but I am sure that this is related to some configuration at SAP level. (Let me inform you that there are two different servers for SAP Web Dynpro ABAP and SAP MII.
Please help.
Thanks in advance.

Similar Messages

  • Error while calling MII transaction as web service from ABAP

    Hello Experts,
    I want to call a MII transaction from ABAP program, as a web service.
    Following is output of http://<<server>>:50000/XMII/SOAPRunner/TAG_TRX  (TAG_TRX is name of my transaction).
      <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 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:complexType name="InputParams">
    - <s:sequence id="InputSequence">
      <s:element maxOccurs="1" minOccurs="0" name="WEIGHT" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="BATCHID" type="s:string" />
      </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: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://<<server>>:50000/XMII/SOAPRunner/TAG_TRX" />
      </port>
      </service>
      </definitions>
    Now, when I am using http://<<server>>:50000/XMII/SOAPRunner/TAG_TRX to create a Enterprise Service in SAP (i.e. SE80 transaction-> Create Enterprise Service-> Service Consumer-> URL/HTTP Destination-> URL ... I am getting following error.
    Incorrect value: Entity "<<document>>"(5 /93 ). unexpected symbol: '<'     
    But, whenever I am using the same URL in MII BLS, it does not give any error. It correctly shows all input and output parameters.
    Please help me to resolve this issue.
    Regards
    Neeta.

    Now, I am able to create the Web Service in SAP and it is now showing the respective class, attribute and methods to execute this web service (web service to call MII transaction).
    But when I am calling it from ABAP (a simple Web Dynpro for ABAP method), it is showing me the following error:
    Error (id=GET_BUSINESS_SYSTEM_ERROR): An error occurred when determining the business system (LD_ERROR)
    Thought this error is coming from ABAP program, but I am sure that this is related to some configuration at SAP level. (Let me inform you that there are two different servers for SAP Web Dynpro ABAP and SAP MII.
    Please help.
    Thanks in advance.

  • Error while calling MII transaction as web service

    Hi all,
    I am using MII version 12.1.8
    When i try calling a BLS as a web service i am getting an error as " [ERROR] Error Invoking Web Service Action: Status (502): Proxy Error ( No data record is available. ) "
    The same WSDLGen url is working from the browser. The path is http://<server>:50000/XMII/WSDLGen/<TrxPath>
    I also gave Proxy Host and Proxy Port in System Management --> System Administration
    Is there anything i am missing in the web service action.
    Kindly help
    Regards
    Muzammil

    Hi Diana,
    It is working now. I removed the proxy settings from system administrator and added a new credential alias for web service. And then it started working..
    The scenario which i am trying is as mentioned. We need to call a transaction from a diiferent MII Server. So at first i was trying with the Trx within the same server.
    Hope this is the best way to access the transaction from a different server.
    Regards
    Muzammil

  • Web Services Integration issues on Oracle Web Service Example Page..

    The Oracle hosted pages for the Web Services Integration, all of the applications are dying when you try and run them. 1/2 of them are having ACL (Access Control List issues)..
    Don't know if this is because of the change-over to APEX 4.0 or a new version of teh database being used, just though Oracle should know and they MIGHT want to fix them..
    Thank you,
    Tony Miller
    Webster, TX

    Tony:
    Thanks for pointing that out. They should now all be fixed with the exception of the Amazon sample. Amazon changed their API some time ago to require a signature parameter, I blogged about this here: http://jastraub.blogspot.com/2009/10/rest-now-supported-in-flexwsapi-and.html.
    Regards,
    Jason

  • Error calling BLS Transaction as Web service

    Hi,
    I am trying to call BLS tranx as Webservice from another BLS Tranx.
    I craeted the simple BLS with no input parameter and set only one output parameter.
    Then i created the WSDL as
    http://<server:port>/XMII/WSDLGen/<Transaction path>.
    In new BLS tranx, i created the Web Service action block and gave this WSDL URL (http://<server:port>/XMII/WSDLGen/<Transaction path>).
    I gave username and password and selected the port(XacuteWSSoap) and then operation( xacute).
    In Links, I gave the Loginname and Password.
    But while executing, it showed the error as
    Error Invoking Web Service Action: Status (401): Unauthorized
    My username and Loginname and passwords are correct only.
    What is the problem and how to solve it.
    Regards,
    Senthil

    Hi,
    Which SAP MII version you are using?
    I have tested one piece in MII 12.0.9 it works for me following are steps which i followed.
    After WSDL generation
    1. in Web service action block --> cofigure i am passing following parameters
    WSDL base URL:  http://<server:port>/XMII/WSDLGen/<transaction Path>
    User Name: XXX
    Password: XXX
    2. in Web service action block --> Links I am passing following parameters
    WSDLUrl : http://<server:port>/XMII/WSDLGen/<transaction Path>
    Web_Service_0.XacuteRequest{/ns1:XacuteRequest/ns1:LoginName} : XXX
    Web_Service_0.XacuteRequest{/ns1:XacuteRequest/ns1:LoginPassword} : XXX
    Refer below SDN thread may be helpfull:
    [Web Service Action Block;
    Hope it helps!!
    Regards,
    Manoj Bilthare

  • Error while testing External Web Service Integration

    I'm getting an error when I try to test an external webservice from Studio. After performing the steps to create an external webservice integration with SOAP, When I right-click on the .wsid file and choose "Test Service Operations" and chose the communication scenario and submit request, I get an error "A technical error error occured AP-RC-BDS-WS".
    I'm not able to call the service visa the ABSL script as well. When I debug, I get an error in the response CommFault as,
    "SoapfaultCode: 5 Server Error."
    I'm able to successfully test the web service from SOAPUI.
    Regards,
    Srikanth

    import ABSL;
    var Request: Library::AccProfExWebServInt.ZSI_Acc_Prof_Req_Obj.Request;
    var Response: Library::AccProfExWebServInt.ZSI_Acc_Prof_Req_Obj.Response;
    Request.ZMT_Acc_Prof_Req_obj.BUSINESS_GROUP = this.BusinessGroup;
    Request.ZMT_Acc_Prof_Req_obj.ZONE = this.Zone;
    Request.ZMT_Acc_Prof_Req_obj.REPRESENTATIVE = this.Representative;
    Request.ZMT_Acc_Prof_Req_obj.FROM_DATE = this.DateRange.StartDate.ToString();
    Request.ZMT_Acc_Prof_Req_obj.TO_DATE = this.DateRange.EndDate.ToString();
    Request.ZMT_Acc_Prof_Req_obj.REPORT_TYPE = this.ReportType;
    Request.ZMT_Acc_Prof_Req_obj.PROJS = this.Projects.ToString();
    Request.ZMT_Acc_Prof_Req_obj.SPECS = this.Specs.ToString();
    Request.ZMT_Acc_Prof_Req_obj.SALES_CALL = this.SalesCalls.ToString();
    Request.ZMT_Acc_Prof_Req_obj.TRAINING_ACTS = this.Training.ToString();
    //var Response = Library::AccProfExWebServInt.ZSI_Acc_Prof_Req_Obj(Request, " ", "AccountProfileScenario");
    Response = Library::AccProfExWebServInt.ZSI_Acc_Prof_Req_Obj(Request, "", "AccountProfileScenario");
    var CommFault = Response.CommunicationFault;
    var CommFaultItem = CommFault.Item;
    //Display Errors if any and return
    foreach (var item in CommFaultItem){
    raise MsgCommunicationFault.Create("E");
    return;
    //Display success message
    var ResponseUUID = Response.ZMT_Acc_Prof_Res_obj.EV_RESULT;
    raise MsgExternalResponse.Create("S");

  • 3rd Party Web Service Integration

    I am a complete beginner with SAP Process Integration.  I could do with a simple 'To Do' List on what I should do and in what order to do it so that I can 'talk' to external 3rd party web service. In a nutshell, I will be using 3rd party web service to create document for eventual printing, so I will need to populate XML with various database fields. I have been provided with the WSDL files for the web service.
    Appreciate any help, o matter how small.

    Hi Huw,
    Please have a look at the following links and see if it helps you.
    Re: communicating with a 3rd party system using webservices
    calling external web service from ABAP Program
    Re: Web service & Soap adapter Examples
    Best Regards

  • Web services integration with utilities

    Hi,
    I'm wondering if anyone has used web services in CRM 2007 in an installation that integrates with ECC 6 with utilities (ISU).
    I've looked at the web services available in CRM 2007 and see that they apply to objects such as Measuring Device but I'm wondering how well integrated it is with ISU. That is , when you call these services in CRM, will they actually call functions or web services in ISU to make sure everything stays in sync. I know the middleware does these synchonisation functions but everything is not done through replication...
    Are there going to be new web services specificaly for a utilities centered CRM installation ? Do these get installed with special enhancement packages ???
    Your advice is appreciated.

    Hi,
    I'm wondering if anyone has used web services in CRM 2007 in an installation that integrates with ECC 6 with utilities (ISU).
    I've looked at the web services available in CRM 2007 and see that they apply to objects such as Measuring Device but I'm wondering how well integrated it is with ISU. That is , when you call these services in CRM, will they actually call functions or web services in ISU to make sure everything stays in sync. I know the middleware does these synchonisation functions but everything is not done through replication...
    Are there going to be new web services specificaly for a utilities centered CRM installation ? Do these get installed with special enhancement packages ???
    Your advice is appreciated.

  • Transactions in Web Services

    hi all
    I have a problem understanding how transactions in webservices work. I am using netbeans 5.5 with j2ee5 and mysql, I have looked on the java tutorial but am only getting deployment errors, without the transcations the program works perfectly.is there anyway to use transactions in a webservice.
    please help
    thanks in advance
    Brian

    Brian, have you found a solution to your problem?
    I'm interested in the transactional aspects of web services as well.

  • Transaction inside web services, what does Oracle AS provides?

    Hi
    Thank you for reading my post.
    we have tens of web services that we want to deploy them inside one instance of Oracle AS, now we need to have some transaction support in several levels :
    - When we insert data into database in a single web services.
    - When we have JMS interaction in a single web service.
    - When we have JMS + Database interaction in a single web service.
    - When a taransaction start from one web service and it must propagate inside second web service and second web service will decide whether it should be commited or not.
    What does Oracle AS provides in this area?
    If there is no support for this kind of scenario in Oracle AS, then what we should do?
    Thanks

    Hi,
    1) if you are using Oracle Database 10g JDBC, it can pool connections for you, transparently -- if you are using Oracle AS or Oracle9iAS, you can just use JPublisher to generate the wrapper and deploy it.
    2) SSB is too heavy for just placing a JDBC call.
    3) a Servlet is lighter-weight that a SSB however, the Web services framework itself uses a Servlet to marchall / unmarshall SOAP messages -- unless your middle-tier requires a J2EE programming model (such as Servle or EJB) to pool JDBC connections
    4)For calling-in database operations as web services, our implementation requires the Oracle AS (or Oracle9iAS) OC4J middle-tier (see #1) however, you can invoke external Web services from within the database.
    See our Database Web services page for more details and code samples
    http://otn.oracle.com/tech/webservices/database.html
    Kuassi

  • Problem with Web Service integration in Adobe Form

    Hi All,
    I am new to web service and adobe interatcive forms.
    I need to develop a button on offline interactive adobe form which would call the webservice. The web service is exposed from PI.
    I am facing a lot of troubles.
    1. I not am able to find the web service in Web service navigator neither in portal nor PI. hence i am not able test it.
    2. I am having error while creating data connection in NWDS    " Cannot choose this operation: - there is no associated SOAP  
        Binding ".
    Hence i am not able to proceed ahead.
    Please let me know how to solve the issue.
    Regards,
    Aditya Deshpande

    i am closing this thread

  • [CS3 Win] Web Service Integration

    Does anyone know if it is possible to call a web service from an Indesign plugin? And if so where can I find an example of this?

    Thanks for the reply Andreas, I was aleady trying gSOAP out. I Have generated .h and .cpp files from a wsdl but cant get them to compile with my plugin. Its a slow process for me doing C++ when I'm used to C#.
    I'm really interested in finding a simple "hello world" like plugin that fetches data from a web service, just so I can see how it can be done.

  • NEED HELP WITH DATABASE WEB SERVICE INTEGRATION

    Hello everybody. I have created a web service with returns a list of records extracted from a database. It works, Apex references the web service and get the result when I test it, but I want to display results in a page type "Form and Report on Web Service" and when I associate the web service to the page and click on "Finish Button" I get this message:
    "This Web service does not have a result tree in its definition that is appropriate for a report. You may wish to run the Form on Web Service wizard instead.".
    It is correct, of course, but I do not have an example of how to do an appropriate definition for this kind of report.What kind of definition is it waiting for? What I do in the web service is to return a list of items (a resultset of a query such as "SELECT PRODUCTID, PRODUCTNAME, PRICE, IMAGEHREF FROM PRODUCTS") concatenated in a string (commas-separated values). What kind of output must the web service produce or how have I to structure the associated wsdl document in order to display the result with a "form and report on web service" page?
    Every help or example is welcome.
    Thanks a lot and have a nice day
    Stefano-ITALY

    i saw that it is giving this below error but not sure why ??
    org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method registerEmployee
    at org.apache.axis2.util.Utils.getInboundFaultFromMes sageContext(Utils.java:486)
    at org.apache.axis2.description.OutInAxisOperationCli ent.handleResponse(OutInAxisOperation.java:343)
    at org.apache.axis2.description.OutInAxisOperationCli ent.send(OutInAxisOperation.java:389)
    at org.apache.axis2.description.OutInAxisOperationCli ent.executeImpl(OutInAxisOperation.java:211)
    at org.apache.axis2.client.OperationClient.execute(Op erationClient.java:163)
    at webservice.EmployeeServiceStub.registerEmployee(Em ployeeServiceStub.java:488)
    at webservice.EmployeeClient.main(EmployeeClient.java :22)can anyone suggest why this might come ?
    thanks

  • Visual Studio Sample Code for Web Services Integration

    I am new to the CRM OnDemand web services and am looking to write an interface for querying and updating data. I have imported the .wsdl and got the log-in and log-out functioning but rather than re-inventing the wheel I was wondering if anybody had some sample code of how to work with the business objects such as Account or Contact.
    I am using Visual Studio .Net (Prefer c#). Any sample would be greatly appreciated.
    Thanks in advance....
    Edited by: user10730659 on 9/01/2009 23:08
    Edited by: user10730659 on 20/01/2009 16:11

    I found some examples in the Web Services Resource Library.
    you can access this through the "Training and Support" link from within CRM OD.
    Then click on "Web Services Library" then download the Getting Started kits
    Edited by: user10730659 on 20/01/2009 16:11

  • Admin Web Services Integration

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pag="urn:crmondemand/ws/odesabs/pagelayout/pagelayoutfieldservice/" xmlns:quer="urn:/crmondemand/xml/pagelayout/pagelayoutfieldservice/query">
    <soapenv:Header/>
    <soapenv:Body>
    <pag:PageLayoutFieldRead_Input>
    <quer:PageLayout>
    <quer:ObjectName>Account</quer:ObjectName>
    <quer:LayoutName>Admin page layout</quer:LayoutName>
    <quer:Description>PT Company page layout</quer:Description>
    <quer:ListOfPageLayoutField>
    <quer:PageLayoutField>
    <quer:FieldName/>
    <quer:ReadOnly/>
    <quer:Required/>
    <quer:Section/>
    <quer:Column/>
    <quer:Row/>
    </quer:PageLayoutField>
    </quer:ListOfPageLayoutField>
    </quer:PageLayout>
    </pag:PageLayoutFieldRead_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    I am able to get the JSESSIONID by accessing through https://secure-ausomxXXX.crmondemand.com/Services/Integration. And then use the above SOAP to query Page Layout Field https://secure-ausomxapa.crmondemand.com/Services/cte/PageLayoutFieldService;jsessionid=<something>
    setRequestMethod("POST")
    setRequestProperty("Content-Type", "text/xml")
    setRequestProperty("SOAPAction", "document/urn:crmondemand/ws/odesabs/PageLayoutField/:PageLayoutFieldRead")I get the following error when i try reading the input stream:
    Server returned HTTP response code: 400 for URL: https://secure-ausomxXXX.crmondemand.com/Services/cte/PageLayoutFieldService;jsessionid=<something>
    Admin services are enabled for my POD. I don't know the reason why I am getting this response. Is there some mistake in my SOAP request??
    Thanks in advance

    Please post this question in the CRM On Demand Integration Development forum.

Maybe you are looking for

  • Init w/o data transfer shows Added/Transfrd - 1/1

    Hi , Init w/o data transfer load was successful after having applied <i>Note 689964 - ODS object: Switching from a full to delta upload !</i> I have two weird ( nt sure ) issues below : <b>Issue 1</b> On Manage screen I see Added - 1 & Transferred -

  • Will Apple replace my phone if it broke due to an update?

    I've had my iPhone 5 since September, so about 6 months now. Last week, I was backing up my phone like I do every so often, and I was asked if I wanted to update my phone to the newer, updated version of iOS 7. (I believe it was iOS 7.0.6) Anyway, a

  • Is there any way to remotely deactivate an installed copy of Photoshop CS5?

    I had Photoshop CS5 installed on my laptop.  The hard drive recently crashed and had to be replaced.  Because it crashed suddenly, I was unable to deactivate the install.  Is there any way to remotely deactivate it so I can install it on the new hard

  • Hp dx9000 touchsmart business as second monitor

    My question is, could the HP dx9000 touchsmart business SERVE/BE the second monitor to another Windows 7 PC? I know the HP dx9000 touchsmart for business can HAVE a second monitor. My thought is NO, but need to confirm. This question was solved. View

  • Should i buy a blue ray player?

       i have a 37" vizio 720p that supports 1080i signals and recently bought one of those upconverting dvd players for it and was not impressed with the picture quality at all. i also own a xbox 360 and downloaded one of the 720p movies off of the mark