How to define message without parts in WSDL?

Hi all,
I don't know if it is possible, but I would like to create a message without defining part/type.
Really what I want to accomplish is to avoid the part definition below in my .wsdl file.
<message name="RCMR_IN000002NR01Input">
<part name="param0" type="xsd:string"/>
</message>
<message name="RCMR_IN000002NR01Output">
<part name="param0" type="xsd:string"/>
</message>
So I would like to something akind to
<message name="RCMR_IN000002NR01Input">
</message>
<message name="RCMR_IN000002NR01Output">
</message>
I try to assign a string to RCMR_IN000002NR01Input (I am using rpc literal). At the moment the partnerlink receiving my message gets confused by the param0 part of the XML.
I hope that description of my issue was not to cryptic to be understandable. Please feel free to ask clarifying questions.
Any help is appreciated.
Regards,
Aagaard
Edited by: Aagaard on Oct 8, 2008 8:42 AM
Maybe I should try to elaborate on my use case.
I pick up a SOAP message from a JMS queue (well, topic really). The message is a domain specific type. I get the content of the message as a string and assign it to a variable with a param0 of type string.
I then use the contains function to determine which partnerlink to invoke for a given message.
The invokation is succesful seen from BPEL.
However, the receiving systems receives my message including the original SOAP envelope - AND including a new BPEL generated SOAP envelope :-(
This is addition to the following code which was the concern of my original post:
<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="param0">
<param0 xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
So anybody have any ideas as to how to get rid of unnecessary SOAP envelope and that irritating param0?

Hi again,
Srin, you were right. I did have a namespace issue. Getting that resolved however, introduced a new error.
My BPEL process invokes the remote partner, delivers the payload, the remote partner sends back a meaningful response, but no BPEL instance is shown in the BPEL console.
In the <oracle home>/opmn/logs I find the following errors:
ORABPEL-05002
Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: Exception not handled by the Collaxa Cube system.
An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "java.lang.NullPointerException
And
Exception: java.lang.NullPointerException
Handled As: com.collaxa.cube.CubeException
+] -> [java.lang.NullPointerException: null]+
ORABPEL-00000
Exception not handled by the Collaxa Cube system.
An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "java.lang.NullPointerException
This seems strange to me. It seems that even if the meaningfull answer from the partner link is lost enroute I should still get a response in BPEL (maybe just null). My next step will be to try and set up a TCP Monitor between the partnerlink server and the BPEL server.
Any thoughts, hints, ideas and solutions are very welcome.
Will report on progress
Regard,
Aagaard
Edited by: Aagaard on Oct 10, 2008 10:18 AM
Update:
My current thinking is that I have a problem with my message types. The problem is definitely in the way BPEL handles the response from the partnerlink. The nullpointer exception may suggest that I am trying to assign the return payload to an incompatible type. I don't know if it could be an issue if the partnerlink response is some specific type while I excpect a string?
Anyway here's what my wsdl looks like now:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="RCMR_AR000002NR01"
targetNamespace="http://com.scandihealth.ccs.webservices.messaging.common/CCSMessageServiceRemote.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://com.scandihealth.ccs.webservices.messaging.common/CCSMessageServiceRemote.wsdl"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" >
<documentation>
WSDL for Service: CCSMessageServiceRemote, generated by Oracle WSDL toolkit (version: 1.1)
</documentation>
<types>
<schema targetNamespace="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://com.scandihealth.ccs.webservices.messaging.common/CCSMessageServiceRemote.xsd" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<element name="msgInputOutput" type="xsd:string"/>
</schema>
</types>
<message name="RCMR_IN000002NR01InputOutput">
<part name="param0" element="msgInputOutput"/>
</message>
<portType name="CCSMessageServiceRemotePortType">
<operation name="RCMR_IN000002NR01">
<input message="tns:RCMR_IN000002NR01InputOutput"/>
<output message="tns:RCMR_IN000002NR01InputOutput"/>
</operation>
</portType>
<binding name="CCSMessageServiceRemoteBinding" type="tns:CCSMessageServiceRemotePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
<operation name="RCMR_IN000002NR01">
<soap:operation soapAction="urn:com-scandihealth-ccs-webservices-messaging-common-CCSMessageServiceRemote/RCMR_IN000002NR01"/>
<input>
<soap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/literal/" namespace="urn:com-scandihealth-ccs-webservices-messaging-common-CCSMessageServiceRemote" />
</input>
<output>
<soap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/literal/" namespace="urn:com-scandihealth-ccs-webservices-messaging-common-CCSMessageServiceRemote"/>
</output>
</operation>
</binding>
<service name="CCSMessageServiceRemote">
<port name="CCSMessageServiceRemotePort" binding="tns:CCSMessageServiceRemoteBinding">
<soap:address location="http://.../HL7Receive_servlet_WS/WS"/>
</port>
</service>
</definitions>
My assignment / invokation looks like this:
<assign name="CreateInputParamGenerateMessage">
<copy>
<from variable="getContentAsString"/>
<to variable="RCMR_IN000002NR01Input" part="param0"/>
</copy>
</assign>
<invoke name="InsertOperation"
partnerLink="RCMR_AR000002NR01"
portType="ns6:CCSMessageServiceRemotePortType"
operation="RCMR_IN000002NR01"
inputVariable="RCMR_IN000002NR01Input"
outputVariable="RCMR_IN000002NR01Output"/>

Similar Messages

  • How to split messages without using Message split (BPM)

    In file to file scenario how to split messages coming from file without using Message split (BPM)

    Thank you very much.

  • How print email message without reading pane/folders list.

    I am having trouble printing email and other web files without printing also the reading page.  I have tried saving the message to my desktop, but it doesn't seem to solve the problem because it is saved as a web file or HTML file.  This just started happening when I got my new Canon 922 which otherwise works great.

    Hi tkmphoenix!
    To have a better understanding of your issue, please let everyone know what operating system (Windows Vista/7/8 or Mac OS 10.X) you have and what internet browser (Internet Explorer, Firefox, Chrome) you are using. That way, community will be able to assist you with suggestions appropriate for your product.
    If this is an urgent support need, please CLICK HERE to reach our friendly Technical Support Team.

  • How to erase messages without my ipod

    I need to erase messages on my ipod, but i do not have my ipod. is there a website i can go on to delete them?

    Only if you have another iOS device or a later Mac computer with Messages. There is no web access to the Messages.
    Also, if yo can even do that they will not delete them fro the iPod unless it gets connected to the internet and I am not clear that that will even delete them

  • How to define logic to BO for display of more meaningful messages in Webi?

    Hi All.
    Greetings for the Festive Season.
    We would like to know as to how to define the logic to our BO application while displaying messages to end users of Web Intelligence.
    We have defined restrictions for various users and restrictions are appliced correctly when the user logs in.
    We have some MIS REPORTS in Web Inetlligence with different charts and we have also given links to various other web intelligence reports at the bottom for users to click and view or do analysis.
    And if any user if he/ or she is not authorised to view any / or part of the report - it does not show up.
    Which works well.
    But if some user is not part of any group and is not authorised to view data in a particular report, then we see a standard message coming in like :
    "No Data to retrieve in Query1"   or    "No Data to retrieve in ABC".
    Which one could say is correct.  Because for that particular user, the query has NO data.
    But. We feel there has to be a logic to be defined differently with the applicaton.
    How do we differentiate - as to whether the query does not really have data at the back end and HENCE it is saying No data to retrieve in the Query or report
    OR whether the user who is trying to view report is NOT authorised to view  
    AND HENCE the message is displayed as "No Data to Retrieve"
    We looked at the source file and it is pointing to :../AnalyticalReporting/viewers/cdz_adv/ViewDocument.jsp?
    But we found it a bit difficult to understand the logic there.
    Could anyone advise as to how we could define this logic for Web Intelligence - so that messages we see on screen for the end user could be more meaningful ? How do we really make the system understand or look for 2 options as to whether the message to be displayed is because there is REALLY NO DATA AT THE DATABASE LEVEL, OR whether the USER is not authorised to view this data.
    Can this be made possible by any means or thro SDK ?
    Many thanks
    Regards
    Indu
    Edited by: Indumathy Narayanan on Dec 21, 2010 9:50 AM
    Edited by: Indumathy Narayanan on Dec 21, 2010 9:51 AM
    Edited by: Indumathy Narayanan on Dec 21, 2010 9:54 AM

    Here is my current report detail view.
    [http://s49.photobucket.com/albums/f270/helenen/add/?action=view&current=2010-06-2511-44-20.png]
    (click on link and view at 100%)
    The 3 rd KF column is the calculated ratio which is =>  2nd Column (Work Hrs) A% 1st column (PlanHrs)
    Right now, I cann't get % at detail line (they're now shown as X, because PlanHrs is not null at detail line.
    I'd like those X should be calculated as =>  WorkHrs (at that line) A% PlanHrs (of that specific employee) .
    For example: 16 A% 1827 = 0.875%
    It seems soo eassy but I coulnd't do it.

  • How to define JMS-Adapter WSDL?

    Is there somewhere a short guide on how to define a WSDL für accessing
    a JMS queue through an JMS adapter?
    How do I have to define the XSD for the payload of a JMS message?
    Peter

    Srini,
    the URL format u need to give while creating webservice is ....
    <b>http://url:port/XISOAPAdapter/MessageServlet?channel=:service:channel</b>
    here
    service= <b>sender business ser</b>vice /<b>business system</b> whatever u have used.
    channel= sender communication channel
    for example
    <b>http://xyz.com:59600/XISOAPAdapter/MessageServlet?channel=:BS100:Sender_SOAP</b>
    BS100= sender business system
    SEnder_SOAP = sender communication channel
    hope u r clear now!!!!
    regrads
    biplab
    Use a Good Subject Line, One Question Per Posting - Award Points

  • I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up und one account.

    I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up under one account.

    You can have a different receiving email in the Messages app on each device : Settings > Messages > Receive At . I'm not sure that there is a different way to have the message only go to one device.

  • How can I paste a part of a sheet from Numbers in Pages as text, without the formulas.The reason I need this (and was used to in Office) so that I have the freedom to delete something in one cell (in pages document) without causing changes.

    How can I paste a part of a sheet that I copied in Numers in a pages document without the formulas, simply as text. Used this a lot in Office. When I make some changes in the pages document. f.i. deleting a cell, I don't want to change other cells. Also when I copy a part of a sheet from Numbers and one of the cells that is part of the formula is not also copied, when I paste in Pages it shows as an error.
    Hope that You can me help with this.

    Leon,
    There are two solutions to the first question, narrowing to one solution when you have a broken link causing an error.
    Here's the "works always" solution.
    Copy (Command-C) the table or range in Numbers
    Click off the table on the blank canvas of the sheet.
    Edit > Paste Values
    Command-C
    Switch to Pages
    Command-V
    Regards,
    Jerry

  • How to get custom defined messages in WAD

    Hi
    can you please help me how to get customized error messages in WAD.
    While I'm executing in RSRT the customer exit variable throws error message saying that 'No Sales orders exist for this Sold_To Party' but when I execute same query using Bex WAD, then no error message throwing for me for given sold_to party. I tried with all options as given in below code, but WAD gives me system error that "No values found for the customer exit variable 'Zxxxx'. Please help me in this regard. Should I do any settings in WAD to get custom defined messages. Kindly let me know
    my code is as below
    I_STEP = 2.
    CASE i_vnam.
    WHEN 'Custome exit variable'.
    IF sy-subrc = 0.
    ELSE.
                   MESSAGE e060(/bmc/bw).  "No Authorization exist
                    g_errflag1 = 'X'.
                   exit.
                   CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                      EXPORTING
                        i_class  = '/bmc/bw'
                        i_type   = c_e                                    "'E'
                        i_number = '061'
                        i_msgv2  = l_msgv2.
                         RAISE NO_REPLACEMENT.
                    l_s_range-low = g_soldto.
              l_s_range-sign = c_sign_i.
              l_s_range-opt  = c_range_opt_eq.
              APPEND l_s_range TO e_t_range.
    ENDIF.
    I_STEP = 3.
      READ TABLE i_t_var_range INTO w_s_var_range
                  WITH KEY vnam = 'customer exit variabel'.
      IF sy-subrc = 0.
    Check the flag and throw message 'No Sales orders'.
        IF g_errflag1 = 'X'.
          l_msgv1     = 'No Sales orders'.
    Call the FM to populate message
          CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
            EXPORTING
              i_class  = c_r9
              i_type   = c_e                                    "'E'
              i_number = c_000
              i_msgv1  = l_msgv1
            EXCEPTIONS
              dummy    = 0
              OTHERS   = 0.
         CALL FUNCTION 'RRMS_MESSAGES_SHOW'.
         CALL FUNCTION 'RRMS_MESSAGES_DELETE'.
          RAISE NO_REPLACEMENT..
        ENDIF.
    Thanks & Regards
    silu

    Hi
    Custom Messages WAD

  • I had iPhoto as part of iLife 11. I recently did an erase and install on my Macbook Air and without a CD drive I'm unable to reinstall. How can I install without having to repurchase all of the apps?

    I had iPhoto as part of iLife 11. I recently did an erase and install on my Macbook Air and without a CD drive I'm unable to reinstall. How can I install without having to repurchase all of the apps?

    Do you have access to another Mac with a disk drive?  If so you can do it in one of two ways:
    1 - on the Mac with the optical drive launch Disk Utility and make a disk image of the iLife 11 disk. Connect the two Macs together and transfer the disk image to your MacBook Air.  Mount the disk image and install from it.  I have my iLife disks saved that way for quick and easy reinstall when necessary.
    2 - connect the two Mac together so you can access the MBA from the Mac with the disk drive. Insert the iLife disk, and install from the second Mac to the MBA.

  • HT4623 How to update software without wi-fi? It shows message that first connect to wi-fi then update even if I have 3G net on my phone i5.

    How to update software without wi-fi? It shows message that first connect to wi-fi then update even if I have 3G net on my phone i5.

    Hi Parmkshinde,
    Here's why you should use Wifi to do a wireless software update:
    While you'd be able to download an update over 3G/4G, the updates are so big that you'll be waiting a really long time (also, you'll eat up a ton of your monthly wireless data), so Wi-Fi is much easier here. You should also make sure you've got plenty of battery life. The download and installation process can take some time, so if you've got less then 50% battery, you may want to plug in to a power source.
    Hope this answers your question!
    Cheers,
    GB

  • How to define Is message worked up by receiver?

    I see OK in message monitoring. But JDBC receiver does't insert data. AdapterMonitoring showws only last status - it doesn't help.
    How to define Is message worked up correctly by receiver?  There is EAI pattern - Invalid Message Chanel. How to implement it?

    Hi <b>Sergey</b>!!
              There are basically two catches while configuring the reciever JDBC adapater.
    1) Are you using the correct Driver Class and connection URL.
    2) Are you using the correct data format as there is a specific pattern prescribed while configuring JDBC reciever adapter.
    3) Are you using correct conventions while naming the Message types etc.
    Please check this things.
    Here is the prescribed format.
    User_DB_MT
    ..........Statement
    .............Users
    ...............action
    ...............access
    ..................role
    ...............Key
    .................key1
    ..................key2
    Cheers!!
    AnuraG

  • How to retrieve main message without Headers

    Hi,
    I am doing email application. In that, I can send mail successfully
    with encrypt format.
    but my problem is when i want to decrypt that mail while reading
    it gives me error : unknown block type
    So plz can anyone tell me how to retrieve the main text(encrypted) message without header.
    plz tell me how to do that
    regards
    Shilpa

    Yes a BPM is required.  The scenario is as follows:
    Receive IDOC from R/3
    Transformation using JAVA class mapping program
    Switch statement evaluating target structure from JAVA class
                   If supporting data required in other system – Transformation using another JAVA class
                   If supporting data required but not available - end process
                   If no supporting data required continue
    Switch statement to route output document
    Evaluate Target Structure of JAVA class 1 to determine the type of output
    .     If email – Transformation step to form email for email adapter
         If Industry Standard output - Transformation step that uses another JAVA class
         Evaluate output from JAVA class 1 to determine vendor
         route to appropriate vendor through JAVA class 3 - this module takes the IDOC as input and outputs the industry standard document that will be routed to customer
    Send Step – send document or email
    Within each of our JAVA mapping programs we do additional processing by updating the database and writing to log files.  Since there is a significant amount of work being done in the JAVA modules we have the "create new instance" checked in the transformation steps that are using JAVA mapping programs.  Eventually this will be unchecked but for now we need it for development.  We want to capture the message id of the outbound Industry standard document that is being routed to the customers.

  • How can i get copied to my 14 year-old daughter's text messages without her knowledge?

    how can i get copied to my 14 year-old daughter's text messages without her knowledge?

    Unless the cell carrier would provide such a service, which if they do would only be available to you if you are the owner of her cell account, then it's not possible without hacking the iPhone, something we cannot discuss here. And if she has the account in her name, then as SeaBeast suggested such hacking may well be illegal. Even 14-year-olds have privacy rights. You would have to discuss that with a lawyer, though.
    Regards.

  • Iphone 5 sending messages without my knowledge. How can I stop this?

    Iphone 5 is sending messages without my knowledge to numbers that I don't recognize. How do I stop this?

    If you are using the phone on a carrier that doesn't officially support iPhones, the phone will send SMS messages to an activation number. If that's the case, your option is to turn off iMessage.

Maybe you are looking for