Testing between XI  - SOAP(WebService)

Hi,
    I am doing scenario R3 (Rfc) - > XI - >SOAP(Webservice). Now R3 system is not available, i want to test the data flow between the XI and SOAP(WebService).
I have tested  <b>Webservice</b> with XML Spy , witch is working fine.
Now i want to test Between XI and SOAP(Webservice). Can any one help me is there any way to test between these two systems for time being.
thanks,
dhanush.

Hi,
I hope  you might have already  executed this Scenerio  when R3  is  Up..Right ..If  so... Use that Pay load  and paste  in  in Component  monotoring..use  test tab  and send the message  after pointing the right  interface  and it's namespace.
Regards
Agasthuri Doss

Similar Messages

  • HTTP- XI- SOAP(webservice) - error in outbound mapping

    Scenario is HTTP(request)->XI->SOAP(webservice) ->XI->HTTP(response)
    2 messsage mappings for request and response (syncronous)
    1 interface mapping
    HTTP payload reaches XI from there it appears problem translating request data to webservice external URL "http://webservices.imacination.com/distance/Distance.jws". 
    Message mappings when tested with sample xml in intergration repository results in success. Meaning source populated data gets copied to target in IR testing (both for request and response).
    Here is the log from SXMB_MONI
    - - - - SystemError synchronous 034E60D2-1D22-6B44-B424-E7A4527B7375 54F73912-E6A9-A741-A815-1F623FC79293 2007-01-23T14:50:58Z - vservice4 mi_inb_ws - vservice4 mi_out mi_out - BestEffort - Application <b>EXCEPTION_DURING_EXECUTE</b> com/sap/xi/tf/_mm_ws_ java.lang.NullPointerException During the application mapping com/sap/xi/tf/_mm_ws_ a <b>java.lang.NullPointerException was thrown</b>: N - - HTTP
    server-protocol HTTP/1.1 user-agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) host <xiapp>:8050 content-length 230 remote-addr 10.20.40.120 <b>COMMIT is expected by application</b> !
    SAP_CENTRAL - - - - R E C E I V E R - D E T E R M I N A T I O N Cache Content is up to date - - - - I N T E R F A C E - D E T E R M I N A T I O N Cache Content is up to date - - - - number of receivers: 1 Single-receiver split case - - - - Interface Mapping urn:
    vmyvendor.org\http2webservice im_ws RuntimeException during appliction Java mapping com/sap/xi/tf/_mm_ws_ java.lang.NullPointerException at com.sap.aii.mappingtool.tf3.AMappingProgram.exceptionCaught$(AMappingProgram.java:59)
    Any pointers would be greatly appreciated. Thanks

    From XML request message->SOAP Header->Trace & using XML spy problem is in <b>CL_XMS_MAIN-CALL_PLSRV</b>. The log also talks about message persist processing, is it valid for sync webservice?
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Trace xmlns:SAP="http://sap.com/xi/XI/Message/30">
    + <Trace level="1" type="B" name="CL_HTTP_PLAIN_INBOUND">
      <Trace level="1" type="T">server-protocol HTTP/1.1</Trace>
      <Trace level="1" type="T">user-agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)</Trace>
      <Trace level="1" type="T">host xiapp:8050</Trace>
      <Trace level="1" type="T">content-length 229</Trace>
      <Trace level="1" type="T">remote-addr 10.20.40.101</Trace>
      </Trace>
      <Trace level="1" type="T">COMMIT is expected by application !</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-ENTER_XMS" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="CL_XMS_MAIN-SET_START_PIPELINE" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="SXMBCONF-SXMB_GET_XMB_USE" />
      <Trace level="1" type="B" name="CL_XMS_TROUBLESHOOT-ENTER_PLSRV" />
      <Trace level="1" type="T">****************************************************</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_UC_EXECUTE" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">Message-GUID = 69CB2C55A02E1048AC67316A17FD109D</Trace>
      <Trace level="1" type="T">PLNAME = CENTRAL</Trace>
      <Trace level="1" type="T">QOS = BE</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_SYNC" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">Get definition of external pipeline CENTRAL</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID" />
      <Trace level="1" type="T">Corresponding internal pipeline SAP_CENTRAL</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
    + <Trace level="1" type="B" name="PLSRV_RECEIVER_DETERMINATION">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
    - <Trace level="1" type="B" name="CL_RD_PLSRV-ENTER_PLSRV">
      <Trace level="1" type="T">R E C E I V E R - D E T E R M I N A T I O N</Trace>
      <Trace level="1" type="T">Cache Content is up to date</Trace>
      </Trace>
      </Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
    + <Trace level="1" type="B" name="PLSRV_INTERFACE_DETERMINATION">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
    - <Trace level="1" type="B" name="CL_ID_PLSRV-ENTER_PLSRV">
      <Trace level="1" type="T">I N T E R F A C E - D E T E R M I N A T I O N</Trace>
      <Trace level="1" type="T">Cache Content is up to date</Trace>
      </Trace>
      </Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
    + <Trace level="1" type="B" name="PLSRV_RECEIVER_MESSAGE_SPLIT">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
    - <Trace level="1" type="B" name="CL_XMS_PLSRV_RECEIVER_SPLIT-ENTER_PLSRV">
      <Trace level="1" type="T">number of receivers: 1</Trace>
      <Trace level="1" type="T">Single-receiver split case</Trace>
      </Trace>
      </Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
      <Trace level="1" type="B" name="PLSRV_MAPPING_REQUEST" />
    - <!--  ************************************
      -->
    + <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">Interface Mapping urn:
    vendor\http2webservice im_ws</Trace>
      <Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_mm_ws_</Trace>
      <Trace level="1" type="T">java.lang.NullPointerException at com.sap.aii.mappingtool.tf3.AMappingProgram.exceptionCaught$(AMappingProgram.java:59) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:182) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:149) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy176.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:157) 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:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</Trace>
      <Trace level="1" type="T">Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_mm_ws_: java.lang.NullPointerException; null</Trace>
      <Trace level="1" type="T">com.sap.aii.ibrun.server.mapping.MappingRuntimeException: Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_mm_ws_: java.lang.NullPointerException; null at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:73) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy176.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:157) 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:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Root Cause: java.lang.NullPointerException at com.sap.aii.mappingtool.tf3.AMappingProgram.exceptionCaught$(AMappingProgram.java:59) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:182) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:149) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy176.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:157) 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:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</Trace>
      <Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      </SAP:Trace>

  • SOAP Webservice problem on Android

    Hello,
    I am trying to consume my own SOAP webservice and generated webservice stubs from my wsdl in flash builder.
    Testing operations is working fine. Everything is working in "simulated device". But when I run my app on my android device webservice calls are never returning.
    They are actually never received on the webservice server.
    Just afert 10 to 30 seconds there is a window displayed inside my app. This window is not from me, I only have two label fields in this project to display test webservice data.
    Made a image for you:
    "click to have good quality"
    I tried 2 services:
    one where the webservice server is running on my device (10.10.200.40 is devices ip address)
    one where the webservice is running in internet.
    The devices connection is fine. 10.10.200.40 and outside addresses are pingable and the webservice on the device can be called from flashbuilder's operation testing.
    Thanks,
    Thomas

    Hello All
    I also need to call some simple web mothods. How is this achieved?
    I have an as3 mobile project built in flash builder 4.6 which needs to send/ receive simple data with my asp.net web service.
    Is your problem related to a security setting in your xml descriptor file perhaps??

  • Difference between RFC and Webservices.........??

    Hi
    <b>What is the difference between RFC and webServices... Like webServices these RFC also i can use in any language rite?? Then what is main difference</b>
    Can any one tell me which perfomance is good.. either webService or RFC...? and why??
    While creating webService in R/3 its asking the following details can any one explain those
    <b>
    Virtual Interface</b>
    <b>End PointType</b> : what is the end point type. please explain about the different options available...(Business Object, Funtion Group, Function Module, XI Message Interface)
    On next Screen
    <b>
    Application</b> -- ex FI-AR
    <b>Business Object</b> -- ex KNR
    Next Screen
    <b>Porfile</b>
    >>> Basci Authorization:SOAP Pro
    >>> Secure SOAP Profile
    Best Regards
    Ravi Shankar B
    Message was edited by:
            RaviShankar B
    Message was edited by:
            RaviShankar B

    Hi Ravi,
    Jin has correctly explained.
    Only two connectors are provided from SAP
    JCO- for connecting java applications
    >.Net connectors - for connecting >net applications
    And SAP has provided these connectors bcoz these the two most popular technologies or framefork these days which are very common.
    But In my previous examples , I try to explain the concepts only by giving .net as example.
    Now for making you clear, No SAP connector is available for C++ for accessing RFC but C++ can access web services using XML and SOAP
    Again Note these points.
    RFC is SAP specific.
    Used For----->
    SAP applications- SAP applications
    SAP Appl - Java Applications(Using JCO)
    SAP Applications->Net Applications( using >NEt connectorprovided by SAP)
    Web Service is open standard
    Any Platform/Any Language to Any Platform/Language( which can understand SOAp and XML).
    For Web Service Detail--
    Refer to this link
    Re: What is meant by Webservice
    Regards,
    Piyush

  • IDOC---XI----SOAP(Webservice) Sync

    Experts,
    Need to Develop IDOC-XI--SOAP(Webservice) Sync Communication Interface
    I have  importing the Standard Idoc & External Def  for WSDL ,which has the Request & Response Structure.
    I need to handle the SYNC message in the XI  and ignore it/ do not pass to the source system.
    Any Weblog will help ,
    Thnaks
    Edward

    Hi Edward,
    Follow the steps given below
    In IR create following objects:
    1: Import Web Service definition file in External Definition.
    2: Import IDoc ZDLVRY. (I have used custom IDoc)
    3: Create Message Interface
         a. Abstract Synchronous for sender
         b. Abstract Synchronous for Receiver
         c. Abstract Asynchronous for request
         d. Abstract Asynchronous for response
    4. Create Message Mapping for Source Request to Target Request
    5. Create Message Mapping for Target Response to Source Response.
    6. Create Interface mapping and specify proper input in request and response tab.
    7. Create Integration Process
    Configuration in ID:
    1. Create Integration Process for BPM created in IR.
    2. Create receiver determination
        a. From SAP R/3 to Integration Process
        b. From Integration Process to Third Party (Web Service)
        c. From Integration Process to SAP R/3
    3. Create Interface Determination
        a. From SAP R/3 to Integration Process
        b. From Integration Process to Third Party (Web Service)
        c. From Integration Process to SAP R/3
    4. Create Receiver Agreement
    5. Create Communication channel for Soap Receiver and IDoc Receiver.
    6. Create Receiver Agreement for Soap Receiver
    7. Create Receiver Agreement for IDoc Receiver
    if u have any doubt in any step please let me know
    Regards,
    Manisha

  • Sender soap webservice error

    hi,
    i am working on soap(webservice)) to rfc scenario.
    the adapet for sender soap created in business service for reciever side is not dispalyed in adapter monitoing in component monitor of rwb.
    any body help will be appriciated.
    t&g
    vijedner

    Hi vijedner,
    have a look to RTW Communiction Channel Monitoring.
    Regards,
    Udo

  • How to consume SOAP webservice in to my java/j2ee application

    Hi,
          I am a java developer. how to i consume SAP soap webservice in to my java application.
    scenario : 1
    We are migrating 2 specific java modules in to SAP System.But master details are stored in to my java application database.Those details are require
    to SAP application. So that they provide me WSDL file,  How to i consume soap webservice in to my java application and also, How to i provide master data details to SAP system through SOAP webservice.
    Any body provide me a detail instruction how to integrate SAP Application in to my java application using SOAP webservice. or
    In this scenario i will go for any one open source ESB to consume the soap webservice in to my java application, and provide master data to
    SAP application, can any one guide to me.

    Hi,
    What IDE are you using?, for example with Eclipse i used WSDL2JAVA plugin in this way i converted the WSDL in java classes easily. Depending your development environment you can use different tools that makes easier the integration using the WSDL.
    Regards.

  • Calling functions from SOAP webservice. Can't access webservice functions.

    Hi flex gurus,
    I am quite new to flex. I am working on an flex application where I am trying to remotely invoke a SOAP webservice which is a wsdl file from Adobe flex 4.6.
    I have authenticated the webservice(Basic Authentication Done) and got access to wsdl but I am unable to call the functions in it. I just want to pass the username and password for the user login to the service function which will give me the data useful for my application, but nothing is returned when the webservice function is called.
    I am totally blocked at this point. Please help me.
    Thanks in advance.

    Below is my code snippet. But nothing is returned from th service, what is the problem???
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark" title="CheckWS" >
        <fx:Script>
            <![CDATA[
                import flash.net.drm.AuthenticationMethod;
                import mx.collections.ArrayCollection;
                import mx.messaging.messages.SOAPMessage;
                import mx.rpc.AsyncToken;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                import mx.rpc.http.HTTPService;
                import mx.rpc.soap.AbstractWebService;
                import mx.rpc.soap.Operation;
                import mx.rpc.soap.SOAPFault;
                import mx.rpc.soap.SOAPHeader;
                import mx.rpc.soap.SOAPResult;
                import mx.rpc.soap.WebService;
                import mx.rpc.wsdl.WSDLBinding;
                import mx.utils.Base64Encoder;
                public var resultdata:String;
                private function send_data(service:mx.rpc.http.HTTPService):void {
                    var encoder:Base64Encoder = new Base64Encoder();           
                    encoder.insertNewLines = false;           
                    encoder.encode("auth_usrname:auth_pswd");
                    service.headers = {Authorization:"Basic " + encoder.toString()};
                    service.send();
                //protected function soapWS_resultHandler(event:ResultEvent):void
                    // TODO Auto-generated method stub
                    /* var i:int;
                    var webresult:String=event.result.toString();
                    i = 0; */
                    /* var i:int;
                    resultdata = event.result.toString();
                    i = 0;
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
            <s:HTTPService id="soapWS"
                           url="My_Web_URL?wsdl" result="soapWS_resultHandler(event)" resultFormat="xml" useProxy="false" method="POST">
                <s:request xmlns="">
                    <Username>{username.text}</Username>
                    <Password>{password.text}</Password>
                </s:request>
                <s:result >
                    <![CDATA[
                        var i:int;
                        dgUserRequest.visible = true;
                        var obj:Object = new Object();
                        obj = event.result;
                    //    dgUserRequest.dataProvider = event.result.toString();
                    //    var str:String = new String();
                        resultdata = obj.toString();
                        i = 0;
                    ]]>                                                       
                </s:result>
            </s:HTTPService>
        </fx:Declarations>
        <s:Form x="20" y="10" width="100%">
            <s:FormItem color="blue">
                <s:Label text="Username" />    
                <s:TextInput id="username"/>
            </s:FormItem>
            <s:FormItem color="blue">
                <s:Label text="Password" />    
                <s:TextInput id="password"/>    
            </s:FormItem>
            <s:FormItem color="yellow">
                <s:Button label="Submit" click="send_data(soapWS)"/>
            </s:FormItem>
        </s:Form>
        <s:DataGrid id="dgUserRequest" x="20" y="300"
                     dataProvider="{resultdata}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="password" headerText="Password" />
                    <s:GridColumn dataField="username" headerText="User Name"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
    </s:View>

  • R3 (RFC Asynch) -- XI --- SOAP (webservice Synch)

    Hi Experts,
               My scenario is :R3 (RFC Asynch) > XI <-> SOAP(webservice is synch)
    Step1:-   R3 sends the data webservie(SOAP) via XI.
    Step2:-   Webservice returns the response to XI, But R3(RFC) does not need the resoponse.
    how to handle the webservice response in XI.
    do i need to use BPM as this scenario is R3(RFC synch) > XI <--> Webservice(soap, synch). Can anybody help me out how to design this scenario.
    Thanks,
    Siva

    So then all u need is to create a async inbound MI. Also the WS should be configured in a way that it sends a HTTP 200 with a SOAP envelope with an empty content for successful delivery.
    Refer the below from the SOAP adapter FAQ;
    Receiver Asynchronous Calls
    Q: What are the correct receiver options for asynchronous calls?
               A: The processing mode of the receiver is determined by the message that reaches the receiver. If you are sending a message with some quality of service, to provide this service of quality to the server, your must make sure two things. First, your receiver channel must be configured to pass the XI message ID to the server. Second, your web service must check duplicates using this message ID.
    Q: What should my web service return to the adapter for asynchronous calls?
               A: Currently, the receiver adapter expects an HTTP 200 with a SOAP envelope with an empty content for successful delivery. Any other response will result in a XI system error and triggers retries of the message. When you want to check duplicates, you should configure your receiver channel to pass the XI message header information to the server.
               Prior to SP11, a SOAP fault resulted in the application or system error, depending on whether the SOAP fault contained a detail child element or not. This behavior contradicted the communication model. Therefore, it has been changed so that the adapter generates the system error for any SOAP fault in asynchronous calls.
               When you want to check duplicates in your web service, you should configure your receiver channel to pass the XI message header information to the server. When your web service indeed find a duplicate, assuming that the previous message was simply lost, your web service should return an HTTP 200 with an empty SOAP envelope.

  • PI to SOAP webservice performace issue

    Dear All,
    I have seen message expired error/no response error from one of IDOC--> PI--> SOAP Webservice sceanrio when PI have sending bulk of messages request to SOAP webserver at a time.
    This scenario has already implemented using BPM because of complexity/ synchronous communcations.
    According my research multiple IDOC's were triggred from SAP system at the same time/some seconds difference, when PI received these IDOC's and processing to SOAP webservice immediately when bulk of messages contact the same time and/or may be same data processing in Webservice and giving the no response/ message expired exception and currently synchronous time set to 5 min but no useful.
    Can I know how to process the message one after another when PI contacting the SOAP adapter,
    Is their any possible to implement SOAP look up/Soap module for process one after another message?
    Appreciate your suggestions....
    Thank you.
    Sateesh

    Hi Sateesh,
    Please see the links below. They should help.
    How to Use Loop in BPM?
    SAP PI7.31 BPM Parallel For Each
    Good luck,
    Jannus Botha

  • Request dump of request in SOAP webservice

    hi
    i am new to SOAP Webservice i want to see what is request is send to server is there any way to see Requeest Dump for what request is went to server?
    i am implementating webservice using <s:webSerice > tag and pass Wsdl and in the <s:request > tag i pass 4 parameter which is neeed for webservice call.
    now i want to see what request is made in the mxml and which is send to server
    Thanks & Regards,
    Megha

    If client has given you the WSDL then you need to create a proxy out of it. It may be a deployable proxy in your case and use those proxy classes in your EJB to populate the web service request.
    Method 1 cannot generate xml in format 4.
    The other way would be to try out xslt to convert XML from one format to another. But in order to do so, you would require to generate the schema from both the xml. This can be easily done with some good xml editors, like xmlspy.

  • Consuming Flex & SOAP WebService

    I am attempting to consume a SOAP webservice and I am having trouble.
    How would you suggest that I consume a web service using the following xml?  Also, if you could provide a simple example that would be great!
    Thanks.
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <GetViewResultsResponse xmlns="http://www.servicesource/datamanager/">
          <GetViewResultsResult>
            <PrimaryTableName>string</PrimaryTableName>
            <IsSystemView>boolean</IsSystemView>
            <DataTables>
              <NHRCViewResultDataTable>
                <TableOrViewID>guid</TableOrViewID>
                <TableName>string</TableName>
                <Columns xsi:nil="true" />
                <Rows xsi:nil="true" />
              </NHRCViewResultDataTable>
              <NHRCViewResultDataTable>
                <TableOrViewID>guid</TableOrViewID>
                <TableName>string</TableName>
                <Columns xsi:nil="true" />
                <Rows xsi:nil="true" />
              </NHRCViewResultDataTable>
            </DataTables>
            <Queries>
              <NHRCQueryDefinition>
                <NumberRowsToGet>int</NumberRowsToGet>
                <FirstRowToGet>int</FirstRowToGet>
                <MainTable xsi:nil="true" />
                <Tables xsi:nil="true" />
                <WhereClause xsi:nil="true" />
                <StructureOnly>boolean</StructureOnly>
                <ColumnListPrefix>string</ColumnListPrefix>
              </NHRCQueryDefinition>
              <NHRCQueryDefinition>
                <NumberRowsToGet>int</NumberRowsToGet>
                <FirstRowToGet>int</FirstRowToGet>
                <MainTable xsi:nil="true" />
                <Tables xsi:nil="true" />
                <WhereClause xsi:nil="true" />
                <StructureOnly>boolean</StructureOnly>
                <ColumnListPrefix>string</ColumnListPrefix>
              </NHRCQueryDefinition>
            </Queries>
            <ChangeLogTable>
              <TableOrViewID>guid</TableOrViewID>
              <TableName>string</TableName>
              <Columns>
                <NHRCViewResultColumn xsi:nil="true" />
                <NHRCViewResultColumn xsi:nil="true" />
              </Columns>
              <Rows>
                <NHRCViewResultRow xsi:nil="true" />
                <NHRCViewResultRow xsi:nil="true" />
              </Rows>
            </ChangeLogTable>
            <ViewTitle>string</ViewTitle>
            <ViewID>guid</ViewID>
            <DataVersion>dateTime</DataVersion>
            <CompareVersion>dateTime</CompareVersion>
            <LookupLists>
              <NHRCViewResultLookupList>
                <LookupTableID>guid</LookupTableID>
                <ColumnDetails xsi:nil="true" />
                <IsViewResults>boolean</IsViewResults>
                <UsedAsSubtable>boolean</UsedAsSubtable>
                <IsChangeTrackingTable>boolean</IsChangeTrackingTable>
                <CanAcceptChanges>boolean</CanAcceptChanges>
                <TableName>string</TableName>
              </NHRCViewResultLookupList>
              <NHRCViewResultLookupList>
                <LookupTableID>guid</LookupTableID>
                <ColumnDetails xsi:nil="true" />
                <IsViewResults>boolean</IsViewResults>
                <UsedAsSubtable>boolean</UsedAsSubtable>
                <IsChangeTrackingTable>boolean</IsChangeTrackingTable>
                <CanAcceptChanges>boolean</CanAcceptChanges>
                <TableName>string</TableName>
              </NHRCViewResultLookupList>
            </LookupLists>
            <ColumnDetails>
              <NHRCViewResultColumnDetails>
                <LookupTableID>guid</LookupTableID>
                <LookupListSortColumn>string</LookupListSortColumn>
                <IsPartOfDuplicateCheck>boolean</IsPartOfDuplicateCheck>
                <PrimaryFilterOrder>int</PrimaryFilterOrder>
                <IsPartOfErrorDefinition>boolean</IsPartOfErrorDefinition>
                <KeyFieldName>string</KeyFieldName>
                <ValueFieldNames xsi:nil="true" />
                <DisplayFieldCaption>string</DisplayFieldCaption>
                <ConsolidatedDisplayFieldName>string</ConsolidatedDisplayFieldName>
                <ConsolidatedDisplayFieldExpression>string</ConsolidatedDisplayFieldExpression>
                <OriginalFieldName>string</OriginalFieldName>
                <ColumnWidth>int</ColumnWidth>
                <DataType>string</DataType>
                <MaxLength>int</MaxLength>
                <AllowEmpty>boolean</AllowEmpty>
                <Visible>boolean</Visible>
                <DisplayOrder>int</DisplayOrder>
                <FieldReadOnly>boolean</FieldReadOnly>
                <IsSubtableLink>boolean</IsSubtableLink>
                <IsLookupFromView>boolean</IsLookupFromView>
                <IsSingleValueLookupTable>boolean</IsSingleValueLookupTable>
                <IsLookupOfLookup>boolean</IsLookupOfLookup>
                <LookupCriteria>string</LookupCriteria>
                <MinValue>double</MinValue>
                <MaxValue>double</MaxValue>
                <ValidationRegex>string</ValidationRegex>
              </NHRCViewResultColumnDetails>
              <NHRCViewResultColumnDetails>
                <LookupTableID>guid</LookupTableID>
                <LookupListSortColumn>string</LookupListSortColumn>
                <IsPartOfDuplicateCheck>boolean</IsPartOfDuplicateCheck>
                <PrimaryFilterOrder>int</PrimaryFilterOrder>
                <IsPartOfErrorDefinition>boolean</IsPartOfErrorDefinition>
                <KeyFieldName>string</KeyFieldName>
                <ValueFieldNames xsi:nil="true" />
                <DisplayFieldCaption>string</DisplayFieldCaption>
                <ConsolidatedDisplayFieldName>string</ConsolidatedDisplayFieldName>
                <ConsolidatedDisplayFieldExpression>string</ConsolidatedDisplayFieldExpression>
                <OriginalFieldName>string</OriginalFieldName>
                <ColumnWidth>int</ColumnWidth>
                <DataType>string</DataType>
                <MaxLength>int</MaxLength>
                <AllowEmpty>boolean</AllowEmpty>
                <Visible>boolean</Visible>
                <DisplayOrder>int</DisplayOrder>
                <FieldReadOnly>boolean</FieldReadOnly>
                <IsSubtableLink>boolean</IsSubtableLink>
                <IsLookupFromView>boolean</IsLookupFromView>
                <IsSingleValueLookupTable>boolean</IsSingleValueLookupTable>
                <IsLookupOfLookup>boolean</IsLookupOfLookup>
                <LookupCriteria>string</LookupCriteria>
                <MinValue>double</MinValue>
                <MaxValue>double</MaxValue>
                <ValidationRegex>string</ValidationRegex>
              </NHRCViewResultColumnDetails>
            </ColumnDetails>
            <ExpressionColumns>
              <NHRCViewResultExpressionColumn>
                <TableID>guid</TableID>
                <TableName>string</TableName>
                <ColumnName>string</ColumnName>
                <Expression>string</Expression>
                <Order>int</Order>
              </NHRCViewResultExpressionColumn>
              <NHRCViewResultExpressionColumn>
                <TableID>guid</TableID>
                <TableName>string</TableName>
                <ColumnName>string</ColumnName>
                <Expression>string</Expression>
                <Order>int</Order>
              </NHRCViewResultExpressionColumn>
            </ExpressionColumns>
            <Relations>
              <NHRCViewResultRelation>
                <ParentKey>string</ParentKey>
                <ChildKey>string</ChildKey>
                <RelationName>string</RelationName>
                <ParentTableName>string</ParentTableName>
                <ChildTableName>string</ChildTableName>
                <ParentTableID>guid</ParentTableID>
                <ChildTableID>guid</ChildTableID>
                <DependsOnExpressionColumn>boolean</DependsOnExpressionColumn>
              </NHRCViewResultRelation>
              <NHRCViewResultRelation>
                <ParentKey>string</ParentKey>
                <ChildKey>string</ChildKey>
                <RelationName>string</RelationName>
                <ParentTableName>string</ParentTableName>
                <ChildTableName>string</ChildTableName>
                <ParentTableID>guid</ParentTableID>
                <ChildTableID>guid</ChildTableID>
                <DependsOnExpressionColumn>boolean</DependsOnExpressionColumn>
              </NHRCViewResultRelation>
            </Relations>
          </GetViewResultsResult>
        </GetViewResultsResponse>
      </soap:Body>
    </soap:Envelope>

    Turns out I needed to set null values for all the other arguments in the definition that I wasn't using. After that Flex was translating it properly.

  • Interoperability between apache soap toolkit(client)and ms soap toolkit

    Interoperability between apache soap toolkit(client)and ms soap toolkit.Give me an example where i can send and receive a complex data type from apache tomcat in client side to ms soap toolkit on the server side.It is urgent.Plz try to give me a solution as soon as possible.

    The toolkits don't have to work together at all. And by the way, you aren't sending the data to the MS toolkit, you're sending it to some MS product that can process the data. Any data that follows the standards should work.

  • Create Operation with Integration Gateway for SOAP Webservices

    Dear All,
    Has anyone used the create operation for Soap Webservices for SMP 3.0 to invoke a POST into the system using OData and Integration Gateway.
    Can you please help with the steps.
    Thanks,
    Best Regards,
    Rakshit Doshi

    I tried the same sometime back but faced some issues. Then i came to know about one known issue.
    Reference
    Rgrds,
    JK

  • Sanity test between SAP DOE and SUP

    Dear forum members,
    We are in the process of deploying Sybase Mobile application for SAP CRM. In this process, we have been able to install the relevant binaries in the landscape.
    We want to do a sanity test between DOE and SUP to ensure that connection is intact between two systems. Is there any mechanism to do this ?
    In the other thread, Siva informed that testing connection via SCC might not give proper results. It states as " Connection failed", but that is because of ESDMA incompatibility versioning.
    Regards,
    Viju

    HI,
    SCC most often informs correctly where the error could be. Sometimes it is just a hint as to where to look. This feature in SCC uses a new interface introduced in SP04.
    So if you are not yet upgraded to Mobile Gateway 1.1 SP04, unfortunately this Test connection will not work for you from SCC>
    If you are already on SP04, then login to DOE, goto "sdoe_esdma_design", select your cRM smartphone ESDMA, edit it and change the interface version to "14". regenerate the ESDMA, Download the ESDMA and redeploy the newly generated ESDMA Bundle to SUP server. Then try the Test connection again and it should tell you what else could be a problem if any.
    Hope this helps
    thanks
    shobha

Maybe you are looking for

  • Is it possible to make a type cast in TestStand?

    I've got the following problem. I use a receive function which waits for an undefined package. (struct package). The problem is i can't specify the module with the exaxt package. Generally in C i define a Pointer and create enough buffer for it. Is i

  • Using Exchange for Hotmail

    I am long time user of Hotmail for mail, contacts and calendar on my PC. Recently purchased MacBookPro. I share my calendar with my daughter who is a PC user. Even though when I attempt to create an exchange account (I have one on my iPhone4 and iPad

  • Reg. Licence file

    Hi friends, I have installed SAP 8.8 , can i use SAP 2007 B license file for it. Regards, Mahesh.

  • SquirrelMail - Relay access denied

    I've got problem using SquirrelMail (OS X Sever 10.4) keep getting the following message when trying to send mail: Message not sent. Server replied: Transaction failed 554 <[email protected]>: Relay access denied Is there something to do in the serve

  • Recording Using Captivate

    I do not have a "recording" voice.  What options are there for an instructional designer who enjoys designing web-based training, but doesn't have the voice to complete the project?