Rfc---xi---web service scenario error

Hi All,
I am doing rfc-xi--webservice synchronous scenario.
I followed this blog steps
RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
I have deployed my own webservice and when i use it with xml spy it works fine.
But when i try to execute it from RFC module I got this error.
CALL_FUNCTION_REMOTE_ERROR
In XI monitoring both messages are with red status and i got theses error is xi message monitoring
<Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV" />
- <!--  ************************************
  -->
  <Trace level="2" type="T">......attachment XI_Context not found</Trace>
  <Trace level="3" type="T">Append context with name =ppActivated and value =false</Trace>
  <Trace level="3" type="T">Das Mapping wurde bereits in der Interface-Ermittlung bestimmt.</Trace>
  <Trace level="3" type="T">Objekt-Id des Interface-Mappings DA022058F9BB3E548D9760DEFC9240DA</Trace>
  <Trace level="3" type="T">Versions-Id des Interface-Mappings 2A29312036EB11DDBE1AE1ED8D2C2629</Trace>
  <Trace level="1" type="T">Interface-Mapping http://www.dummy.com/xi/01 IM_calculate</Trace>
  <Trace level="3" type="T">Mapping-Schritte 1 JAVA com/sap/xi/tf/_MM_ws_dum_req_</Trace>
  <Trace level="3" type="T">Dynamische Konfiguration ( http://sap.com/xi/XI/System/RFC ppActivated false )</Trace>
  <Trace level="2" type="T">Modus 0</Trace>
  <Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_ws_dum_req_.</Trace>
  <Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_ws_dum_req_</Trace>
  <Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_ws_dhl_req_</Trace>
  <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:MT_DHL/productid. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.
I checked message mappings and those were correct
Any help or guidence please,
Regards
hussaan

HI,
I tried to do that. When I test in IR it works but when I use XMl file to test as you indicated I am getting errors
I do not Know why.
Error is
Start of test
Compilation of MM_WS_DUM_REQ successful
Document start
Start tag [ns1:MT_TESTDDUM]
Add raw attribute [ xmlns:ns1="urn:DUM_FreightVi"]
Cannot produce target element /ns1:MT_TESTDUM/CALCULATE. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd Cannot produce target element /ns1:MT_TESTDUM/CALCULATE. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
16:38:37 End of test
I changed xml namespace in Message Type as it is indicated in How-to guides and other forums
Waiting for response
Regards
Hussaan

Similar Messages

  • Gettinfg error in RFC to Web Service scenario

    hi friends,
    I am getting the following error while configuring RFC to Web Service scenario.
    I have used the ws :http://webservices.imacination.com/distance/Distance.jwsPlease help me out.
    <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML; HTTP 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi
    check this thread
    Getting error in target SOAP communication channel
    regards
    krishna

  • IDOC - Web Service scenario error

    Hi Experts,
    I am developing IDOC to Web Service scenario and the error which I come across is in the receiver SOAP channel which states:
    "Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server did not recognize the value of HTTP Header SOAPAction: AddUpdateStandardOrder."
    Please suggest.
    Thanks
    Tiny

    Hi,
    your SOAP action defined in reciver SOAP comm channel is not correct.... to specify it corrctly, open your SOAP application URL in internet explorer........click on service description..........then search SOAP:Action node in it.........specify the complete SOAP action in the reciver SOAP comm channel including the complete namespace.............then save and activate it.........then rerun your scenario.
    Regards,
    Rajeev Gupta

  • Error while executing RFC to Web Service scenario

    Hello colleague,
    I configured RFC to Webservice scenario.
    After configuration I ran the RFC function module.
    The function module short dumped with the error -
    "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:".
    Could you pls. help is resolving the error.
    Regards,
    Gajendra.

    Hi,
    Take a look at these blogs,
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    Regards,
    Bhavesh

  • Problem in rfc to web service scenario

    hi ,
         i have created an rfc destination.  but when i am calling rfc by a program with rfc destination.
    then it is displaying error as text "  Error when opening the rfc connection   (CPIC-call ) ".
    Here connection type in rfc destination is type T.
    Thanks

    Hi,
    As suggested earlier in your post, please check if the RFC destination between the systems have been configured. If not need to maintain the RFC destination and then proceed.
    Regards,
    Indranil

  • RFC- XI- Web services

    Hi All,
          We are configuring RFC->XI->Web Services scenario.
    We are using SOAP adapter in the receiver side. We are getting the following error message.
    soap fault: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: ConversionRate. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing).
    Kindly help.

    Hi,
    Quick checks-
    1) Reciever SOAP Adapter configuration
    2) Check the Target URL - it should be wsdl URL
    3) Transport protocol used (HTTP)
    Check this blog about SOAP Adapter Configuration carefully-
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    http://help.sap.com/saphelp_nw2004s/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm
    Regards,
    Moorthy

  • Expose RFC as Web Service

    Hi Guys;
    Can anyone provide me step by step procedure for RFC to Web Service scenario?
    meaning to expose the RFC as Web Service in the SAP CRM?
    Thanks
    Kfir

    Hello Kfir,
    You can host webservice  by doing the below steps:
    Login to CRM system and goto txn:BSP_WD_CMPWB
    Give component as :WS_DESIGN_TOOL
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • HTML to Web Service Scenario - Runtime Error Exception

    Hi Friends,
    I am tryin to do HTML to Web Service Scenario for Validating email for the fWeb Service Email
    Validation http://www.webservicex.net/ValidateEmail.asmx?wsdl. While executing the scenario in
    Integration Directory there is no error but when sending the payload (Payload contains onl)from SAP
    HTML then getting error in SXMB_MONI as
    "Runtime exception occurred during application mapping com/sap/xi/tf/_MM_EmailRequest_To_ValidateEmail_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog."
    Please guide me for the same.
    Regards,
    Nitin Patil

    Hi,
    well it might be the reason that XI is always working with XML but not HTML. It's important that your HTML should be following the XML wellformness. It would be strongly recommanded that you use XHTML but not normal HTML here, because I think XI has no tolerence at all when the inbound HTML is not XML-wellformed.
    Try to compose your XHTML like the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
         <title/>
    </head>
    <body>
    <p>some email address</p>
    </body>
    </html>
    Make sure there are no weird characters and empty lines within and before the <?xml
    Regards,
    Chen

  • RFC - XI - Web service

    Hi All,
    I have a RFC -> XI -> Web service synchronous scenario.
    After setting up scenario in XI, I execute RFC. When I check sxmb_moni, it shows me error.
    The error is pasted here.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: failed to get the input stream from socket: java.lang.NullPointerException</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Can somebody explain me, why is this or to cross-verify my settings, steps in detail to set up this type of scenario.
    Please don't take me to the documentation present here which explains about configuring Web service based scenario.
    I have already looked at it and understood that it's not much useful at this stage.
    Your help is highly appreciated.
    Thanks & Regards,
    -smita

    Hi Smita,
    How are you doing the communication from FRC ==> XI ??
      1. Are you using Outbound(sender)RFC Adapter, if so did you create a registered program for communication from r3 to XI (rfc destination
         sm59->tcpip)
      2. Are you using an outbound(Sender) Client abap proxy??
      3. Are you calling an external webservice(not in XI)if
         so make sure the soap action is correct
    Naveen
    Message was edited by: Naveen Pandrangi

  • Java Mapping to Digital Signature (web service scenarios)

    Hi All,
    I'm working with Web Service Scenarios and I have a problem.
    The Web Service has a Schema for validation data and I send data to method of WS, example:
    Web Service Description
    <SendData xmlns="http://www.sdn.com/schema.xsd">
       <InputXML>string</InputXML>
    </SendData>
    For send data to "InputXML" is obligatory digital signature in Java.
    I created a Java Mapping where get message of schema xsd, clear prefixes of tag and convert all schema to string.
    Now Web Service response a error, because string is not contain "<" ">" just contain asc & lt; & gt;
    Ex:
    & lt;CodigoMunicipio& gt;2927408& lt;/CodigoMunicipio& gt;
    In Debug Java Mapping in statement:
    before
    <CodigoMunicipio>2927408</CodigoMunicipio>;
    rootelement.appendChild(element);
    After
    & lt;CodigoMunicipio& gt;2927408& lt;/CodigoMunicipio& gt;
    And If use a rotine to convert it, in sxi_monitor generate a exception because not understand string field.
    Can you help me?
    Regards,
    Bruno

    Hi Bruno,
    there are two ways to nest a xml document into another xml document.
    The first one is escaping the XML, just like you did:
    <document_one>
    <input_xml>
    &gt;document_two&lt;&gt;tag_a&lt;value&gt/tag_a&lt;&gt;/document_two&lt;
    </input_xml>
    </document_one>
    http://stackoverflow.com/questions/1091945/where-can-i-get-a-list-of-the-xml-document-escape-characters
    The other is using the CDATA tag.
    <document_one>
    <input_xml>
    <![CDATA[<document_two><tag_a>value</tag_a></document_two>]]>
    </input_xml>
    </document_one>
    http://www.w3schools.com/xml/xml_cdata.asp
    Then, if your webservice expects to receive a XML document inside the InputXML tag, probably it will be able to handle one of these techniques.
    Best regards,
    JN

  • PI Web Service Scenario

    Hi experts!!!!
    I try to learn PI Web Service Scenario, and for test, i developed a simple scenario.
    I created a Service Message Synchron Outbound Message with Request and Response Structure, and I created a Service Message Synchron Inbound with Request and Response web service message (previouse imported on External Definition).
    I developed 2 mappings, one for Requeste ( MyMessageReq ---> Web Service Request) and other one for Response  (Web Service Response --> MyMessageResponse). and add this on Operation Mapping.
    In Directory, i created 2 Business Components (WS_Sender and WS_Receiver).and add my objects.
    For Receiver Communication channel i user adapter type like WS. and configured this like help.sap.
    When i executed the interface, the communication channel returns the following error:
    <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">WS_ADAPTER_SYS_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Systemfehler beim Aufruf des Web-Service-Adapters: Error al acceder a WSDL: &quot;Error in WSDL access for task ID &quot;00000000000000000007&quot;; read the long text&quot;</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I don't know the reason of this error, and i don't found anything on forum...
    Please, could somebody help me? Could somebody have any idea? Thanks.
    Gemma.

    Thanks.
    Now I use a communication channel soap receiver, and when i try to execute the interface, the call adapter returns the following error:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_SEND_FAILED</SAP:Code>
      <SAP:P1>35</SAP:P1>
      <SAP:P2>HTTPIO_ERROR_CUSTOM_MYSAPSSO-Fehlermeldung beim Senden der Daten.</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Fehler beim Senden per HTTP (Fehlercode: 35, Fehlertext: HTTPIO_ERROR_CUSTOM_MYSAPSSO-Fehlermeldung beim Senden der Daten.)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Please, could somebody help me? Thanks.

  • Reg: Web Service Scenarios

    Hi! Experts,
    This is Amar Srinivas Eli. Will you please send links containg Scenarios using
    WEB SERVICES in detail step by step procedure if possible with screen shots  for both Design and Configuration Steps
    Also send links regarding HTTP to Web Service and HTTP related scenarios also with step by step procedure for both Design and configuration steps.
    Thanks
    Amar Srinivas  Eli

    Hi Amar,
    <b>for <b>Webservices</b> see below links</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi - Invoke Webservices using SAPXI
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
    <b>Webservice Scenarios</b>
    idoc to web services scenario
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    How to use webservices in XI
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - refer that blog and use the SOAP adapter and the WS instead of the RFC part.
    see this blog from Robert Chu, but it might give you a good start to creating web services:
    /people/sap.user72/blog/2005/12/29/service-enable-your-sap-application-component
    File to Webservices
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09b775e-e56e-2910-1187-d8eba09c7a4a
    Yes please look at following weblogs
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    How to Develop a Webservice Using NWDS and SAP XI.30
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    How to Set Up a Web Service-Related Scenario with SAP XI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    Exposing BAPI as Web Services through SAP XI
    /people/community.user/blog/2006/10/24/exposing-bapi-as-web-services-through-sap-xi
    Testing XI exposed Web-Services
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    How XML Encryption can be done using web services security in SAP NetWeaver XI
    /people/aparna.chaganti2/blog/2007/01/23/how-xml-encryption-can-be-done-using-web-services-security-in-sap-netweaver-xi
    Consuming XI Web Services using Web Dynpro – Part I
    /people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
    Consuming XI Web Services using Web Dynpro – Part II
    /people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
    HTTP to JDBC
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    regards
    biplab
    please close the thread once u have got ur answer*****

  • Synchronous RFC-XI-Web Service with no request method

    Hello guys,
    I'm trying to set up an RFC-XI-Web Service scneario.  But with the particularitity that the WSDL does not have a request method. It only has a very simple response method.
    How can I make this? How can XI call the Web Service, if I dont have any request method?
    Thanks for your help.
    Felipe

    Matias, after some test I think that VJ is correct.
    It is failing at the moment of delivering the message to the WS, I'm getting the followin error messages:
    com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/PLAIN; HTTP 302 Moved Temporarily
    I tested the WS with XMLspy and works correctly.
    I'm starting to believe that the best solution is to simply create a dummy request in the WS.
    It would be great if someone else test in their own and see if we get the same result.  Thanks,
    Felipe

  • "invalid web service URL" error for create web service system

    Hi.
    I want to call web service in visual composer and try to create Web Service definition.
    When I push create button in visual composer, I got "invalid web service URL" error.
    My web service is located in SAP ABAP System and I can check WSDL URL in web service homepage.
    (http://mycompany.com:8000/sap/bc/srt/rfc/sap/ZTEST?sap-client=500&wsdl=1.1)
    Any ideas for this error ?
    Regards, Arnold.

    Hi
    Please can you create the web service in the portal as a portal system, this will work and you will be able to see the service in Visual Composer.
    Jarrod Williams

  • Web Service deploy error

    Hello everyone!
    I've created a Web Service from a VI. This VI has two inputs values: a String and and Int8 and one single output: an array of DBL values (array of 1x3). Both inputs and outputs are well connected through the Connector Pane.
    So, in the Project>> Build Spedifications I've created WS, builded with the Advanced>> Use LabVIEW 8.x file layout option checked, in the WebService(RESTful) settings dialog. The problem appear when I try to deploy this WS. The next error is shown:
    Error LabVIEW: (Hex 0xFFFEF84D) LabVIEW Web Services: An error occurred when extracting the deployed Web service. Rebuild the Web service by selecting the "Use LabVIEW 8.x file layout" option in the Advanced tab of the web Service properties dialog.
    How can I solve this problem?
    Thank you!
    Francisco José Gómez López
    Software Engineer
    Solved!
    Go to Solution.

    This is exactly what I've done! I build my web services with this option checked. I don't know the reason why the error still persist.
    I attach a zip file containing the Web Services VI and other VI needed. If you coult try to build the WS and deploy it...
    Francisco José Gómez López
    Software Engineer
    Attachments:
    VIasWS.zip ‏138 KB

Maybe you are looking for

  • Tips on enabling SSL in Active Directory!!!

    Finally I can connect to my Active Directory through SSL connection. I don't know what is wrong with my previous settings because I reinstall the server from scratch. Below is the steps I took: 1. Install Windows 2000 Advanced Server + SP4 2. Install

  • Netbeans not working with Oracle Waveset 8.1.1!!!!

    We have recently done a test upgrade to Oracle Waveset 8.1.1 and discovered that we can no longer use Netbeans to do further development. We are trying to use Netbeans 6.8 with the 8.1 connector downloaded from the open source java website, which is

  • So which product I need

    I'm a little confused with all the product naming adobe threw at Flex and its by-products, I think I need some help :) What I want to be able to do is to deploy Flex sites in MXML. I dont want to pre-compile MXML to SWF in the builder, but reference

  • Prioritise traffic based on IP subnet

    I'm currently using an Avaya IP Office VoIP solution and I want to introduce a Cisco 2600 to replace the WAN units. I've been told that I will need a QOS switch or have two Lan ports on the router to create two subnets (1 for Data & 1 for VoIP). If I

  • I am getting Cannot save file. Bad parameter.

    I am getting Cannot save file. Bad parameter After setting new security data & setting flag to requires full save.