Help with SOAP Receiver

Hello PI friends,
I'm connecting PI to an external SOAP web service developed in .NET. I created a scenario which should be very close to what I need but I was getting an error when testing in RWB:
SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request
So then I captured my payload and tried to get this working in SOAPUI, but came to the same 400 response.
I have a prototype program written in .NET which can execute the call correctly :-).
I watched this in Fiddler and compared the headers / payload to what I had, making an interesting discovery.
The overall message structure is something like this:
<soap:Envelope>
<soap:Body>
<WebServiceMethod>
<usuario/>
<password/>
<MyPayload>
.....more "XML", I use quotes here for a reason, please read on...
</MyPayload>
</WebServiceMethod>
</Body>
</Envelope>
What I noticed in Fiddler with the working .NET prototype is everything inside MyPayload is escaped XML, like: &lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;
My message in PI is sending true XML inside that element structure. So when I change from my payload in SOAPUI using that escaped notation it works great.
But now either I need to accomplish this strange notation in PI, or perhaps I am doing something wrong with the way I've configured my datatype and mapping in the first place and it should always get escaped this way by using only passing the "MyPayload" section into the SOAP adapter?
However, when I tried this I am missing the key parts of the SOAP Body... e.g. WebServiceMethod, usuario, password, MyPayload
(BTW - This web service is in Spanish so username is really "usuario". I don't know if there is a way for this to be passed using the Adapter authentication options or if it must be coded into the message body)
Currently I named my datatype to match like "WebServiceMethod" and then defined all nodes underneath this. When I capture the SOAP output it looks OK to me structure wise... its just this internal web service XML payload which is giving me trouble.
Anyone run into this before? I hope it is something simple, I'm not a web service developer and am more accustomed to using the RFC / IDOC / JMS / JDBC adapters. Thanks for your ideas.
-Aaron

Hi Aaron,
about "usario" being part of payload: The receiver seems to want it that way.As long as transport protocol is HTTPS you should not be worried about this.
About your escaped XML: I'm assuming this is a follow up of your last post? Anyways, having an additional <?xml version...> statement within an xml document is not allowed and would render the whole document ill-formed (is that proper English?) Seems like the .net program implicitly sends all payload data (maybe only the actual data within the tags) through a serializer , which is quite normal / best practice.
You could do so on PI also of course. As the .net program works, receiver should be able (or even may assume) that any data within <MyPayload> is serialized. Have a look at my post in your former thread about some possible util classes for that. Re: How to insert <?xml version="1.0" encoding="utf-8"?> before an element (Beware, I'm not a Java expert and haven't done this yet, so YMMV)
HTH
Cheers
Jens

Similar Messages

  • Can you help with problems receiving faxes- powerbook g4?

    Can I get help with problems receiving faxes on the powerbook G4?

    Link for Download & Install & Setup & Activation problems may help
    -Online Chat http://www.adobe.com/support/download-install/supportinfo/
    More information needed for someone to help... please click below and provide the requested information
    -Premiere Pro Video Editing Information FAQ http://forums.adobe.com/message/4200840

  • Problem with soap receiver adapter

    Hi All
    I have Idoc sender and soap receiver in my scenario.
    I am calling web service deployed on WAS.
    The web service is getting called but the acknowledgement message in xi contains following system error acknowledgement because of which xi changes the status of message to WAIT and starts retrying.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  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.MessagingException: java.net.SocketTimeoutException: Read timed out: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.SocketTimeoutException: Read timed out</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Please anybody can help to resolve this problem. This scenario has worked without any error previously.
    Thanks in advance
    Beena

    Hi Bhavesh,
    It is an Async call where method does not return anything.
    I added entries in IDX_NOALE but still it is setting the message status to WAIT and does retry.
    Following is the Audit Log in Runtime workbench :
    Audit Log for Message: 22b3052d-c519-034e-85db-e65d541d6414
    Time Stamp Status Description
    2006-12-13 10:25:23 Error SOAP: error occured: java.net.SocketTimeoutException: Read timed out
    2006-12-13 10:25:23 Error Exception caught by adapter framework: Read timed out
    2006-12-13 10:25:24 Error Delivery of the message to the application using connection AFW failed, due to: Read timed out.
    2006-12-13 10:25:24 Success The asynchronous message was successfully scheduled to be delivered at Wed Dec 13 10:30:24 GMT+05:30 2006.
    2006-12-13 10:25:24 Success The message status set to WAIT.
    2006-12-13 10:30:25 Success Retrying to deliver message to the application. Retry: 1
    2006-12-13 10:30:25 Success The message was successfully retrieved from the receive queue.
    2006-12-13 10:30:25 Success The message status set to DLNG.
    2006-12-13 10:30:25 Success Delivering to channel: INSPWCCT_PVtoSAP_Ack
    2006-12-13 10:30:25 Success SOAP: request message entering the adapter
    2006-12-13 10:35:28 Success SOAP: call failed
    2006-12-13 10:35:28 Success SOAP: sending a delivery error ack ...
    2006-12-13 10:35:28 Success SOAP: sent a delivery error ack
    2006-12-13 10:35:28 Error SOAP: error occured: java.net.SocketTimeoutException: Read timed out
    2006-12-13 10:35:28 Error Exception caught by adapter framework: Read timed out
    2006-12-13 10:35:28 Error Delivery of the message to the application using connection AFW failed, due to: Read timed out.
    2006-12-13 10:35:28 Success The asynchronous message was successfully scheduled to be delivered at Wed Dec 13 10:40:28 GMT+05:30 2006.
    2006-12-13 10:35:28 Success The message status set to WAIT.
    I have tried this scenario earlier. I am sending the same Idoc from R3 which was processed successfully earlier.
    Thanks
    Beena.

  • Problem with SOAP receiver

    Hello,
    Our PI system is 7.4 . We have a lot of interface with related to  proxy to soap.When they are used  very intensively, errors occur in soap receiver .
    Types are error: 
    503 server  not avalibale,
    401 unauthorized ,
    invalid content type for SOAP:TEXT/HTML  such as...
    When system is restarted, mostly it is worked but after while again errors occur and a lot of message is waiting in queue.
    what can we do for it?
    Thanks in advance,
    Nurhan

    Hi Claudia,
    It is dual stack installation. While calling  soap receiver adapter, error occur. In sxmb_moni  display error  as follows:
    After restart, we have new error:
    It is abap proxy to soap scenario. It's synchronous communication.
    Thanks,
    Nurhan

  • Issue with SOAP receiver

    Hi,
    I'm using PI 7.0, SP13 and I'm sending a message to a MS webservice, using BURP as a proxy in between to avoid NTLM authorisation issues.
    The problem is that it's perfecly possible to send a message using soapUI, but sending the exact same message ends up in an error:
    "SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request"
    I already configured the MessageTransformBean by setting the ContentType to text/xml; charset=utf-8. Here are the settings of my communication channel:
    Target URL: http://<correct URL on local network>
    User authentication: false
    Certificate authentication: false
    Proxy: BURP proxy and BURP port
    Proxy user authentication: false
    Secutiry profile: false
    Do not use SOAP envelope: false
    Keep headers: false
    Keep attachments: false
    Use encoded headers: false
    Use query string: false
    SOAP action: <correct SOAP action>
    I also played with the parameters "Do not use SOAP envelope", "Keep headers" and "Keep attachments", without any success. The only difference that I can think of is that soapUI runs on Windows, and the PI system runs on Linux.
    Ideas, anyone?

    @Baskar Gopal: I didn't generate a WSDL: I'm using the SOAP receiver to post a message to an existing webservice.
    @sdnuser: the endpoint URL is 100% correct. I also added the MessageTransformBean like I stated before.
    @Chirumamilla Sukarna: HTTP adapter doesn't work because I need the SOAP envelope.
    The payload is in both cases (soapUI and PI) the same. Here's the part that's different:
    soapUI (working part):
    POST /DynamicsNAV/WS/Rendon%20Voorburg/Codeunit/Webservice HTTP/1.0
    Accept-Encoding: gzip,deflate
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: "urn:microsoft-dynamics-schemas/codeunit/Webservice:ContractorOrderInSync"
    User-Agent: Jakarta Commons-HttpClient/3.1
    Host: 192.168.1.8:7049
    Proxy-Connection: Keep-Alive
    Content-Length: 4292
    Connection: Keep-Alive
    SAP PI (not working part):
    POST /DynamicsNAV/WS/Rendon%20Voorburg/Codeunit/Webservice HTTP/1.0
    Accept: /
    Host: 192.168.1.8:7049
    User-Agent: SAP-Messaging-com.sap.aii.messaging/1.0505
    Authorization: Basic aGFhZ3dvbmVuQGJpbTpRYnFyRU84IQ==
    content-id: <soap-C89FD74E68782E13E1000000C0A8E010 @ sap.com>
    Content-Type: text/xml;charset=UTF-8
    Content-Length: 4292
    SOAPACTION: "urn:microsoft-dynamics-schemas/codeunit/Webservice:ContractorOrderInSync"
    Connection: Keep-Alive
    I know the content type looks correct here, but the SOAP adapter gives an error about this nevertheless.

  • Problem with SOAP receiver adapter? Please help!

    Hi experts
       I have the following scenario:
       SAP R/3 -ABAP Proxy>XI--->SOAP --webservice
       As you can see, I am sending data from R/3 system to XI via ABAP proxy. XI then sends data or calls a webservice via SOAP adapter.
    When I test this scenario I am getting a error in the sxmb_moni that is,
    "com.sap.aii.af.ra.ms.api.DeliveryException: TEXT/HTML; HTTP 504 Gateway Time-out"
    I have checked the webservice url and it is working fine.
    Can somebody tell me why am I getting this error message? How do I resolve this?
    Thanks
    Gopal

    Hi,
    Can you please check the  settings in Soap Adapter with Module Adapter setting with ModuleTranformBean parameters? There may be some problem. use HTTP Adapter and the message type 'HttpPostIn' to send as HTTP Post.
    Also
    There is the note 450226 gives an overview over error codes
    Probably below solution may help you.........
    As an administrator on your portal go to:
    System Configuration > Service Configuration >applications
    Under: com.sap.portal.ivs.httpservice > Services > Proxy
    If any proxy settings are configured you may end up with the problem, so you need to set the "nonProxyHosts" to include the trex host.
    regards
    Aashish Sinha
    PS : reward points if helpful

  • Issue with SOAP receiver AXIS adapter

    Hi  All,
    We have a scenario  SOAP -- > PI -- > SOAP (axis)  using SOAP 1.2 version  synchnrous scenario.  Using Webservice navigator am trying to trigger a message to  PI .
    Message has reached to PI box and failing in the receiver SOAP(axis) channel as :
    Delivering to channel: Receive_SOAP_BulkFeedback 18.08.2014 10:33:24 Information MP: processing local module localejbs/AF_Adapters/axis/AFAdapterBean 18.08.2014 10:33:24 Error
    MP: processing local module localejbs/AF_Adapters/axis/AFAdapterBean
    MP: processing local module localejbs/AF_Adapters/axis/AFAdapterBean 18.08.2014 10:33:24 Error MP: exception caught with cause javax.ejb.EJBException: ASJ.ejb.005043 (Failed in component: sap.com/com.sap.aii.axis.app, BC-XI-CON-SOP) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.adapter.axis.modules.AFAdapterBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.adapter.axis.modules.AFAdapterBean@6bbad627 for bean sap.com/com.sap.aii.axis.app*xml|com.sap.aii.adapter.axis.ejb.jar*xml|AFAdapterBean in application sap.com/com.sap.aii.axis.app.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.lib.mp.module.SModule.process(com.sap.aii.af.lib.mp.module.ModuleContext, com.sap.aii.af.lib.mp.module.ModuleData) of an object loaded from field com.sap.aii.adapter.axis.modules.AFAdapterBean.core of an object
    Please help and suggest.

    Hi Raja,
    The end system is closing the communication. Try to reset your PI ICM instance. Also check if your PI system is affected by this note   1675953 - SSL Client Authentication failed with PI SOAP Axis Adapter
    Regards.

  • Calling a webservice with SOAP Receiver

    Hi Guys,
       Im calling web service from XI using SOAP. I could call the webservice using XML Spy, It is working fine.In XML spy I could se the response (variable out , type double).
       When i call the same web service from XI It doesnt give any error in the beginning and later it would convert the same to "Acknowledment contains system errors" in Ack staus(SXMB_MONI). I configured my scenario as Asyn.However there is a response from webservice. Is it mandatory to create a sync scenario in this case? If so I couldnt configure as Im sending an Idoc as a SOAP request.But Response of Webservice is of double type( some integer it returns) So I couldnt map both as it was giving some problems in message mapping.
       I would like to know how XI sends a soap request ? I mean in SXMB_MONI some where it must be there. I wanted to copy the same from XI n paste in XML spy so that i can test whether it would go throgh.
        In plance of that webservice, We created an asp page and configured IIS. I wrote the ASP in such a way that It would read the SOAP request and dump into my default website area. I Could see the SOAP request coming up from XI.When i paste this in XML spy its working fine but not from XI Im wondering what went wrong?
       Appriciate your help.
    Thanks a lot
    Kiran

    Hi Raghavesh,
       My id is [email protected]
    Hi Vijay,
        As Bhavesh said,
             I can handle the response by makign async message interface , I did it but in SOAP adaptor I dont see any option of setting QOS?
            Ya WS is responding So by doing like asyn i can go ahead with that right? Now its throwing error in ask status as :
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Not enough message parts were received for the operation.: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Not enough message parts were received for the operation.</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace

  • Help with SOAP

    Hi there,
    Hoping to get some help here with an issue I'm stuck on.
    I'm trying to use the Bing Ads Web service in Python (SUDS) and also just using curl.
    I'm able to read in the WSDL file and generate the XML/SOAP output. 
    I feel like there is something minor wrong, just not too sure or familiar with what it might be. 
    Trying to call the following action:  DownloadCampaignsByAccountIds
    I tried to mimic the documentation as much as possible: http://msdn.microsoft.com/en-US/library/jj885755.aspx#request_soap
    Even copying and pasting the XML from the link above and adding my own values in after to make sure.
    I have the XML generated in SUDS but I keep getting a 400 Error: HTTP failed - 400 - Bad Request
    If I use curl and use the example provide as a template I get a slightly different error:
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body><s:Fault>
    <faultcode xmlns:a="http://schemas.microsoft.com/ws/2005/05/addressing/none">a:ActionNotSupported</faultcode>
    <faultstring xml:lang="en-US">The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. 
    This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a 
    binding/security mismatch between the sender and the receiver.  
    Check that sender and receiver have the same contract and the same binding 
    (including security requirements, e.g. Message, Transport, None).
    </faultstring></s:Fault></s:Body></s:Envelope> 
    Here is my full XML I am trying to pass to the service:
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:ns0="http://schemas.microsoft.com/2003/10/Serialization/Arrays" 
    xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/" 
    xmlns:ns2="https://bingads.microsoft.com/CampaignManagement/v9" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP-ENV:Header>
          <Action mustUnderstand="1">DownloadCampaignsByAccountIds</Action>
          <ApplicationToken i:nil="false"></ApplicationToken>
          <AuthenticationToken i:nil="false"></AuthenticationToken>
          <CustomerAccountId i:nil="false">xxxx</CustomerAccountId>
          <CustomerId i:nil="false">xxxxx</CustomerId>
          <DeveloperToken i:nil="false">xxxxxxxx</DeveloperToken>
          <Password i:nil="false">xxxx</Password>
          <UserName i:nil="false">xxxxxxx</UserName>
       </SOAP-ENV:Header>
       <ns1:Body>
          <ns2:DownloadCampaignsByAccountIdsRequest>
             <ns2:AccountIds>
                <ns0:long>xxxxxxx</ns0:long>
             </ns2:AccountIds>
             <ns2:DataScope>EntityData</ns2:DataScope>
             <ns2:DataScope>EntityPerformanceData</ns2:DataScope>
             <ns2:DataScope>QualityScoreData</ns2:DataScope>
             <ns2:DownloadFileType>Csv</ns2:DownloadFileType>
             <ns2:Entities>Ads</ns2:Entities>
             <ns2:Entities>SiteLinksAdExtensions</ns2:Entities>
             <ns2:Entities>Keywords</ns2:Entities>
             <ns2:Entities>AdGroups</ns2:Entities>
             <ns2:Entities>Campaigns</ns2:Entities>
             <ns2:FormatVersion>2.0</ns2:FormatVersion>
             <ns2:LastSyncTimeInUTC></ns2:LastSyncTimeInUTC>
             <ns2:LocationTargetVersion></ns2:LocationTargetVersion>
             <ns2:PerformanceStatsDateRange>
    <CustomDateRangeEnd i:nil="false">
     <Day></Day>
     <Month></Month>
     <Year></Year>
    </CustomDateRangeEnd>
    <CustomDateRangeStart i:nil="false">
     <Day></Day>
     <Month></Month>
     <Year></Year>
    </CustomDateRangeStart>
                <ns2:PredefinedTime>Yesterday</ns2:PredefinedTime>
             </ns2:PerformanceStatsDateRange>
          </ns2:DownloadCampaignsByAccountIdsRequest>
       </ns1:Body>
    </SOAP-ENV:Envelope>
    Any thoughts or ideas here? I feel like I am close...

    Hello.
    I made the following changes to your SOAP request to get it working. The final working request is pasted below.
    1. Change i:nil to xsi:nil
    2. Use 'ns2' or equivalent for the header elements e.g. ns2:UserName.
    3. Specifiy DataScope as a space delimited list
    4. Specify Entities as a space delimited list
    5. Set last sync time to null, e.g. <ns2:LastSyncTimeInUTC xsi:nil="true" />
    6. Remove custom date range, since you are requesting instead a Predefined time of Yesterday.
    By the way, please also set LocationTargetVersion to Latest and use FormatVersion 3.0 which is the latest version.
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:ns0="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns2="https://bingads.microsoft.com/CampaignManagement/v9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP-ENV:Header>
        <ns2:Action mustUnderstand="1">DownloadCampaignsByAccountIds</ns2:Action>
        <ns2:ApplicationToken xsi:nil="false"></ns2:ApplicationToken>
        <ns2:AuthenticationToken xsi:nil="false"></ns2:AuthenticationToken>
        <ns2:CustomerAccountId xsi:nil="false">***</ns2:CustomerAccountId>
        <ns2:CustomerId xsi:nil="false">***</ns2:CustomerId>
        <ns2:DeveloperToken xsi:nil="false">***</ns2:DeveloperToken>
        <ns2:Password xsi:nil="false">***</ns2:Password>
        <ns2:UserName xsi:nil="false">***</ns2:UserName>
      </SOAP-ENV:Header>
      <ns1:Body>
        <ns2:DownloadCampaignsByAccountIdsRequest>
          <ns2:AccountIds>
            <ns0:long>***</ns0:long>
          </ns2:AccountIds>
          <ns2:DataScope>EntityData EntityPerformanceData QualityScoreData</ns2:DataScope>
          <ns2:DownloadFileType>Csv</ns2:DownloadFileType>
          <ns2:Entities>Ads SiteLinksAdExtensions Keywords AdGroups Campaigns</ns2:Entities>
          <ns2:FormatVersion>3.0</ns2:FormatVersion>
          <ns2:LastSyncTimeInUTC xsi:nil="true" />
          <ns2:LocationTargetVersion>Latest</ns2:LocationTargetVersion>
          <ns2:PerformanceStatsDateRange>
            <ns2:PredefinedTime>Yesterday</ns2:PredefinedTime>
          </ns2:PerformanceStatsDateRange>
        </ns2:DownloadCampaignsByAccountIdsRequest>
      </ns1:Body>
    </SOAP-ENV:Envelope>
    I hope this helps!
    Eric

  • Error while calling webservice with SOAP Receiver

    Hi Experts,
    When we run the report on the ECC 6.0 server we call the web service which is configured as a receiver SOAP Adapter, we are getting the following error:
       XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Not enough message parts were received for the operation
    Can somebody throw a light on this error and how to overcome it.
    Thanking You
    With Best Regards
    Suk4023

    >Can somebody throw a light on this error and how to overcome it.
    Import WSDL and Use soapui or xmlspy and try to send the request and see the response. Make sure your WSDL URL is valid one too. After testing update more informaton on this.

  • Send and symbols with soap receiver adapter

    I have a integration scenario (IDOC to WebService).
    The web service has an action with receives 2 parameters
    <MaterialNumber>
    and
    <MaterialList>
    I have imported the wsdl file into Repository and I have define my interface.
    But this webservice has a peculiarity:
    The content of the second tag is also in xml format (but this is not defined in wsdl). For example
    <MaterialList>
        <Item>
          <MaterialID>1</MaterialID>
          <MaterialDescription>Example</MaterialDescription>
          <CreationDate>10102007</CreationDate>
        </Item>
    </MaterialList>
    A have tried to invoque the webservice with SAP SOAP Client. If i used < and > symbols for Item, MaterialID, MaterialDescription and CreationDate tags I get an xml error. So I have to use &amp;lt; and &amp;gt; instead and its works fine.
    So in my message mapping I have done that. I have test it in integration repository and uses &amp;lt; and &amp;gt; in the generated xml. It does exactly what I want. I have a message in this form:
    &amp;lt;MaterialList&amp;lt;
        &amp;lt;Item&amp;lt;
          &amp;lt;MaterialID&amp;lt;1&amp;lt;/MaterialID&amp;lt;
          &amp;lt;MaterialDescription&amp;lt;Example&amp;lt;/MaterialDescription&amp;lt;
          &amp;lt;CreationDate&amp;lt;10102007&amp;lt;/CreationDate&amp;lt;
        &amp;lt;/Item&amp;lt;
    &amp;lt;/MaterialList&amp;lt;
    But once I execute my integration scenario, I do a communication channel monitoring and for my surprise i get the next message
    & amp; &amp;lt;MaterialList& amp;&amp;gt;
        & amp; &amp;lt;Item& amp; &amp;gt;
          & amp; &amp;lt;MaterialID& &amp;gt;1& amp; &amp;lt;/MaterialID& amp; & amp;gt;
          & amp; &amp;lt;MaterialDescription& &amp;gt;Example& &amp;lt;/MaterialDescription& &amp;gt;
          & amp; &amp;lt;CreationDate& &amp;gt;10102007& amp; &amp;lt;/CreationDate & amp; &amp;gt;
        & amp; &amp;lt;/Item& &amp;gt;
    & amp; &amp;lt;/MaterialList& &amp;gt;
    It seems that the soap adapter has changed &amp;&lt; to & amp;lt;
    Is there any way to avoid this?
    Thanks to all.

    Use CDATA tag and you won't have those problems.
    Check this blog: /people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
    Regards,
    Henrique.

  • Help with configured receiver condition

    I have 2 target structures which I have to handle through configured receivers.
    The condition i have to place is if LIFSK exists, route to Business  service 1
    if LIFSK doesnt exists, route to Business Service 2
    I placed LIFSK EX -> service1
    its working but what condition i need to place for second service because there is no condition exists in configured receivers for NOT EXISTS.
    thanks and regards,
    Nikhil.

    hi nikhil
    Please give condition in Receiver determination using expression editor.
    Apply check on the value in the particular field and route it towards B.
    If the validation fails route the message to A.
    you can utilize XPATH for conditional routing;
    Receiver Det- Xpath:
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    XPATH in Interfce Det:
    /people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service
    have a look at the following to see how to do conditional receiver det.without BPM
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
    it uses a diff. scenario but u can have a look at the conditional recv. detm. part
    if you are on SP19, then you can avoid BPM for your this scenario.........
    But if you dont have SP19, then you will need BPM for your this scenario because in msg mapping, you will have one source msg and two target msgs - one target msg for system B and other target msg for system A if your header data is not correct........so based on your header data, either of the two msgs will be created....so you require BPM for this thing........you will have 3 data types - source msg, error msg and target msg..........then in BPM in send steps you will send your error msg to system A and target msg to system B......
    This can be acomplished with simple message mappings and enhanced receiver determination. Or if he wants to avoid enhanced receiver determination he can have an extra field in payload (or a custom dynamic configuration, with the help of this weblog: /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further) for receiver determination conditional routing.
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    regards
    sandeep
    if helpful kindly reward points

  • Help with soap adapter

    hi,
    how can i configure the standard http user-authentication in a soap request?
    i tried to set the user-authentication field and password under the url-field, but i still get this exception:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Aufruf eines Adapters
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="HTTP">ADAPTER.HTTP_EXCEPTION</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>HTTP 401 Unauthorized</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    and this html-message in the main-attachment:
    Sie haben nicht die erforderliche Berechtigung, um die Seite anzuzeigen
    Sie verfügen nicht über die Berechtigung, dieses Verzeichnis oder diese Seite unter Verwendung der von Ihnen bereitgestellten Anmeldeinformationen anzuzeigen, weil Ihr Webbrowser ein WWW-Authenticate-Headerfeld sendet, das die Konfiguration des Webservers nicht akzeptieren kann.
    Versuchen Sie Folgendes:
    Wenn Sie Ihrer Meinung nach in der Lage sein sollten, dieses Verzeichnis bzw. diese Seite anzuzeigen, wenden Sie sich an den Websiteadministrator.
    Klicken Sie auf die Schaltfläche Aktualisieren, um es mit anderen Anmeldeinformationen erneut zu versuchen.
    HTTP Error 401.2 - Unauthorized: Access is denied due to server configuration favoring an alternate authentication method. (HTTP-Fehler 401.2 - Nicht autorisiert: Der Zugriff wurde verweigert, weil die Serverkonfiguration eine andere Authentifizierungsmethode verlangt.)
    Internetinformationsdienste (Internet Information Services oder IIS)
    it should be the simple standard authentication then this one:
    https://websmp104.sap-ag.de/notes
    thx for any help
    mfg Ronald Grafl

    Hi,
    Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
    Description: The request requires user authentication
    Possible Tips:
    • Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
    • If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
    • If the error is in Adapter Engine
    –then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    • May be wrong password for user XIISUSER
    • May be wrong password for user XIAFUSER
    – for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
    See the below link
    HTTP* Errors /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    Regards
    Chilla

  • WS-Security Username Token issue with soap receiver

    Hi All,
    I have Proxy to SOAP scenario. Receiver web service is expecting below message in the soap header for authentication purpose.
    <soapenv:Header>
          <wsse:Security>
    <wsse:UsernameToken>
    <wsse:Username>username</wsse:Username>
    <wsse:Password Type="PasswordText">Password< wsse:Password>
    </wsse:UsernameToken>
          </wsse:Security>
       </soapenv:Header>
    User will trigger the message from ECC using some transaction. I need to pass this triggering person’s username and password to soap header dynamically. There are more than 2000 users in the system.
    How can I retrieve this username and password and bind it to <wsse:Security> node?
    Is it possible to achieve?
    Please note: User’s details will not come in the message payload. I cannot user look up here.
    Regards,
    Muni

    Asked web service team to use one service account for authentication. Used this blog How to Configure AXIS Framework for Authentication Using the "wsse" Security Standard in SAP PI to configure axis framework. Now we are able to send message to web service.
    Regards,
    Muni.

  • Help with SOAP traces to deal with VC Problem

    Hi,
    I'm currently using CE SR 3 and am having trouble using a web service in VC. I've used the WS in the web service navigator and it works there but I'm missing something in the VC environment. I'd like to be able to see the actual SOAP request and response messages that are being used.
    Does anyone have an idea on which trace locations I can set to find this information.
    Thanks.
    Dick

    Hi Richard,
    Is it possible for you to elaborate a bit about the problem?
    There is a known limitation concerning web service consumption:
    Limitation 0120031469 1000108608 - Services that contain nillable structures with no fields cannot be consumed in Visual Composer.
    Can this be the case?
    Regards,
        Shai

Maybe you are looking for

  • To read the values in the spreadsheet

    Hi, I have an excel sheet with some values quoted and ended with a comma at the end ( so as to place in the where condition of the sql query) I need to use these values in the where condition of the sql query to get the result. I will use this query

  • Error 503 when I open SharePoint 2013 Site

    Hi Export,   I tried to open the Site in SharePoint 2013, I got Error 503 (I can open Central Administration), so I check  1. The services of World Wide Web Publishing is running. 2. IIS restarted. 3. The application Pool of "SharePoint-Portal.Contos

  • BUG: EA 2.1 code editor: completion insight doesn't work in opened files

    I just migrated from SQLDEV 1.5.5 to EA 2.1. It's nice that I colud find so many of my suggestions implemented in this new version. THANKX :-) code editor: When I'm working in SQL Worksheet the "completion insight" feature is working well, but when I

  • Ipad 3 choppy performance

    I purchased an ipad 3 and have previously owned an iPad 2.  I know the hardware improvements is to only handle the better display. But what I am noticing is that the performance of the iPad 3 is noticably more choppy than my old iPad 2.  www.yahoo.co

  • How to start? i am puzzled...Help.

    I wanna learn JSP to make webpage.but i dont konw how to start. I need a guide. Can anyone help me? ThanX.