ApplicationResponseFault with namespace longer than 60 in sync soap message

Hi,
we are on pi 7.0 and our scenario is a async-sync bpm. In the sync soap message, the webservice raise an application error. In the response soap message we get the following detail tag:
<detail><ApplicationResponseFault xmlns="http://schemas.datacontract.org/2004/07/BizLayerNT.ServiceLayer.v10"><DocumentResponse xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"><Response><ResponseCode xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">BusinessReject</ResponseCode></Response></DocumentResponse></ApplicationResponseFault></detail>
In sxi_monitor this application error isn't caught and a system error is generated.
In the system error message we get:
<SAP:Category>XIServer</SAP:Category>
  <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
  <SAP:P1>500</SAP:P1>
  <SAP:P2>Internal Server Error</SAP:P2>
  <SAP:P3 />
  <SAP:P4 />
  <SAP:AdditionalText>java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:393) at com.sap.aii.messaging.mo.MessageContext.setAttribute(MessageContext.java:140) at com.sap.aii.adapter.xi.ms.XIMessage.updateHeaders(XIMessage.java:4271) at com.sap.aii.adapter.xi.ms.XIMessage.getTransportHeaders(XIMessage.java:572) at com.sap.aii.af.ra.ms.impl.ServerConnectionImpl.request(ServerConnectionImpl.java:212) at
In defaulttrace.trc we get ","<sap:ApplicationFaultMessageNamespace> is longer than 60 characters: http://schemas.datacontract.org/2004/07/BizLayerNT.ServiceLayer.v10",":
"09/04/2009","10:22:43:421","unable to generate the header map","Error","","com.sap.aii.adapter.xi.ms.XIMessage.getHeaderMap()","sap.com/com.sap.aii.af.app","SAPEngine_Application_Thread[impl:3]_14","34103150:F:\usr\sap\TPI\DVEBMGS03\j2ee\cluster\server0\log\defaultTrace.trc","001A64317EEE005E00005F2300000A6C000472BC344957CC","com.sap.aii.adapter.xi.ms.XIMessage","","","n/a","b82f88e0992b11dea4d8001a64317eee","","0","0","","0","","","0","com.sap.aii.adapter.xi.ms.XIMessage","SAPEngine_Application_Thread[impl:3]_14","","J2EE_GUEST",
"09/04/2009","10:22:43:421","<sap:ApplicationFaultMessageNamespace> is longer than 60 characters: http://schemas.datacontract.org/2004/07/BizLayerNT.ServiceLayer.v10","Error","","com.sap.aii.messaging.mo.xmb.XMBErrorHeader.marshal(XMLWriter)","sap.com/com.sap.aii.af.app","SAPEngine_Application_Thread[impl:3]_14","34103150:F:\usr\sap\TPI\DVEBMGS03\j2ee\cluster\server0\log\defaultTrace.trc","001A64317EEE005E00005F2200000A6C000472BC34495771","com.sap.aii.messaging.mo.xmb.XMBErrorHeader","http://schemas.datacontract.org/2004/07/BizLayerNT.ServiceLayer.v10,","http://schemas.datacontract.org/2004/07/BizLayerNT.ServiceLayer.v10,","n/a","b82f88e0992b11dea4d8001a64317eee","","0","0","","1","","","0","com.sap.aii.messaging.mo.xmb.XMBErrorHeader","SAPEngine_Application_Thread[impl:3]_14","","J2EE_GUEST",
"09/04/2009","10:22:43:421","Could not process message from 192.168.130.21 due to java.lang.NullPointerException.","Error","","com.sap.aii.af.ra.ms.impl.core.transport.http.MessagingServlet.doPost(HttpServletRequest, HttpServletResponse)","sap.com/com.sap.aii.af.ms.app","SAPEngine_Application_Thread[impl:3]_55","34103150:F:\usr\sap\TPI\DVEBMGS03\j2ee\cluster\server0\log\defaultTrace.trc","001A64317EEE0083000072F700000A6C000472BC344955F3","com.sap.aii.af.ra.ms.impl.core.transport.http.MessagingServlet","192.168.130.21,java.lang.NullPointerException,","192.168.130.21,java.lang.NullPointerException,","SAPDES_TPI_34103150","1d72b100992c11dec67f001a64317eee","PIISUSER","0","0","","1","","","15337","com.sap.aii.af.ra.ms.impl.core.transport.http.MessagingServlet","SAPEngine_Application_Thread[impl:3]_55","","PIISUSER",
"09/04/2009","10:22:43:421","The SAP XI Adapter Framework Messaging Service caught an exception during rendering an XML Message. Details can be found in the trace file for Location com.sap.aii.messaging.mo.xmb. Action: Please contact SAP Support and provide the trace file.","Error","/Applications/ExchangeInfrastructure/AdapterFramework/SAPLibraries/SAPXDK","com.sap.aii.messaging.mo.xmb.XMBErrorHeader.marshal(XMLWriter)","sap.com/com.sap.aii.af.app","SAPEngine_Application_Thread[impl:3]_14","34103150:F:\usr\sap\TPI\DVEBMGS03\j2ee\cluster\server0\log\defaultTrace.trc","001A64317EEE005E00005F2000000A6C000472BC3449559F","com.sap.aii.messaging.mo.xmb.XMBErrorHeader","","","n/a","b82f88e0992b11dea4d8001a64317eee","","0","0","","0","/Applications/ExchangeInfrastructure/AdapterFramework/SAPLibraries/SAPXDK","","0","com.sap.aii.messaging.mo.xmb.XMBErrorHeader","SAPEngine_Application_Thread[impl:3]_14","","J2EE_GUEST",
So I think the problem is due to the namespace length. I'm right?
We can't change the consumed webservice to reduce namespace length and our customer ask us to solve it in PI. Is there any way to change the namespace before to be treated and get a correct application error?
Thanks in advance,
Marc
Edited by: Marc Mauri on Sep 5, 2009 12:06 PM

Hi Neetesh,
we developed our own adapter module. We use it in our receiver soap adapter, module tab, before and after the standard module sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean.
In this audit log secuence you can see that the problem seems not to be solved, because the error is triggered when processing response message inside adapter module sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean, so our module is not called and the problem remains.
2009-09-22 19:06:41 Success Message successfully received by messaging system. Profile: XI URL: http://sapdes:50300/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
2009-09-22 19:06:41 Success The message status set to DLNG.
2009-09-22 19:06:41 Success Delivering to channel: CC_WS_DOS
2009-09-22 19:06:41 Success MP: Entering module processor
2009-09-22 19:06:41 Success MP: Processing local module *localejbs/AM_OWN_MODULE*
2009-09-22 19:06:41 Success GetHostName: Module called
2009-09-22 19:06:41 Warning Inside my own adapter Module <-- THIS IS A TRACE MESSAGE CODED INSIDE OUR MODULE
2009-09-22 19:06:41 Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean 
2009-09-22 19:06:41 Success SOAP: request message entering the adapter with user J2EE_GUEST
2009-09-22 19:06:41 Success SOAP: Web Services Security processing...
2009-09-22 19:06:41 Success SOAP: apply Web Services Security...
2009-09-22 19:06:41 Success SOAP: Web Services Security applied.
2009-09-22 19:06:42 Success SOAP: completed the processing
2009-09-22 19:06:42 Success SOAP: continuing to response message 4d2c88e0-a79a-11de-9ffa-001a64317eee
2009-09-22 19:06:42 Error SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault <----
THIS ERROR IS DUE TO NAMESPACE LENGHT (WE CAN SEE THIS ERROR IN DEFAULT_TRACE.LOG)
2009-09-22 19:06:42 Success MP: Processing local module localejbs/AM_OWN_MODULE
2009-09-22 19:06:42 Success MP: Leaving module processor
2009-09-22 19:06:43 Success The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System. 2009-09-22 19:06:43 Success The message status set to DLVD.
Any suggestion?
Thanks in advance,

Similar Messages

  • How can I to send an email with a longer than 50 characters subject?

    I'm trying to send an email through an abap program ( report ), but when the email arrives to the SOST transaction the subject is cut to 50 characters. How can I send an email with a longer than 50 characters subject?

    check this below code and do changes in ur report
    FORM SEND_MAIL_SUPPORT  TABLES   P_EM_BODY
                            USING    P_TITLE.
    *_ Start of the code to send an email notification
      DATA : ATTACH_REC TYPE I.
      DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE,
            OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE,
            OBJBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE,
            OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE,
            DOC_CHNG LIKE SODOCCHGI1,
            TAB_LINES LIKE SY-TABIX.
    Creation of the document to be sent
      DOC_CHNG-OBJ_NAME = 'Mat Attach'(010).
      DOC_CHNG-OBJ_DESCR = P_TITLE.
      APPEND LINES OF P_EM_BODY TO OBJTXT.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ TABLE OBJTXT INDEX TAB_LINES.
      DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    *Creation of the entry for the compressed document
      CLEAR OBJPACK-TRANSF_BIN.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM = 0.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM = TAB_LINES.
      OBJPACK-DOC_TYPE = 'RAW'.
      APPEND OBJPACK.
      DESCRIBE TABLE IT_ERROR LINES ATTACH_REC.
      IF ATTACH_REC GE '1'.
    *Start of email attachement of internal table conversition
       APPEND LINES OF IT_ERROR TO OBJBIN.
    WRITE: '----
    ' TO OBJBIN.
    APPEND OBJBIN.
    CLEAR OBJBIN.
    CONCATENATE 'CCode.' 'A/CDocNum.' '  FYear.' 'DType.' 'PDate.' '  RefField.' INTO
                 V_TEXT SEPARATED BY ' '.
    APPEND V_TEXT TO OBJBIN.
    CLEAR V_TEXT.
    WRITE: '----
    ' TO OBJBIN.
    APPEND OBJBIN.
    CLEAR OBJBIN.
    LOOP AT IT_ERROR.
    CONCATENATE IT_ERROR-BUKRS IT_ERROR-BELNR IT_ERROR-GJAHR IT_ERROR-BLART
                 IT_ERROR-BUDAT IT_ERROR-STATUS INTO V_TEXT SEPARATED BY '   '.
    APPEND V_TEXT TO OBJBIN.
    CLEAR V_TEXT.
    ENDLOOP.
    WRITE: '----
    ' TO OBJBIN.
    APPEND OBJBIN.
    CLEAR OBJBIN.
        DESCRIBE TABLE OBJBIN LINES OBJPACK-BODY_NUM.
        OBJPACK-TRANSF_BIN = 'X'.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM = 1.
        OBJPACK-BODY_START = 1.
        OBJPACK-DOC_SIZE = OBJPACK-BODY_NUM * 255.
        OBJPACK-DOC_TYPE = 'RAW'.
        OBJPACK-OBJ_DESCR = 'List of Error Documents'(012).  " Description
        APPEND OBJPACK. CLEAR OBJPACK.
      ENDIF.
      RECLIST-RECEIVER = S_EMAIL-LOW.
      RECLIST-REC_TYPE = 'U'.
      RECLIST-COPY = 'X'.
      APPEND RECLIST.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = DOC_CHNG
          PUT_IN_OUTBOX              = 'X'
          COMMIT_WORK                = 'X'
        TABLES
          PACKING_LIST               = OBJPACK
          OBJECT_HEADER              = OBJHEAD
          CONTENTS_BIN               = OBJBIN
          CONTENTS_TXT               = OBJTXT
          RECEIVERS                  = RECLIST
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          OPERATION_NO_AUTHORIZATION = 4
          OTHERS                     = 99.
    *CHECK SY-SUBRC = 0.
    ENDFORM.                    " SEND_MAIL_SUPPORT

  • HT201263 how to sync ipad with different computer than first synced

    How can I sync my ipad to a new computer than originally synced with?

    If you no longer have the other computer read these instructions. It contains everything that you need to know.
    https://discussions.apple.com/docs/DOC-3141

  • Can't create projects with loops longer than 1 second

    This is weird - In garage band, if I try to drag and drop one of Apple's pre-made loops into a new project and that loop is any longer than one second I will get the following error message:
    Result Code = -5000
    File = GarageBand-Temp-21B25E84.tmp
    (the temp file name, of course, changes each time)
    I have used GarageBand for years with no problem. I have upgraded to Lion a couple months ago. However, I have also upgraded GarageBand. Currently running version 6.0.4 (427.84).
    Very frustrating. Anybody have any ideas how to resolve?

    Finally called Apple and got it figured out
    1. Went to a new user and tried creating a GarageBand song there. That worked so isolated that it was some kind of problem with the user account
    2. Went back to user library and looked at Preferences again. Threw out all of the following (which I had done previously)
    com.apple.garageband.cs
    com.apple.garageband.LSSharedFileList.plist
    com.apple.garageband.LSSharedFileList.plist.lockfile
    com.apple.garageband.plist
    com.apple.garageband.plist.lockfile
    Also threw out (which I had not done previously)
    com.apple.iApps.plist
    com.apple.iApps.plist.lockfile
    In the process found a bunch of other files that Apple thinks were created in error during upgrade. All started with com.apple.iApps.plist.xxxxxxx (X's represent random alpha numeric sequences). Threw those all out
    3. Also, in user library, went to Caches and threw away com.apple.garageband.
    4. Restarted computer
    Problem solved.

  • How to create Report Writer Form with page longer than 255

    As i need to create report writer form with many columns which exceed than 1 acceptable page, how can I create since in writer there is no Horizontal Page as in report painter.
    Thank you very much.
    Sirirak

    check it out.
    pretty simple example
    http://www.baigzeeshan.com/2010/04/creating-simple-search-form-in-oracle.html
    here is the example what you 're looking instead of af:table have your form.

  • ILM generates partitions with names longer than 30 characters

    Hi ,
    I am not sure if there is a team that supports ILM, as I understand maybe you can help me on this forum.
    When scanning for events on the Lifecycle Events Calendar tab, we hit ORA-12899: value too large for column
    Double checking we see that the error is legitimate, as the partition name which is the column that generates this error, is 35 characters long. Oracle documentation strictly limits the column names to 30 chars.
    Hence, I need to see who creates these partitions in order to see how can I reproduce the issue and maybe opening a new bug.
    Does ILM creates the partitions and controls the partition name length?
    Any ideas on how to progress this?

    Open the Script Editor in the /Applications/AppleScript/ folder and run the following after putting that window in the front in the Finder:
    tell application "Finder"
    set the_files to {}
    repeat with this_file in (get every file of entire contents of (folder of window 1))
    if (count (get name of this_file)) > 30 then
    set the_files to the_files & (this_file as alias)
    end if
    end repeat
    end tell
    the_files
    (23344)

  • I just updated my iPhone 4 to version 5.0.1, and although my contacts all appear to be still there, it's coming up with numbers rather than names in my messages. What can I do to fix this?

    I haven't changed any settings, I pressed merge with Icloud was that incorrect? Please help!

    If you made a backup in iTunes before upgrading you can access the data with iPhone / iPod Touch Backup Extractor.
    Can be downloaded from here: http://supercrazyawesome.com/
    This helped me getting my Notes back after the upgrade to iOS 5.

  • F4v encoded with Adobe media encoder CS4 (longer than 71 minutes)

    Hi I don't know if this is the correct place for this post. So apologies me if this is the wrong place.
    Encoding with Adobe Media Encoder CS4 (4.2.0.006 and 4.0 too)
    Source: MOV (DVPAL) longer than 71 minutes
    Dest: F4V (H.264)
    Result: freezed frames and only plays audio at 01:11. Media Player goes crazy and starts showing some diferent parts freeze frames.
    In Quicktime crashes, in VLC the same of MediaPlayer. Sometimes the audio starts to downsampling and sounds like the pitch goes down.
    Totally agree with this other post: http://forums.adobe.com/thread/580391
    (extract)
    I recentlly encoded afew F4V using Adobe Media Encoder Cs4.  MOst of them are working properly but I don't know why, all of my video that are longer than 71 minutes seems to have trouble playing back.  They all Freeze when they reach 71 minutes or if I navigate pass this point.
    thanks and help us please!
    Kik

    Thanks for the interest.
    I'll try to explain all details:
    MacPro 1.1 (mid 2006) under Mac OS X 10.4.11 (Darwin 8.11.1 kernel)
    System files: journaled HFS+ and a unix based NAS (under samba connection)
    I have all material on the NAS and also I make the transcoding over it. Is a simple mov containing DV PAL WIDE interlaced 25fps with stereo audio. typical settings with nothing out of DV PAL standard.
    The version of MediaEncoder CS4: 4.2.0.006 (it happens with older versions too)
    The settings of MediaEncoder are:
    Audio: AAC stereo 44,1 kHz
    Video: F4V. MainConcept H.264, fps like source, profile high, level 4,1. CBR compression.
    The problem only appears with videos longer than 71 minuts. At 01:11 starts with crazy problems. It seems like the player have some read or problems.
    Tell me if you need some other kind of information.
    thks

  • How to read messages longer than network buffer size

    The logic of my application is:
    the client sends a request to the server and wait, in blocking mode, for its response.
    The server can responde with strings longer than 64KB (size of their sending and receiving buffer size), so under the hood, can also execs more than one socketChannel.write
    Nothing in the message says where it finish, nevertheless the client needs to assemble all in one big
    string.
    How can the client deal with this ? I'd like keep it as simple as possible (without using a selector)
    any thoughts ?
    thanks in advance

    Your above post suggests that it can send more than one packet (even ignoring the 64k limit.)
    In that case the data of the message must contain sufficient information. If not then the solution is not determinate.
    Ideally what you should received is a message and not just data. The message defines it contents. So you know how long it is and maybe even when it ends.
    Alternatively the data might contain something. For example if you are recieving well formatted XML then you can create a simple parser that just looks for the end tag. If it isn't well formatted, or at least you can not rely on that then it is much harder.

  • Can automator identify file names longer than a specified number of characters?

    I have a lot of data that I need to ultimately archive to a PC solution but it currently has a lot of files with names longer than 256 characters.  I know I can batch update the names with automator, but what about an easy way to identify them?? Is there a way to identify file names based on file name length?

    Not in Automator.  There are other ways but the question is once you have the files what do you plan to rename them. You can't just cut off all the chars above 256 as this will not ensure uniqueness.
    So what convention will you use to make the names unique?
    As for getting the files. This command run in the terminal will return all filenames over N long
    ls | awk 'length ($0) > N'
    so in your case
    ls | awk 'length ($0) > 255'
    So this could be run from an Automator workflow or Applescript to capture the filenames you want to change. But again it's the renaming that is tricky.

  • Tag attributes can't be longer than 8 characters?

              Hi,
              I am in the process of migrating a web application from another server to Weblogic
              7.0 and have run into the problem that none of my tags with attributes longer
              than 8 characters seems to work. The error message I get is :
              /Login.jsp(8): Error in using tag library uri='webtool.tld' prefix='tool': The
              Tag class '<classname>' has no setter method corresponding to TLD declared attribute
              '<attribute name>', (JSP 1.1 spec, 5.4.1)
              probably occurred due to an error in /Login.jsp line 8:
              <%@ taglib uri="webtool.tld" prefix="tool" %>
              I can make this go away by shortening the attribute name, but I have a lot of
              attributes with long names...is the limit configurable somwhere?
              Thanks in advance,
              Karen
              

    Are you trying to use a distribution list?
    If so, what if you get the actual email SMTP address (in outlook, look in the "E-mail Addresses" tab) and try that instead?
    Sincerely,
    Ted Ueda

  • OS 10.5.8 sync error message

    Since I installed a suggested security update from Apple a few days ago I keep getting the message:
    Database Reset Allert
    Inconsistencies in your sync information for Bookmarks were detected and have been repaired.
    The next sync for Mobile Me and Safari may take longer than usual.
    This message pops up every 10 minutes and, after 3 days, is getting quite annoying now.
    I have checked my sync settings and have synced about 3 times, not including the automatic sync, but this still keeps happening.
    If anyone has any suggestions I would be most grateful.
    thanks
    jackie

    Yes, it is. You need to buy a Mac OS X 10.6 DVD and download the 10.6.8 combo updater.
    (80475)

  • I moved my music from the c drive to the d drive. All of my music is in itunes but my ipod won't sync with itunes. The syncing process is taking much longer than usual too. I left my ipod over night to sync and it didnt finish. Fails to sync every time.

    I moved my music from the c drive to the d drive. All of my music is in itunes but my ipod won't sync with itunes. The syncing process is taking much longer than usual too. I left my ipod over night to sync and it didnt finish. Fails to sync every time. I tried to restore my ipod and it didnt help.

    Ignore.  I figured it out:)

  • I recently began using reminders in ical and downloaded the iPhone and iPad app. It works great. However, the reminders in ical on the COMPUTER is difficult to work with - thin long column on the right rather than in it's own screen. is there a reminders

    I recently began using reminders in ical and downloaded the iPhone and iPad app. It works great. However, the reminders in ical on the COMPUTER is difficult to work with - thin long column on the right rather than in it's own screen. is there a reminders app for the COMPUTER that is more user friendly?

    sgreenie,
    If you are willing to wait, Apple - OS X Mountain Lion - Inspired by iPad. Made for the Mac explains that a "Reminders" application will be included in the next release of OS X.

  • HT1386 iTunes 11.1.4, and iOS 7.0.4. - My iPhone 4 is popping up with "do you trust this computer?" Message, and will no longer sync to iTunes. HELP!?

    iTunes 11.1.4, and iOS 7.0.4. - My iPhone 4 is popping up with "do you trust this computer?" Message, and will no longer sync to iTunes. My device when plugged in just won't sync, and I litteraly do not know what to do... Someone please help me!?

    I did know that it was a new feature, but it made no difference, it wasn't synching. I did however find a post that completely helped me!! Link below.
    https://discussions.apple.com/thread/5821850?start=0&tstart=0

Maybe you are looking for