JAXB and Soap Message Unmarshelling Issue

We are using JDK 6 and while unmarshelling a soap message getting exception
My java code is
public class Test {
private static JAXBContext jaxbContext;     
public static void main (String a []){     
try {
jaxbContext =JAXBContext.newInstance("net.dm.common.xml");
final Unmarshaller unmarshaller =
jaxbContext.createUnmarshaller();               
InputStream is = new FileInputStream( "response.xml" );
Object obj = unmarshaller.unmarshal(is);
} catch (Exception e) {               
e.printStackTrace();          
Sample response XML is
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
     <soap-env:Header />
     <soap-env:Body RequestId="1232131231"
Transaction="HotelAvailNotifRS">
          <OTA_HotelAvailNotifRS
TimeStamp="2010-11-24T16:44:15+05:30" Version="1.003"
xmlns:xsi="http://www.opentravel.org/OTA/2003/05">
               <Success />
          </OTA_HotelAvailNotifRS>
     </soap-env:Body>
</soap-env:Envelope>
Exception  is
javax.xml.bind.UnmarshalException: unexpected element
(uri:"http://schemas.xmlsoap.org/soap/envelope/",
local:"Envelope"). Expected elements are
<{http://www.opentravel.org/OTA/2003/05}Attribute>,<{http://www.opentravel.org/OTA/2003/05}Element>,<{http://www.opentravel.org/OTA/2003/05}OTA_CancelRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_CancelRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_DeleteRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_DeleteRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_ErrorRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelAvailNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelAvailNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelAvailRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelAvailRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelBookingRuleNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelBookingRuleNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelBookingRuleRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelBookingRuleRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelCommNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelCommNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelDescriptiveContentNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelDescriptiveContentNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelDescriptiveInfoRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelDescriptiveInfoRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelGetMsgRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelGetMsgRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelInvAdjustRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelInvAdjustRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelInvBlockNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelInvBlockNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelInvCountNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelInvCountNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelInvNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelInvNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelInvSyncRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelInvSyncRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelRFP_MeetingNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelRFP_MeetingNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelRFP_MeetingRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelRFP_MeetingRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelRFP_TransientNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelRFP_TransientNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelRFP_TransientRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelRFP_TransientRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelRateAmountNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelRateAmountNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelRatePlanNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelRatePlanNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelResModifyNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelResModifyNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelResModifyRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelResModifyRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelResNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelResNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelResRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelResRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelRoomListRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelRoomListRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelSearchRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelSearchRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelStatsNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelStatsNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelStatsRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelStatsRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelStayInfoNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelStayInfoNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelSummaryNotifRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_HotelSummaryNotifRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_NotifReportRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_NotifReportRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_PingRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_PingRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_ReadRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_UpdateRQ>,<{http://www.opentravel.org/OTA/2003/05}OTA_UpdateRS>,<{http://www.opentravel.org/OTA/2003/05}OTA_VehRetResRQ>,<{http://www.opentravel.org/OTA/2003/05}ProfileReference>,<{http://www.opentravel.org/OTA/2003/05}Root>,<{http://www.opentravel.org/OTA/2003/05}Subtree>,<{http://www.opentravel.org/OTA/2003/05}TPA_Extensions>
     at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:642)
     at
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:254)
     at
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:249)
     at
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:116)
     at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:1049)
     at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:478)
     at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:459)
     at
com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:148)
     at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
     at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
     at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source)
     at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
     at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
     at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
     at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
     at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
     at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211)
     at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184)
     at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:136)
     at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:183)
     at test.Test1.main(Test1.java:40)
I am struggling with this exception. Lots of thanks in advance.
regards,
Rajeev

Issue solved by SAP note 1115650 "J2EE Engine kernel.sda SP20 cumulative patch"

Similar Messages

  • Web-services.xml for EJB component and SOAP Message Handler Chain

    I have used the following example for my own web service with EJB component and SOAP
    Message Handler Chain:
    http://e-docs.bea.com/wls/docs70/webServices/dd.html#1058208
    I have a deployment error:
    javax.naming.NameNotFoundException: Unable to resolve 'app/ejb/DocumentService.j
    ar#DocumentService/home' Resolved: 'app/ejb' Unresolved:'DocumentService.jar#Doc
    umentService' ; remaining name 'DocumentService.jar#DocumentService/home'
    In attachement is the ear file.
    Is there a problem in web-services.xml?
    Thanks
    [ws_dox_sdi.ear]

    It works. Thanks,
    Ioana
    "Neal Yin" <[email protected]> wrote:
    The error means your EJB is not deployed.
    Adding a EJB module to your application.xml file of the ear should fixe
    it.
    <application>
    <display-name />
    <module>
    <web>
    <web-uri>dox_sdi.war</web-uri>
    </web>
    </module>
    <module>
    <ejb>DocumentService.jar</ejb>
    </module>
    </application>
    "Ioana Meissner" <[email protected]> wrote in message
    news:3cf640cc$[email protected]..
    I have used the following example for my own web service with EJBcomponent and SOAP
    Message Handler Chain:
    http://e-docs.bea.com/wls/docs70/webServices/dd.html#1058208
    I have a deployment error:
    javax.naming.NameNotFoundException: Unable to resolve'app/ejb/DocumentService.j
    ar#DocumentService/home' Resolved: 'app/ejb'Unresolved:'DocumentService.jar#Doc
    umentService' ; remaining name 'DocumentService.jar#DocumentService/home'
    In attachement is the ear file.
    Is there a problem in web-services.xml?
    Thanks

  • IOS 8.1 Photos and/or Messages cursor issue

    I select a photo within the Photos app on my iPhone 5s or my iPad2
    Then click the little 'share arrow' and choose Messages app as the sharing method
    The photo selected does show up in the Messages 'message composition' window
    However the cursor, instead of being to the right of "To:" shows up to the left of "To:".  Happens every time.
    Submitted to Apple as a bug however I am open to ideas to fix the issue.

    I just replied on a similar thread. I also have this issue. When I either compose a new message or text a photo, my cursor is to the left of the "To:" field, but types in the appropriate area and sends without problems. It doesn't seem to affect texting capabilities, but it is annoying that the cursor is not perfectly aligned after the "To:" field.
    I tried quitting the text application by swiping out of range, and resetting my device but to no avail. I called Apple Support and am expecting a call back from them in a few hours, when it is more convenient for me to have them try to isolate the problem.
    It appears that others are having the same issue. It seems that whenever a new software update is downloaded, more problems or problems where there were none occur.

  • Implement a SOAP Request in an SSIS Package that sends a SOAP Message (Env) with Authentication Info, Receives XML FIle?

    We need a small SSIS package to pass a SOAP message to a SOAP server and receive the response xml message. 
    We have the SOAP Endpoint, SOAP Action, and SOAP Message (which contains authentication elements). They work in a Talend Data Integration job (using
    Talend's tSOAP component). A screenshot showing the Talend job and the configuration of the tSOAP component
    is attached.
    We need to implement the same thing in a Microsoft SQL Server 2012 SSIS package but haven't been able to get an SSIS Web Services task to work. 
    We haven't been able to configure it to pass the SOAP Action and SOAP Message.  
    How should this be accomplished in SSIS?
    kholberger

    I guess I was not clear.  The Talend job works perfectly (and it took only a few minutes to configure). 
    I need to replicate the SOAP request function in an SSIS package.  I've been trying to configure an SSIS Web Services Task to do that without success. 
    The SSIS Web Service Task asks for the .wsdl file, which I provide (though the Talend component
    does not ask for it), but the SSIS WST does not ask for the SOAP Action or SOAP message.  The target web service is protected by a security gateway that rejects the SSIS WST request.  Somehow, the Talend tSOAP component sends the
    SOAP message, which contains the security definition and authentication credentials (you can see part of that in the screen shot) which the endpoint accepts.
    The question is: "How does one implement a SOAP web service request in an SSIS package that sends the SOAP Message".
    Thanks.
    kholberger

  • Unable to open PWA in browser and MSP on application server in project server 2007. ERROR: Sending the Soap message failed or no recognizable response was received.

    Hi All,
    I am using project server 2007 and WSS 3.0. 
    I have been facing a strange issue for couple of days. I am unable to open PWA in browser and MS Project Pro on application server.
    Everything is correct whether it is URL or MS Project profile account on MSP.  This is strange because i can open same PWA/MSP from other computers (Database server / Client PCs) but not locally on server.
    When i try to connect to MSP on App server, i get the following errors in event viewer.
    Event Type: Error
    Event Source: MSSOAP
    Event ID: 16
    User: N/A
    Computer: APP-Server-Name
    Description:
    Soap error: Connection time out..
    Event Type: Error
    Event Source: MSSOAP
    Event Category: Client 
    Event ID: 16
    User: N/A
    Computer: APP-Server-Name
    Description:
    Soap error: An unanticipated error occurred during the processing of this request..
    Event Type: Error
    Event Source: MSSOAP
    Event Category: Client 
    Event ID: 16
    User: N/A
    Computer: APP-Server-Name
    Description: Soap error: Sending the Soap message failed or no recognizable response was received.
    Event Type: Error
    Event Source: MSSOAP
    Event Category: Client 
    Event ID: 16
    User: N/A
    Computer: APP-Server-Name
    Description:
    Soap error: Unspecified client error..
    One more issue i am facing and i guess that is related to above issue. The Issue is, when i am creating a new project, It's workspace gets created but doesn't get linked to the project and i can't link it manually because it already exists for the project.
    sandeep

    Hi Paul ,
    Thanks for reply. The project server URL was already added to the Trusted
    Sites/Local Intranet areas in IE. 
    sandeep

  • How To : Call External Webservice from BPEL and pass SOAP Message to the WS

    Hello All-
    Greetings to all BPEL gurus. I am currently facing difficulties in calling an External Webservice from my BPEL Process and passing SOAP Message to it. The details are below:
    <strong>1. The BPEL process, using database polling feature of DB Adapter, will get the records from the database.</strong>
    <strong>2. Transform the message</strong>
    <strong>3. Call the External Webservice and pass the transformed message as the input to it. However the Webservice expects the BPEL process to send SOAP headers in the input message.</strong>
    I am struggling on how to put the transformed message within a SOAP envelope in the BPEL process.
    If anyone had similar requirements and have successfully been able to send SOAP messages from BPEL process to an external webservice, kindly let me know.
    Also if there is some kind of documentation or any link in the forum that I can refer, please let me know that as well.
    I am new to Webservice integration using BPEL and would really appreciate your help.
    Thanks In Advance
    Regards,
    Dibya

    Hi Dharmendra,
    I am trying to send a SOAP message from my BPEL process to a web service. I have a complete SOAP message in a complex variable defined in the wsdl for the partnerlink (web service). My problem is that when I invoke the partnerlink it fails even though the content shown in the BPEL console looks valid.
    I have set up obtunnel to see what I am actually sending out from BPEL. You mention that BPEL creates the SOAP envelope automatically.
    I think that my problem is a result of this automatic SOAP envelope that BPEL is creating. Do you know if there is a way to turn it off?
    This is what I see in the TCP monitor, please note the double SOAP env:Body:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Body> <RCMR_IN000002NR01 xmlns="urn:hl7-org:v3" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <env:Header>
    <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://testhost/CCS/Service_Endpoint</wsa:To>
    <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address>http://localhost/CCS/Service_Endpoint</wsa:Address>
    <wsa:Metadata>
    <device xmlns:hl7="urn:hl7-org:v3">
    </device>
    </wsa:Metadata>
    </env:Header>
    <env:Body>
    <RCMR_IN000002NR01>
    </RCMR_IN000002NR01>
    </env:Body>
    </RCMR_IN000002NR01>
    </env:Body>
    </env:Envelope>
    Any help is appreciated.
    Regards,
    Aagaard
    Edited by: Aagaard on Oct 30, 2008 8:59 PM
    Should have mentioned. I am using BPEL 10.1.3.4
    Edited by: Aagaard on Oct 31, 2008 8:43 AM
    I have opened a new thread for this question so as to not confuse the issue more than necessary.
    How many SOAP envelopes do you really need?

  • PI 7.0 SOAP message reply HTTP 500 and after the fault message

    Hello Everybody,
    I have the scenario RFC -> XI -> SOAP in synchronous mode.
    I use for the mapping XSLT because I have to put some dynamic data comming from the RFC in the header of envelope.
    At level of adapter receiver SOAP , I flag the "do not use envelop"
    In normal, that works .
    When the is an fonctionnal error in SOAP service, it sends me back an error HTTP 500 and afterwards the fault message in a soap envelop format. In that case, how can I pass over this error to treat the envelop because in adapter, it is stopped and it returns a short dump to the RFC.
    Is there somebody who can help me with this problem ?
    Thanks in adavance for your answers .
    Regards.
    Eric.

    Hi,
    In case of a SOAP error while processing the request, the SOAP HTTP server MUST issue an HTTP 500 "Internal Server Error" response and include a SOAP message in the response containing a SOAP Fault element
    Thanks,
    RamuV

  • Having horrible service with 4GLTE I have had 3G for several weeks (I am not the only person I know having this problem), I have reset my network settings and it did not resolve the issue.  I am also unable to send SMS and text messages without them eithe

    Having horrible service with 4GLTE I have had 3G for several weeks (I am not the only person I know having this problem), I have reset my network settings and it did not resolve the issue.  I am also unable to send SMS and text messages without them either failing or not sending at all.  Is there an outage in the Cleveland, Ohio area (zip codes 44129, 44134, 44137) or anything else I can do to resolve this issue?

    Not that I'm a Verizon employee, but I have experience in the field. An LTE tower will only extend up to, on a perfect day, with no elevation, 6-7 miles. On a typical day, you will be lucky at four (4) miles. The three ZIP codes you've given are all within about a 12 mile radius. That would mean that 2-3 towers are currently down at the same time, and Verizon would know about it within the hour. Being it's Cleveland, I'm sure they would receive numerous calls regarding an outage of that size.
    My point is that if you're having issues in all three ZIP codes, chances are it's a phone issue. If you're handset is simply not receiving LTE, but still receiving 3G, that would signify a SIM card issue. You need to get your SIM card replaced.

  • Windows 8.0 and Windows 10 technical review installation issues and activation message keeps poping up?

    My Dell Inspiron E1705 had Windows Vista and I could not install the Windows 10 technical review, so I installed my Windows 8.0 and then I could install the Win10 tech review.So I'm reviewing the Win10 and now I keep getting a pop up screen with Windows
    asking to activate so to get ride of the messages popping up every boot up. I am attempting to activate but when I follow the instructions to activate entering the product key from the Windows 8.0 fails. I next select call and provide your installation ID,
    this process is you call in and an automated prompt ask for your installation ID, then it gives you some numbers to enter in groups A thru H, but my screen only shows A thru G?  My concern is that if I don't activate this windows it will stop and thus
    no review of Win10.
    Should I be concerned is activation necessary, Do I re-install Win10 and start over, I feel that I may have inadvertently caused the problem when I did the initial installation it ask if I wanted to keep information from the previous installed Windows 8
    or install clean? If I don't get any other options/solutions I may just do a clean install?
    Thanks in advance for your support.
    /Joe

    Hi Joe,
    So the situation here is you upgrade Windows 8 to Windows 10, and Windows 10 can't be activated?
    There is no need to activate Windows 10 in the Technical Preview period, and if you have issue activating Windows, you may try to run:
    1. Open Administrative command prompt (Windows key+x > A)
    2. Type: SLUI 3
    3. Enter the product key listed on the download site.
    And if you still get the activation issue, please contact Microsoft local license support team for further assistance.
    Get Help Activating Microsoft Windows
    Best regards
    Michael Shao
    TechNet Community Support

  • Issue in receiving custom header in response SOAP message

    Hi,
    I have created a simple BPEL process with custom headers in request and response message.
    I tried to send SOAP message through SOAPUI tool. Service is getting instantiated, able to access the request header and able to send response message. But only body is send as response message. Header is not sent in the response message.
    Also tried to invoke the above service through another BPEL process. I could able to send the header through request but not able to receive the header in response message.
    Pls. throw some light on this..
    Regards
    Jude.

    Hi,
    Input request is working as you mentioned but the output custom headers are not working. When I use bpelx:outputHeaderVariable="varOutManifest" I am getting exception while running the interface. So I used bpelx:outputHeaderVariables="varOutManifest" but I am not getting back the custom header from the partner service to the variable.
    Any hint.
    receive:
    bpelx:headerVariable="varManifest varSecurity"
    reply:
    bpelx:inputHeaderVariable="varOutManifest"
    Invoke:
    bpelx:outputHeaderVariables="varOutManifest"
    bpelx:inputHeaderVariable="varManifest varSecurity"
    Is anything wrong?
    I am on 10.1.3.3.1 MLR # 14. I am getting following exception when I use bpelx:outputHeaderVariable.
    <2009-03-06 17:33:36,840> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "delivery": [com.oracle.bpel.client.ServerException: 1] -> [java.lang.ArrayIndexOutOfBoundsException: 1]
    java.lang.ArrayIndexOutOfBoundsException: 1
         at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:109)
         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:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:451)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:274)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:120)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__callback(BPELInvokeWMP.java:626)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:436)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3703)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1652)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:281)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5689)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1082)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:132)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:161)
         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:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeEngineBean_LocalProxy_4bin6i8.syncCreateAndInvoke(Unknown Source)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:515)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:457)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:131)
         at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
         ... 48 more
    Thanks,
    Arul
    Edited by: user599098 on Mar 6, 2009 2:42 PM

  • How to access SOAP message using JAXP and SOAP class?

    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder b = factory.newDocumentBuilder();
    FileInputStream fr = new FileInputStream(args[1]);
    Document doc = b.parse(fr);
    Envelope msgEnv = Envelope.unmarshall (doc.getDocumentElement()); <---
    the exception raised:
    java.lang.IllegalArgumentException: Root element of a SOAP message must be: 'htt
    p://schemas.xmlsoap.org/soap/envelope/:Envelope'
    And the xml file is:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"...>
    </env:Envelope>

    The problem is that your DocumentBuilderFactory is not set to be namespace aware. If add a call to factory.setNamespaceAware(true) that should fix your problem.

  • What is payload, xi-soap message and xml payload....

    can any 1 explains abt What is payload, xi-soap message and xml payload....

    Hi Shiva,
    see this abstract from messages file:
    "The SOAP header of a message contains all the important information that the Integration Server requires to forward the message, while the payload contains the actual business data (such as <PurchaseOrder> in the example above). <b>You can also append an unlimited number of attachments to the message before it is sent. Attachments typically comprise non-XML data, for example, pictures, text documents, or binary data."</b>
    Check this link for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/b6/0b733cb7d61952e10000000a11405a/content.htm
    Regards,
    Subhasha

  • Receiver Soap Adapter and multipart messages

    Dear SAP XI experts.
    I have a scenario where I should create multipart message in an integration process and send it to a receiver using soap adapter. Is it possible to have two message types, one for main payload and one for attachment?
    In my case I know I have to switch on 'Do Not Use Soap Envelope' and 'Keep Attachments' parameters in communication channel configurations. Anything else needed in this side? For example in Adapter Module configurations?
    Is this scenario: To create multipart message in an integration process and to send it using receiver soap adapter, possible at all?

    Hi,
    >>>>In my case I know I have to switch on 'Do Not Use Soap Envelope' and 'Keep Attachments' parameters in communication channel configurations. Anything else needed in this side? For example in Adapter Module configurations?
    check question:
    My web service expects a SOAP with multiple elements in the SOAP body. How can I create such SOAP message?
    from SAP note: 856597
    and you will know everything
    Regards,
    michal

  • Just installed ios 7 on my 4s, and I have two issues: 1) control centre: the music controls do not work, only the volume adjust slider works; 2) in mail, where do you find the setting to control how many messages you want your inbox to retain?

    Just installed ios 7 on my 4s, and I have two issues: 1) control centre: the music controls do not work, only the volume adjust slider works; 2) in mail, where do you find the setting to control how many messages you want your inbox to retain?

    Same problem here on my 4s: Control center music controls do not work.
    Since this thread has two issues, I'm going to start a new one with only the music control bug. Topic: iOS 7 Control Center Music Controls Not Working On iPhone 4s

  • Need to get SOAP request and SOAP response message.

    Hi All,
    I need to know that how can I get the SOAP request and SOAP response message. Now I am using WSDL2Java tool from Axis to generate the stub classes (such as ServiceLocator, SoapBindingStub, and soapPort ) and applying the classes to make the SOAP request. I have seen the solution for getting the SOAP request with Dynamic invocation interface (DII) style (http://mail-archives.apache.org/mod_mbox/ws-soap-user/200310.mbox/%[email protected]%3e), but not Static stub like what I did. Could anyone suggest me how to do it please ( I can't run tcpcom on the linux server, because x-window is not allowed to install ). Thank you for any help in advance.

    You can try writing a client-side handler.
    Handler gets called before the actual request is sent, and you can get the SOAP
    message in it.
    You have to deploy the handler in client-config.wsdd.
    Handler is just like Servlet Filter.
    I think there might be a simpler solution, but I dont know.

Maybe you are looking for