Webservice in MII

Hallo
I try to connect a web service in MII with an action block. There is also set a credential alias.
By testing, I get the following error:
[ERROR] Error Invoking Web Service Action: The element type "p" must be terminated by the matching end-tag "</p>".
By testing the WS in Soapui it still works.
Any suggestions?

Hi,
I am a colleague of Sebastian and since we got new insight in the problem I want to tell you what we found out:
Since we couldn't find the real source of the problem we used the [Fiddler-Webproxy-Tool |http://www.fiddler2.com/fiddler2/] to monitor and log the HTTP traffic as man in the middle
We found out that MII calls HTTP webservices with the HTTP POST method (which is correct) while in HTTPS calls HTTP GET is used (which is wrong by design since all input parameters would have to be URL encoded)
Thus the return value for the webservice is a HTML 404 error page which can't be parsed sometimes.
We also saw that the requesting user agent string is different for HTTP and HTTPS so we assume these are two different libraries that are used by MII
There are a few pitfalls when you try to reproduce the behavior which could also explain why it works for most people.
MII has a special behavior working with Webservices. When you setup the action block you deliver the WSDL address and choose the right webservice action.
When the action block is executed the WSDL is requested again and the endpoint of the WSDL is used(!) for the webservice call.
So even if you request the WSDL over a HTTPS connection it can be that the webservice endpoint in the WSDL is a HTTP one and the webservice call itself will not be secured (and will also not show the above error)
Steps to reproduce the error:
On Netweaver there exists a simple demo webservice called SimpleEchoEJBBean
Go to Single Service Administration and switch this Webservice to HTTPS.
You have to do this so that the endpoint in the WSDL is switched to HTTPS. You can check this by looking at the WSDL in the browser.
Now try to communicate with this webservices via a MII action.
When you let the transaction run it can be that you wont get an error since  MII parses the 404 error page without errors and just delivers no result. So the result of the webservice call will be empty.
When you start the transaction with debug outputs (CTRL+F5) you will see the error directly

Similar Messages

  • Consuming a webservice of MII in Xcelsius 2008

    Hello Everyone !
    I have created a webservice in MII 12.1. I tested it in SoapUI. It is working fine.
    I created a separate webservice using SAP. Tried to consume in Xcelsius 2008. It is also working fine.
    But, the webservice created in MII 12.1 which I try to consume in Xcelsius 2008 is giving me error as "Unable to load URL".
    What can be the possible measures to overcome this issue ?
    Regards,
    Vaibhav Singhania

    Hi,
    Try to call MII transaction in URL with MII user id and password.if it is working fine then try to use that in Xcelsius 2008.We have done this procedure.
    Thanks,
    Ramesh

  • Consume XI webservice in MII

    Hi Gurus,
    I need to consume a webservice in MII (WSDL published using PI) , please give some guidance/link in this regard.

    Thanks for links ,those are helpful.
    however I tried the things it is giving me below error.
    SOAP service could not be loaded:XmlProxy Error:Status (401): Unauthorized.
    I have  superadmin authorization on both system (PI,MII). but the issue is when I am giving url of webservice it is not showing me the entry space of Username/Password. I am using MII 12.

  • CALL  SAP ME's WebService from MII

    Hello,  How can I call SAP ME's web service from SAP MII?

    Hi Dmitry,
    While you can't change the interfaces built into ME (in MII), you should be able to either copy or simply view them, depending upon your security settings.  There should be plenty of examples in the SAPMEINT or if an older version VERPSFI content.
    Good luck and if you can't figure it out here, you may want to post on the ME forum. 
    Regards,
    Mike

  • Error 502

    Hello, there!
    I'm having a "502 Proxy Error. The ISA Server denied the specified Uniform Resource Locator (URL)" error while trying to call an XI webservice from MII 12.0 using a "WebService XI" action.
    Both MII and XI are on the same machine. I'm using a WSDL file that was exported from XI and stored as a local file.
    I suppose it is a network issue.
    Does anyone have a clue?
    Thanks a lot!

    Mike,
    The name gets resolved as we can ping it normally.
    This is what NW logs show us:
    SOAP Invoke Error For http://<server>:<port>/XISOAPAdapter/MessageServlet?channel=:WBI_Sender:CC_SND_SOAP_fromSOAP_toFile_SARAH02&version=3.0&Sender.Service=WBI_Sender&Interface=http%3A%2F%2Fcsa.com.br%2Fpi%2FWebServicesTest%2FTestInterPI%5EMI_OB_PI_SARAH02
    [EXCEPTION]
    java.lang.Exception: Status (502): Proxy Error ( The ISA Server denied the specified Uniform Resource Locator (URL).  )
    at com.sap.lhcommon.webservice.SoapClient.invoke(SoapClient.java:114)
    at com.sap.xmii.xacute.actions.xi.WebServiceXIAction.getOutgoingXml(WebServiceXIAction.java:91)
    at com.sap.xmii.xacute.actions.webservice.WebServiceAction.RawInvoke(WebServiceAction.java:474)
    at com.sap.xmii.xacute.actions.webservice.WebServiceAction.Invoke(WebServiceAction.java:511)
    at com.sap.xmii.xacute.core.Action.Process(Action.java:72)
    at com.sap.xmii.xacute.engine.TransactionEngine.Process(TransactionEngine.java:104)
    at com.sap.xmii.xacute.core.ActionSequence.Process(ActionSequence.java:25)
    at com.sap.xmii.xacute.engine.TransactionEngine.Process(TransactionEngine.java:104)
    at com.sap.xmii.xacute.core.ActionSequence.Process(ActionSequence.java:31)
    at com.sap.xmii.xacute.engine.TransactionEngine.Process(TransactionEngine.java:104)
    at com.sap.xmii.xacute.engine.TransactionEngine.Execute(TransactionEngine.java:48)
    at com.sap.xmii.servlet.Runner.service(Runner.java:173)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
    at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:100)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

  • Consuming MII WebService in Java WebDynpro

    Hello,
    We are facing a strange situation...
    We define a transaction in MII to be consumed as WebService in Java WebDynpro. This transaction is a simple query on a DB returning 4 fields :
    Shift code : SHIFT
    Shift description : DESCRIPTION
    Start time : START_TIME
    End time : END_TIME
    It works fine, we use the import adaptative web service wizzard in netweaver developper studio to use this WS...
    But if we to an update on the webservice, changing a field name for example (SHIFT -> SHIFTCODE), we start to have trouble...
    We got then the very helpful error message :
    Exception on execution of web service with WSDL URL '<sever>/WebServices/GetShift' with operation 'Xacute' in interface 'XacuteWSSoap'
    If I display the model info using wdContext.currentRequest_XacuteElement().modelObject().associatedModelClassInfo().getModelInfo().toString()
    I got the following (extract) :
    <ModelClassPropertyInfo name="SHIFT" dataType="com.sap.tc.webdynpro.model.webservice.types.string(java.lang.String)" readOnly="false" qName="SHIFT" required="true" backendType="null"/>
    As you can see, the model definition is NOT updated and we still have SHIFT as name instead of SHIFTCODE...
    If someboby has an idea, it will save us our life ;o)
    Thank you
    PS:it the same behaviour if we add a field...

    Oliver -
    Did you try to reimport the WS model ..? If yes and still doesn't work...Try  to delete the old proxy in webdynpro ( adoptive ws) and import again.
    To avoid code changes,you can give same old name while fresh import.
    Adoptive WS in webdynpro  is not really like Adoptive RFC .It has some limitations.
    Thanks
    Hari

  • How to call a webservice (e.g. MII)?

    I am looking for information how to call a webservice (e.g. a transaction in SAP MII) in SAP ME. For example, I have to call a webservice when the user clicks the "Start" button in a POD. Is this something I can only achieve by implementing my own activity hook? Is there a documentation about this topic?

    Hello,
    I try to do the same, calling a MII Webservice from a collaboration plug-in...
    Based on my WebDynpro experience, I was expecting to have to reproduce almost the same code, so in the transporter, I write this code :
              MyWebService ws = new MyWebService();
              InputParams inputParams = new InputParams();
              XacuteRequest xacuteRequest = new XacuteRequest();
              // inputParams.setIFEQUIPMENT(inputInformation.getString("RESOURCE",""));
              inputParams.setIFREPORTEDBY(inputInformation.getString("USER",
                        "Unknown"));
              xacuteRequest.setLoginName(Constants.LOGIN);
              xacuteRequest.setLoginPassword(Constants.PWD);
              xacuteRequest.setInputParams(inputParams);
              try {
                   XacuteResponse xacuteResponse = new XacuteResponse();
                   xacuteResponse = ws.getMyWebServicePort()
                             .xacute(xacuteRequest);
              } catch (Exception e) {
                   returnData.put("EXCEPTION", e.toString());
                   returnData.put("SUCCESS", "false");
                   returnData.put("ERROR_MESSAGE", e.getMessage());
    But when executing, I got the error message "can not authentificate the user" (on the local Netweaver, it doesn't reach the MII platform)
    Any idea ? Who can give me a complete example of calling an MII web service ?
    Thanks
    Olivier

  • How to consume MII transaction as a webservice

    I have the WSDL for the MII transaction
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions targetNamespace="http://www.sap.com/xMII" 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/">
    - <!--  Types
      -->
    - <types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://www.sap.com/xMII">
    - <s:complexType name="InputParams">
      <s:sequence id="InputSequence" />
      </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:element maxOccurs="1" minOccurs="1" name="OutputXml" 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://<server>:53000/XMII/SOAPRunner/Default/Oilandgas/ForTagQuery" />
      </port>
      </service>
      </definitions>
    I tried consuming this from ABAP WebDynpro from an ERP system (set up a Logical port and an HTTP connection).
    I also tried consuming it from the browser by calling the URL
    http://<server>:53000/XMII/SOAPRunner/Default/Oilandgas/ForTagQuery
    It complained of 'Invalid username or password' HTTP 401
    So, I added
    http://<server>:53000/XMII/SOAPRunner/Default/Oilandgas/ForTagQuery&XacuteRequestLoginName=<user>&XacuteRequestLoginPassword=<password>
    Still didn't work 'Invalid username or password'.
    Any pointers where am I going wrong?
    Regards,
    Harish

    Take a look at this thread.  It may give you more insight and links to other messages which will help.
    [WebService Calls|Re: Troubleshooting webservice call / xMII-NetWeaver processing / Data Source]
    If you solve your problem, please post your results here so others can benefit.  I would also like to know more about how you set it up on the ABAP side.
    Good luck,
    Mike

  • Adobe LiveCycle Designer query data from MII 12.0 via Webservice

    Hi folks,
    at the moment I'm "learning" how to create interactive forms with the Adobe LiveCycle Designer. I hope anyone already did something like that too and can help me a bit?!
    Creating forms with XML data in the background etc. is not that problem. Also using little schemas to provide data to a dropdown list - I fand that no trouble. But now I want to request some dynamic data from an external data provider.
    I have a nice book from SAP Press laying next to me that tells me how to create a webservice based on a BAPI in SAP and how that webservice delivers some table data. But before I try to get data out of SAP, I would like to retrieve data by using MII (12.0 at first). I already built a transaction that creates some XML and imported the WSDLGen as a new data connection in Adobe LC Designer. No problem so far. I can execute it and I get some data back. But the XML that comes back is not formatted as table data as expected from Adobe LC so I can't build a table from it. I only receive the first dataset - every value as a single value, not as a table or row.
    So does anyone know how to format the XML result in MII or how to combine it with a schema so that Adobe LC Designer is able to interprete it as table data? In the SAP example in the book the received data from the data connection of the webservice is shown as table data (a litte table icon) and my data from MII is shown as single values...
    Thanks
    Anika
    Edited by: Anika Delzeit on Feb 3, 2010 12:21 PM

    It sounds like you need use the adobe schema in MII so the output of your transaction matches it.
    Regards,
    Jamie

  • SAP ME 5.2 WebService MII

    Hello, How can I call SAP MII's web service from SAP ME?

    Hi Dmitry,
    Please refer to this forum thread:
    Calling Webservice from SAP ME
    Regards,
    Konstantin

  • SAP MII 11.5 Compatibility with ECC6

    We are currently using xMII 11.5.6 with SAP 4.7.  We are upgrading to ECC6 in the next few months.  Are there any compatiblity issues that we need to watch for in this upgrade?  We are using the IDOC Listener and JCO interfaces in our Business Logic Transactions.
    We also have some Webservices which use the SAP .Net Connector.

    Hi Karen - as long as the BAPI's / RFC's produce the same Request/Response XML when called from MII it should be no different than before.  Of course you will still probably be testing things accordingly, but the xml exchanges between MII and R/3 should be the same.

  • Error While generating Web Service Proxy using Web Service Action in MII 12

    Hi All,
    We are using the Web Service action block in BLS transaction to call a web service from an external legacy system. When we provide the WSDL in the action block configuration and click Next we can see the Port and Operation of the web service which we have selected and finally clicked on Finish. On clicking Finish it is giving an error "[Fatal Error] :-1:-1: Premature end of file." and no web service request/response structures are being generated.
    The WSDL file is attached herwith. Please check and provide the solution. We are using MII 12.2 SP02 with latest patch.
    An error message is also added to the NetWeaver log as below:
    XmlProxy Error: Premature end of file.
    [EXCEPTION]
    org.xml.sax.SAXParseException: Premature end of file.
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:264)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
    at com.sap.lhcommon.schema.XmlHelper.loadDocument(XmlHelper.java:38)
    at com.sap.lhcommon.schema.XmlHelper.loadDocumentNS(XmlHelper.java:28)
    at com.sap.lhcommon.webservice.SoapMessage.getExampleXmlAsBytes(SoapMessage.java:103)
    at com.sap.xmii.servlet.XmlProxy.service(XmlProxy.java:204)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
    at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:96)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
    at com.sap.xsrf.filter.XSRFProtectorFilter.doFilter(XSRFProtectorFilter.java:62)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:468)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:399)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:388)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:84)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:244)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:327)
    The wsdl file is as follows:
    <wsdl:definitions
    targetNamespace="urn:cat.cis.mesassembly.server.service.pod"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://pod.service.server.mesassembly.cis.cat"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:intf="urn:cat.cis.mesassembly.server.service.pod"
    xmlns:impl="urn:cat.cis.mesassembly.server.service.pod"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding"
    >
    <wsdl:types>
       <schema targetNamespace="http://pod.service.server.mesassembly.cis.cat"
       xmlns="http://www.w3.org/2001/XMLSchema">
       <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
       <complexType name="ProductionOrderDetailsInput">
       <sequence>
         <element name="detailsString" type="xsd:base64Binary"/>
         <element name="productionOrderNumber" nillable ="true" type="xsd:string"/>
         <element name="fullExplosionFlag" type="xsd:string"/> 
       </sequence>
       </complexType>
       <complexType name="ProductionOrderDetailsReceipt">
       <sequence>
         <element name="errorMessage" nillable="true" type="xsd:string"/>
         <element name="valid" type="xsd:boolean"/>
       </sequence>
       </complexType>
       </schema>
    </wsdl:types>
    <wsdl:message name="processOrderDetailsResponse">
      <wsdl:part name="podReturn" type="tns:ProductionOrderDetailsReceipt" />
    </wsdl:message>
    <wsdl:message name="processOrderDetailsRequest">
      <wsdl:part name="input" type="tns:ProductionOrderDetailsInput" />
    </wsdl:message>
      <wsdl:portType name="PodService">
        <wsdl:operation name="ProcessOrderDetails" parameterOrder="input">
          <wsdl:input message="impl:processOrderDetailsRequest"
          name="processOrderDetailsRequest"/>
          <wsdl:output message="impl:processOrderDetailsResponse"
          name="processOrderDetailsResponse"/>
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="ProdOrderDetailsSoapBinding" type="impl:PodService">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="ProcessOrderDetails">
          <soap:operation soapAction="http://pod.service.server.mesassembly.cis.cat/NewOperation"/>
          <wsdl:input name="processOrderDetailsRequest">
            <soap:body  use="literal"  encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:cat.cis.mesassembly.server.service.pod"  />
          </wsdl:input>
          <wsdl:output name="processOrderDetailsResponse">
            <soap:body  use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:cat.cis.mesassembly.server.service.pod"  />
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="PodService_Service">
        <wsdl:port binding="impl:ProdOrderDetailsSoapBinding" name="ProdOrderDetails">
          <soap:address location="http:/localhost:8080/MESAssembly/services/ProdOrderDetails"/>
        </wsdl:port>
      </wsdl:service>
    </wsdl:definitions>

    The WSDL file is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions
    targetNamespace="urn:cat.cis.mesassembly.server.service.pod"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://pod.service.server.mesassembly.cis.cat"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:intf="urn:cat.cis.mesassembly.server.service.pod"
    xmlns:impl="urn:cat.cis.mesassembly.server.service.pod"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding"
    >
    <wsdl:types>
       <schema targetNamespace="http://pod.service.server.mesassembly.cis.cat"
       xmlns="http://www.w3.org/2001/XMLSchema">
       <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
       <complexType name="ProductionOrderDetailsInput">
       <sequence>
         <element name="detailsString" type="xsd:base64Binary"/>
         <element name="productionOrderNumber" nillable ="true" type="xsd:string"/>
         <element name="fullExplosionFlag" type="xsd:string"/> 
       </sequence>
       </complexType>
       <complexType name="ProductionOrderDetailsReceipt">
       <sequence>
         <element name="errorMessage" nillable="true" type="xsd:string"/>
         <element name="valid" type="xsd:boolean"/>
       </sequence>
       </complexType>
       </schema>
    </wsdl:types>
    <wsdl:message name="processOrderDetailsResponse">
      <wsdl:part name="podReturn" type="tns:ProductionOrderDetailsReceipt" />
    </wsdl:message>
    <wsdl:message name="processOrderDetailsRequest">
      <wsdl:part name="input" type="tns:ProductionOrderDetailsInput" />
    </wsdl:message>
      <wsdl:portType name="PodService">
        <wsdl:operation name="ProcessOrderDetails" parameterOrder="input">
          <wsdl:input message="impl:processOrderDetailsRequest"
          name="processOrderDetailsRequest"/>
          <wsdl:output message="impl:processOrderDetailsResponse"
          name="processOrderDetailsResponse"/>
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="ProdOrderDetailsSoapBinding" type="impl:PodService">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="ProcessOrderDetails">
          <soap:operation soapAction="http://pod.service.server.mesassembly.cis.cat/NewOperation"/>
          <wsdl:input name="processOrderDetailsRequest">
            <soap:body  use="literal"  encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:cat.cis.mesassembly.server.service.pod"  />
          </wsdl:input>
          <wsdl:output name="processOrderDetailsResponse">
            <soap:body  use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:cat.cis.mesassembly.server.service.pod"  />
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="PodService_Service">
        <wsdl:port binding="impl:ProdOrderDetailsSoapBinding" name="ProdOrderDetails">
          <soap:address location="http:/localhost:8080/MESAssembly/services/ProdOrderDetails"/>
        </wsdl:port>
      </wsdl:service>
    </wsdl:definitions>

  • Error while posting Payload from MII to PI

    <?xml version="1.0" encoding="UTF-8"?>
    <p1:UpdateControlRecipeStatus_Async_V01 xmlns:p1="http://bhpbilliton.net/services/ControlRecipe" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:p2="http://bhpbilliton.net/GDT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <MessageHeader>
         <UUID>31136734-2673-4E45-9422-28035D5E9D8A</UUID>
         <CreationDateTime>2010-09-15T07:20:22Z</CreationDateTime>
         <SenderBusinessSystemID>BHPB_NIW_SAPMII_DEV</SenderBusinessSystemID>
         <RecipientBusinessSystemID>INTEGRATION_SERVER_XD1</RecipientBusinessSystemID>
             <p2:OriginalSenderDetails>
                <SenderBusinessSystemID>BHPB_NIW_SAPMII_DEV</SenderBusinessSystemID>
              <AssetSourceSystem>MES</AssetSourceSystem>
                <UUID>31136734-2673-4E45-9422-28035D5E9D8A</UUID>
           </p2:OriginalSenderDetails>
        </MessageHeader>
        <ControlRecipe>
            <ControlRecipeID>100000000000047531</ControlRecipeID>
            <ControlRecipeStatusCode>00005</ControlRecipeStatusCode>
            <ProcessOrderID>000130008519</ProcessOrderID>
            <EventDate>2010-09-15</EventDate>
            <EventTime>15:20:23</EventTime>
        </ControlRecipe>
    </p1:UpdateControlRecipeStatus_Async_V01>
    [INFO] [Log_PIServiceReturnXML]
    PostDataToPIService.OutputLinksSuccess-->1
    PostDataToPIService.InputLinksSuccess-->1
    PostDataToPIService.UserPassword-->null
    PostDataToPIService.UserName-->A2A_BHA
          PostDataToPIService.URL->http://ud1sap01xd1.bhpb.internal:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=BHPB_BHA_SAPMII_DEV&receiverParty=&receiverService=&interface=ControlRecipeStatusUpdate_Async_Out_V01&interfaceNamespace=http%3A%2F%2Fbhpbilliton.net%2Fservices%2FControlRecipe
    PostDataToPIService.Success:0
         PostDataToPIService.ReturnAsXML-><?xml version="1.0" encoding="UTF-8"?>
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP:Body>
        <SOAP:Fault>
          <faultcode>SOAP:Server</faultcode>
          <faultstring>Server Error</faultstring>
          <detail>
            <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
              <context>XIAdapter</context>
              <code>ADAPTER.JAVA_EXCEPTION</code>
              <text><![CDATA[
    com.sap.aii.af.sdk.xi.mo.MalformedMessageException: No SOAP Envelope but 1 UpdateControlRecipeStatus_Async_V01
         at com.sap.aii.af.sdk.xi.mo.Message.reparseRootDocument(Message.java:1050)
         at com.sap.aii.af.sdk.xi.net.MIMEInputSource.readSOAPPart(MIMEInputSource.java:636)
         at com.sap.aii.af.sdk.xi.net.MIMEInputSource.decodePart(MIMEInputSource.java:628)
         at com.sap.aii.af.sdk.xi.net.MIMEInputSource.readBody(MIMEInputSource.java:385)
         at com.sap.aii.af.sdk.xi.net.MIMEServletInputSource.parse(MIMEServletInputSource.java:58)
         at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:393)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
         at com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:124)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:461)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
         at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:76)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:243)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
         at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
              ]]></text>
            </s:SystemError>
          </detail>
        </SOAP:Fault>
      </SOAP:Body>
    </SOAP:Envelope>
          PostDataToPIService.StatusText->Internal Server Error
    PostDataToPIService.ReturnAsString--><?xml version='1.0'?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
      <SOAP:Body>
        <SOAP:Fault>
          <faultcode>SOAP:Server</faultcode>
          <faultstring>Server Error</faultstring>
          <detail>
            <s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>
              <context>XIAdapter</context>
              <code>ADAPTER.JAVA_EXCEPTION</code>
              <text><![CDATA[
    com.sap.aii.af.sdk.xi.mo.MalformedMessageException: No SOAP Envelope but 1 UpdateControlRecipeStatus_Async_V01
         at com.sap.aii.af.sdk.xi.mo.Message.reparseRootDocument(Message.java:1050)
         at com.sap.aii.af.sdk.xi.net.MIMEInputSource.readSOAPPart(MIMEInputSource.java:636)
         at com.sap.aii.af.sdk.xi.net.MIMEInputSource.decodePart(MIMEInputSource.java:628)
         at com.sap.aii.af.sdk.xi.net.MIMEInputSource.readBody(MIMEInputSource.java:385)
         at com.sap.aii.af.sdk.xi.net.MIMEServletInputSource.parse(MIMEServletInputSource.java:58)
         at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:393)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
         at com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:124)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:461)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
         at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:76)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:243)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
         at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
              ]]></text>
            </s:SystemError>
          </detail>
        </SOAP:Fault>
      </SOAP:Body>
    </SOAP:Envelope>

    Hi,
    could you please provide us with some additional information like MII version, what you have done so far, if MII generally gets errors when sending messages to PI and so on.
    Do you have configured connections to other SAP systems?
    Michael

  • SAP R/3 to MII - Format of Input Data

    Hi,
    Can I send data in XML format when doing a webservice call from SAP R/3 to MII? I will probably have 2 columns and upto 100 rows of data in each call.
    Regards,
    Chanti.

    I am not using XMIIMessageListener for my webserivce call. Instead, using the WSDLGen. Will I still be able to send XML data to MII?
    Chanti.

  • Not able to send message - http post from MII 12.1.4.53 to PI 7.1

    Hi ,
    Question
    u2022     Is there any configuration to set up in MII and PI to do posting to PI as a web service? If YES, please guide.
    Situation
    u2022     We are with MII version 12.1.4.53 and trying to send message through http post to PI 7.1 server.
    u2022     We are getting the following error HTTP 500 Internal Error Issue.
    u2022     However we are able to post messages from SOAPUI through the same URL and with the MII system which is running on version 12.1.6.91 and 12.1.9.116
    u2022     HTTP Response received as below points to PI Configuration issue.
    Error
        <SOAP:Fault>
          <faultcode>SOAP:Server</faultcode>
          <faultstring>Server Error</faultstring>
          <detail>
            <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
              <context>XIAdapter</context>
              <code>ADAPTER.JAVA_EXCEPTION</code>
              <text><![CDATA[
    com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve inbound binding for the given P/S/A values: FP=senderService;TP=;FS=null;TS=;AN=null;ANS=null;
    thanks
    Rajesh

    Hi Anudeep,
    The question isNOT ABOUT the format of the URL which MII should use.
    Using the same URL we are able to post the message from other MII versions with in the landscape( MII version 12.1.6 and MII version12.1.9) and through SOAP UI.
    500 Internal server error Problem arises when the message is sent through the same URL from MII 12,1.4 Build(53) to PI 7.1 ( we tried https Post, XI Webservice, WebService action blocks)
    Question:
    Are thre any configuration settings specific to MII version12.1.4 Build 53 which needds to be set in MII to communicate to PI 7.1.
    Thanks
    Rajesh

Maybe you are looking for

  • Urgent help need. DB is crashed. To save it I try to Upgrade from Oracle XE

    Hi. We have DB on Oracle XE 10.2.0.1. PC (Windows XP) was reboot and DB don't start with C:\oraclexe\app\oracle\flash_recovery_area\XE\ONLINELOG\O1_MF_2_6YJ6WJX9_.LOG file. It is crashed with 0600 internal error. I have deleted this file and start DB

  • How to view lines in table control after pressing vertical scroll bar

    Hi Experts,  I created table control in MPP, While design my layout I design table control with 12 lines(Fixed),  But I am moving my internal table values to table control. my internal table have more then 12 lines. My problem is I cant view my 13, 1

  • Display MOTD in Web Browser

    Hi I know that we can display MOTD banner through terminal and Telnet session. IS there anyway to display MOTD banner from the Web Browser interface. That is when I http into the Access Point. I will like to see the MOTD in there. Thank Tan

  • Need Help on this Querry

    Hi, I have one table cust it have one filed date(column),i have write the below querry it is giving values for differnt months.Based on the below querry result i want data for tha particular year. select a.date,a.val/b.values as Result from (select (

  • Exchange rate in PO, MIGO & MIRO

    Hi all, I would like to understand clearly how exchange rate will be taken. My scenario: Our company currency is EUR. Creating PO for a foreign vendor of USD. Exchange rate is picked by default. I have selected "Exchange rate fixed" indicator. But in