Multi-part input message problem in webservice Proxy generator

While generating a java proxy for an Oracle Access Manager Identity XML operation I get the following.
Generating proxy
WARNING: ignoring operation "OblixIDXML_um_modifyUser": input message with multiparts is not WS-I compliant and is not currently supported
Proxy generation finished
See wsdl (document\litteral) fragment:
     <message name="OblixIDXMLInput">
          <part name="authentication" element="oblix:authentication"/>
          <part name="request" element="oblixxmllocalschema:request"/>
     </message>
It is poosibel to generate the Proxy when the authentication part is removed from the message.
My question: Are there work arounds for generating a client with Jdev (10.1.3) that can be deployed on SOA suite 10.1.3 (this service call is part of a composite service).
For instance calling proxy generator from command line like a wsdl2java (Axis like) or editing some (generated) source code files after generating the service with one part removed.
Regards,
Bert

While generating a java proxy for an Oracle Access Manager Identity XML operation I get the following.
Generating proxy
WARNING: ignoring operation "OblixIDXML_um_modifyUser": input message with multiparts is not WS-I compliant and is not currently supported
Proxy generation finished
See wsdl (document\litteral) fragment:
     <message name="OblixIDXMLInput">
          <part name="authentication" element="oblix:authentication"/>
          <part name="request" element="oblixxmllocalschema:request"/>
     </message>
It is poosibel to generate the Proxy when the authentication part is removed from the message.
My question: Are there work arounds for generating a client with Jdev (10.1.3) that can be deployed on SOA suite 10.1.3 (this service call is part of a composite service).
For instance calling proxy generator from command line like a wsdl2java (Axis like) or editing some (generated) source code files after generating the service with one part removed.
Regards,
Bert

Similar Messages

  • Defining input message Type for webservice interface with out input

    Hi all,
    I am configuring a scenario RFC -> XI -> Webservice. My sync webservice doesnot need any input. it genrates a random number which needs to be sent back to the RFC. How can i define an input message data type with out any data? As the interface requires both input and output data types in XI?
    I tried a dummy data type with a single string input and didn't map it. but its not working because of name space issues. i specified a seperate XML name space in Message Type but i get a Target URL as the name space in the request which i provided in the SOAP reciever adapter.
    Any help will be appriciated
    Thanks and best regards,
    Kulwant Singh

    Hi
    Can u chk the webservice request using test tools like stylus studio or xml spy and ensure that the same request is going out of XI .
    make sure that you have changed the default xml namesapce in the target MT.
    rgds
    Arun

  • Reliable SOAP messaging problems - weblogic.webservice.saf.StoreForwardException

    Hi Guys,
    I'm playing with the new SOAP reliable message transport in WL 8.1 SP 1.
    I have configured a simple web service, with void return, configured for
    reliable messaging. I deploy the client to the same server as the server
    hosting the webservice, and it uses the async invocation etc.
    It wasn't obvious how to throw the exception in the backend implementation.
    I simply grab the usertransaction
    and call ut.setRollbackOnly(). Hope that's correct..
    Whenever I invoke the operation, I get this:
    weblogic.webservice.saf.StoreForwardException: Could not find MessageData
    header in aknowledgement
    I have a JMS file store setup, and I have it assigned to the server via the
    services/webservice tab, and I do see some activity in the file store.
    My client looks like this:
    AsyncInfo asyncInfo = new AsyncInfo();
    asyncInfo.setReliableDelivery(true);
    FutureResult fr = port.startReliableOperation("hello World", asyncInfo);
    System.err.println("Client: Made invocation, invoking async end now");
    port.endReliableOperation(fr);
    Any ideas?
    Regards,
    Jon
    PS. [As an aside, aknowledgement needs a 'c']
    Client: port.StartReliableOperation()
    --S:In reliable TX operation
    --S:Going to roll back
    --S: Set setRolbackOnly()
    --S: Finished Reliable operation
    Client: Made invocation, invoking async end now
    <26-Aug-2003 18:39:31 o'clock BST> <Info> <WebService> <BEA-220025> <Handler
    web
    logic.webservice.saf.SAFHandler threw an exception from its handleResponse
    metho
    d. The exception was:
    javax.xml.rpc.JAXRPCException: Failed to handle the response.>
    myserver:Info:Handler weblogic.webservice.saf.SAFHandler threw an exception
    from
    its handleResponse method. The exception was:
    javax.xml.rpc.JAXRPCException: Failed to handle the response.
    <26-Aug-2003 18:39:31 o'clock BST> <Info> <WebService> <BEA-220047> <A
    exception
    was thrown from callReceive in the Client Dispatcher.>
    myserver:Info:A exception was thrown from callReceive in the Client
    Dispatcher.
    <26-Aug-2003 18:39:31 o'clock BST> <Info> <WebService> <BEA-220034> <A stack
    tra
    ce associated with message 220047 follows:
    javax.xml.rpc.soap.SOAPFaultException: Exception during processing:
    weblogic.web
    service.saf.StoreForwardException: Could not find MessageData header in
    aknowled
    gement. (see Fault Detail for stacktrace)
    at
    weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.ja
    va:285)
    at
    weblogic.webservice.core.ClientDispatcher.callReceive(ClientDispatche
    r.java:119)
    at
    weblogic.webservice.saf.ConversationAssembler.getResponse(Conversatio
    nAssembler.java:302)
    at
    weblogic.webservice.saf.ConversationAssembler.execute(ConversationAss
    embler.java:536)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >

    Hi Jon,
    I've asked our WS RM guru to comment on your question, but I believe the
    answer is going to be that you can explicitly roll back the transaction,
    however only from the EJB application method, using the
    EJBContext.setRollbackOnly() method.
    Regards,
    Bruce
    Jon Mountjoy wrote:
    >
    Hi Bruce,
    I looked at the example you pointed to, and it does what it says it does.
    However, it doesn't attempt to rollback a transaction, which is what I am
    doing.
    The docs for reliable messaging say:
    " If you want to roll back the transaction from the Java method, use the
    Java Transaction API (JTA) to get the transaction object and then explicitly
    roll back the transaction. "
    They also indicate that the receiver executes in the context of a
    transaction, which you may rollback.
    For example, when the server is down, the transaction doesn't commit. This
    behaviour is tested by your example, and it works.
    However, when I modify your example to roll back the transaction in the web
    service operation backend implementation,
    then it doesn't. It yields the same exception that mine does.
    For example, I modified your MarketService.java as indicated below to grab
    the initial context and then during the operation grab the usertransaction
    and call setRollbackOnly(). This causes WebLogic to throw a
    weblogic.webservice.saf.StoreForwardException.
    Any ideas?
    Regards,
    Jon
    public final class MarketService {
    private static boolean mustThrow = true;
    InitialContext ctx = null;
    public MarketService() {
    try {
    ctx = new InitialContext();
    System.err.println("---InitialContext is set");
    } catch (Exception e) {
    System.err.println("---InitialContext is not set: " + e);
    public void placeOrder(OrderInfo o) {
    System.out.println("[MarketService] placing order: " + o);
    mustThrow = !mustThrow;
    if (mustThrow) {
    System.out.println("--S:Going to roll back");
    UserTransaction ut = null;
    try {
    ut = (UserTransaction) ctx.lookup(
    "javax.transaction.UserTransaction");
    System.out.println("--S: Set setRolbackOnly()");
    ut.setRollbackOnly();
    // <------------------------------------------
    } catch (Exception e) {
    System.err.println("--S: UT transaction error:" + e);
    } else {
    System.out.println("--S: -Not rolling back");
    --S:In reliable TX operation
    --S:Going to roll back
    --S: Set setRolbackOnly()
    --S: Finished Reliable operation
    <29-Aug-2003 15:48:24 o'clock BST> <Info> <WebService> <BEA-220025> <Handler
    weblogic.webservice.saf.SAFHandler threw an
    exception from its handleResponse method. The exception was:
    javax.xml.rpc.JAXRPCException: Failed to handle the response.>
    myserver:Info:Handler weblogic.webservice.saf.SAFHandler threw an exception
    from its handleResponse method. The exceptio
    n was:
    javax.xml.rpc.JAXRPCException: Failed to handle the response.
    <29-Aug-2003 15:48:25 o'clock BST> <Info> <WebService> <BEA-220047> <A
    exception was thrown from callReceive in the Clie
    nt Dispatcher.>
    myserver:Info:A exception was thrown from callReceive in the Client
    Dispatcher.
    <29-Aug-2003 15:48:25 o'clock BST> <Info> <WebService> <BEA-220034> <A stack
    trace associated with message 220047 follow
    s:
    javax.xml.rpc.soap.SOAPFaultException: Exception during processing:
    weblogic.webservice.saf.StoreForwardException: Could
    not find MessageData header in aknowledgement. (see Fault Detail for
    stacktrace)
    at
    weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:285)
    at
    weblogic.webservice.core.ClientDispatcher.callReceive(ClientDispatcher.java:
    119)
    at
    weblogic.webservice.saf.ConversationAssembler.getResponse(ConversationAssemb
    ler.java:302)
    at
    weblogic.webservice.saf.ConversationAssembler.execute(ConversationAssembler.
    java:536)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    myserver:Info:A stack trace associated with message 220047 follows:

  • Call webservice without input message

    Hi.
    I have webservice which doesn't need input message. For example stack cleaner.
    <wsdl:message name="eraseStackRequest">
    </wsdl:message>
    <wsdl:message name="eraseStackResponse">
    <wsdl:part element="impl:result" name="result"/>
    </wsdl:message>
    <wsdl:portType name="Stack">
    <wsdl:operation name="eraseStack">
    <wsdl:input message="impl:eraseStackRequest" name="eraseStackRequest"/>
    <wsdl:output message="impl:eraseStackResponse" name="eraseStackResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="StackSOAPSoapBinding" type="impl:Stack">
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="eraseStack">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="eraseStackRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="eraseStackResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    Is there possibility call this service from BPEL. JDeveloper require input message.
    When I create input variable and assign value to it, I get error.
    Thanks.

    You can try something like this:
    Variables:
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable" messageType="client:BPELProcess1RequestMessage"/>
    <!-- Reference to the message that will be sent back to the requester during callback -->
    <variable name="outputVariable" messageType="client:BPELProcess1ResponseMessage"/>
    </variables>
    Assign:
    <assign name="EmptyAssign">
    <copy>
    <from variable="inputVariable" part="payload" query="/ns1:Balance/ns1:Empty"/>
    <to variable="outputVariable" part="payload" query="/ns1:Balance/ns1:Empty"/>
    </copy>
    </assign>
    The xsd user:
    <?xml version="1.0" encoding="windows-1252"?>
    <schema xmlns:tns="http://xmlns.oracle.com/bpel/samples/Dummy"
    attributeFormDefault="unqualified" elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/bpel/samples/Dummy"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <element name="Empty"/>
    <element name="Balance">
    <complexType>
    <sequence>
         <element name="Empty"/>
    <element name="Message" type="tns:messageType"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="messageType">
    <sequence>
    <element name="subject" type="xsd:string"/>
    <element name="content" type="xsd:string"/>
    <element name="address" type="xsd:string"/>
    </sequence>
    </complexType>
    </schema>
    ]

  • Public Part : Deployable Webservice Proxy DC

    Hi All,
    I have a deployable Webservice Proxy DC, which is used to create webservice proxy. I am using those webservice proxy in my Portal application. May I know what needs to be defined in public part of webservice proxy dc, so that I can use it as used dc in portal DC?
    Best Regards,
    Priyanka

    Hi Anand,
    Thanks for your response. I have already checked that object for null - it is not. The problem is I dont have this SECQANDAImpl class that implements the SECQANDA interface in my DC. This implementation class gets generated when I deploy the deployable proxy object. Though I should be able to cast to the interface, it is throwing this error. Any other ideas?
    Giri.

  • HT1349 Hi all,I have just purchased new iphone but have difficulty in completing the itunes download with message : problem with Windows installer package. A program run as part of the setup did not finish as expected.

    Hi all,I have just purchased new iphone but have difficulty in completing the itunes download with message : problem with Windows installer package. A program run as part of the setup did not finish as expected.
    Would appreciate help...its driving me up the wall!!

    Perhaps let's first try updating your Apple Software Update.
    Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
    If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time?

  • Problem in XML Message creation using ABAP Proxy

    Hi,
    I am trying to send the data from ECC to CRM when post goods issue is done for a delivery from ECC side using ABP Proxy. I called my proxy method in BADI : DELIVERY_PUBLISH.
    And after calling the method, I used commit work also.
    But the problem is, some times it is working fine. and some times the XML messages are not getting created. When I go in debug, looks everything is fine.
    I am unable to understand why this inconsistency.
    Could you please help me out, do I need to take any more precautions.
    Thanks,
    Sandeep

    Hi,
    There is no problem in the proxy. Some small problem in the database update.
    It is solved.
    cheers
    san

  • Sender Proxy - Multiple Message problem

    Hello,
    I have a problem in a proxy process. I have a Sender Proxy which reads a file and sends it to PI. The file is converted into IDocs and sent to SAP ERP. The problem is that my mapping is splitting the file and sending multiple IDocs. So in my mapping I have Split template.
    To the messages default the Messages and Message tags are added. The problem is when I sent my message from Proxy I am not able to add these Messages and Message tags.
    Is there a way to add it? Or is it not possible?
    Thanks.

    >>I am not able to add these Messages and Message tags
    Not very clear about the question.
    As I understand you get extra message tags when you change the occurance of messages in signature tab of message mapping.
    Have a look at the below blog for sending mutliple Idocs.
    I guess, it would eliminate the need of message tags.
    You donu2019t ave to change the occurance in Message Mapping . Just change the IDoc XSD as given in this blog
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

  • Change the default namespace in soap message generated by webservice proxy

    I have a requirement where the default namespace generated by the webservice proxy has to be changed. For example, below is a soap request message generated by the proxy:
    <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"
    xmlns:ns0="http://siebel.com/asi/"
    xmlns:ns1="http://www.siebel.com/xml/getAllSecurityValuesResponse/PS"
    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <env:Header>
    <wsse:Security
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    env:mustUnderstand="1"
    xmlns:xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <wsse:UsernameToken
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:Username>kaoliver</wsse:Username>
    <wsse:Password
    Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">db2</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </env:Header>
    <env:Body>
    <ns0:SearchSecurityServicegetAllSecurityValues_1>
    <Login>kaoliver</Login>
    </ns0:SearchSecurityServicegetAllSecurityValues_1>
    </env:Body>
    </env:Envelope>
    In the above message, I want to change the oasis namespace to a different namespace. Where are the default namespaces defined in the proxy classes generated by Jdev so that I can change them?
    Thanks in advance,
    Warm Regards,
    Shashi Anand B

    >
    If I define a prefix P2L in the expression editor to correspond to "http://foo.com/namespace/business", I'm able to reference the ExecuteResponse element as "./P2L:ExecuteResponse", but then I get stuck.
    If I try use a Rename action to change the namespace for "./P2L:*", only the ExecuteResponse element is renamed to <sof:ExecutResponse xmlns:sof="http://foo.com/namespace/proxy">. Upstream in the calling application, there's an XML stream reader exception because (I assume) ExecuteResult is not found and parsed.
    >
    You pattern "./P2L:\*" matches just one element so it's ok that the payload's namespace wasn't touched. If you want to rename namespace for all elements try "//P2L:*". However, I'm not sure whether this is what you want. Try do describe what you do, what you want and what you get instead.
    >
    I also tried using a Replace action against "./P2L:ExecuteResponse/@xmlns" to replace its contents with "http://foo.com/namespace/proxy". I also tried "./P2L:ExecuteResponse/@P2L:xmlns". Neither worked.
    >
    I think it's not a good approach to replace content of xmlns as this attribute is not a common xml attribute.

  • Processing multi-part messages in Flex

    Hello,
    I'm writing an extension for Photoshop using AS3 and Flex. This extension connects to a HTTP server that replies with an HTTP multi-part response containing images. Is Flex able to decode this response?
    So far I have only been able to see the response as a whole text, but not interact with it without parsing it manually. Is there any other option?
    Thanks a lot,

    There is a property file that contains all default messages. The value is required message takes a parameter � element id.
    You have three ways of handling this:
    1.     If you are using JSF 1.2, in the <h:form> tag use property prependId=�false�. This will stop JSF from generating the long element ids.
    2.     Again, if you are using JSF 1.2, you may use the new property requiredMessage of the <h:inputText> tag.
    3.     Another solution, but not a very good one, is to change the text of the error message as it is defined in the properties file. But this will change the error message text everywhere.

  • Need Help! have an issue from my auto response email, it showing the "MIME This is a multi-part message in MIME format. " and the signature message disappeared.

    ave an issue from my auto response email, it showing the "MIME This is a multi-part message in MIME format. " and the signature message disappeared and replaced with some unreadable message

    Hi msnyder1112,
    Thank you for posting in MSDN forum.
    Since this issue is related to the VB.NET, so we will move this case to VB forum:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral , you will get better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Multi-part form problem (array & session help needed)

    I have a multi-part form that consists of 3 pages(forms) which each save data to the session. When the final form is complete, I insert the session variables to the DB via a FINISH button.
    I now want to take another step. Page 2 of this multi-part form allows users to add "items". Presently, they can add only 1 item, and move the page 3 by hitting a next button. I would like to add a "Add another item" button that goes to the page 2 form again, allowing more items to be entered. I believe I need an array/table to do this, but don't know how I might do this in the session.
    Is it possible to create an array in the session? If so, how? If not, how might I approach this?
    I am trying to avoid inserting to the database (a remote db) until after a "preview" page following the form.
    Any ideas? Thx in advance.

    Hi,
    This forum thread may help you:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=50623
    Thanks,
    Creator Team.

  • Weblogic throwing "null SOAP element Exception" in multi-part SOAP response

    Hi All,
    I'm using weblogic 10. My application is a webservice client generated using '*clientgen*', which is running on weblogic, and
    is invoking a remotely hosted webservice ( Remotely hoseted webservice may not be running on weblogic).
    I've the wsdl file of remotely hosted webservice.
    Now the problem is with WSDL file (I suppose), have a look at this.
    *&lt;message name="m1"&gt;*
    *&lt;part name="body" element="tns:GetCompanyInfo"/&gt;*
    *&lt;/message&gt;*
    *&lt;message name="m2"&gt;*
    *&lt;part name="body" element="tns:GetCompanyInfoResult"/&gt;*
    *&lt;part name="docs" type="xsd:AnyComplexType"/&gt; ------&gt; assume all elements inside this complex type can be nil or minOccurs set to '0'*
    *&lt;part name="logo" type="xsd:AnyOtherComplexType"/&gt; ------&gt; assume all elements inside this complex type can be nil or minOccurs set to '0'*
    *&lt;/message&gt;*
    &lt;portType name="pt1"&gt;
    &lt;operation name="GetCompanyInfo"&gt;
    &lt;input message="m1"/&gt;
    *&lt;output message="m2"/&gt; -----&gt; multi part message.*
    &lt;/operation&gt;
    &lt;/portType&gt;
    Now here is sample message for the request(I've composed this message for this question):
    &lt;soap:Envelope&gt; MESSAGE1
    &lt;soap:header/&gt;
    &lt;soap:body&gt;
    &lt;tns:m2&gt;
    &lt;tns:GetCompanyInfoResult&gt;
    Blah Blah....
    &lt;/tns:GetCompanyInfoResult&gt;
    &lt;tns:docs&gt;
    Blah Blah....
    &lt;/tns:docs&gt; Assume no data for 'logo', so it's not returned. Since all its elements can be nillable.
    &lt;tns:m2&gt;
    &lt;/soap:body&gt;
    &lt;/soap:Envelope&gt;
    First of all, is this SOAP response is valid? I'm not sure about *'message' and 'parts' in SOAP*, but according to XML schema standards it's invalid.
    Because, according to *'message' m2, 'logo' is missing*, eventhough all it's elements are nillable in such case there should be *&lt;logo/&gt;* at the end.
    I mean valid message should be like below
    &lt;soap:Envelope&gt; '*MESSAGE2*'
    &lt;soap:header/&gt;
    &lt;soap:body&gt;
    &lt;tns:m2&gt;
    &lt;tns:GetCompanyInfoResult&gt;
    Blah Blah....
    &lt;/tns:GetCompanyInfoResult&gt;
    &lt;tns:docs&gt;
    Blah Blah....
    &lt;/tns:docs&gt;
    *&lt;tns:logo/&gt; ------------------&gt; here is the change compared to above message. empty element.*
    &lt;tns:m2&gt;
    &lt;/soap:body&gt;
    &lt;/soap:Envelope&gt;
    Now the concerns are :
    (1) Which is a valid response? Message1 or Message2
    (2) If message1 is valid then why is weblogic throwing an exception 'null SOAP element', I suppose this is due to missing 'logo' element.
    (To confirm this I've used tcpmonitor and found message1 as response but weblogic is still throwing 'null SOAP Element' exception,
    which confirms it needs 'logo' as well, I suppose &lt;logo/&gt; at least). Is there any workaround for this in weblogic for multi-part messages?
    (3) If message1 is invalid according to SOAP standards then You've answered my question. ---&gt; I need to talk to the webservice provider in this case.....
    Thanks in advance...

    Message 1 is not Basic Profile 1.1 compliant. It is specified by BP1.1 in section 4.4.1(http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Bindings_and_Parts) that when a wsdl:part element is defined using the type attribute, the serialization of that part in a message is equivalent to an implicit (XML Schema) qualification of a minOccurs attribute with the value "1", a maxOccurs attribute with the value "1" and a nillable attribute with the value "false".

  • Retrieving BPEL callback response using BPEL Locator or webservice proxy

    Hi all,
    I am in the middle of a project delivery and got stuck with a strange situation.I have a BPEL asynchronous process and I have a java class calling this process.I need to get the response from the BPEL process on callback in the java class.In the BPEL locator API I find there is mention of retrieving an instance on the basis of conversation ID,however the same is declared final in the API and can't be assigned any value.I tried generating proxy out of the BPEL wsdl,however when generating proxy in the JDeveloper wizard two seperate operations got exposed(the actual service & the callback service).Hence this option has to be ruled out since maintaining correlation would really be a big problem.Please can anybody help me on what should be the procedure to recieve response from callbacks in BPEL?Please note I am using 10.1.3.1 version of SOA suite.This is really urgent.Any help would be appreciated.
    Thanks.

    WSDL Of the BPEL
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="TestAsynchLocator" targetNamespace="http://xmlns.oracle.com/TestAsynchLocator" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/TestAsynchLocator" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/TestAsynchLocator">
    - <types>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/TestAsynchLocator" schemaLocation="TestAsynchLocator.xsd" />
    </schema>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://CALTP8BB25:8888/orabpel/xmllib/ws-addressing.xsd" />
    </schema>
    </types>
    - <message name="TestAsynchLocatorResponseMessage">
    <part name="payload" element="tns:TestAsynchLocatorProcessResponse" />
    </message>
    - <message name="TestAsynchLocatorRequestMessage">
    <part name="payload" element="tns:TestAsynchLocatorProcessRequest" />
    </message>
    - <message name="WSARelatesToHeader">
    <part name="RelatesTo" element="wsa:RelatesTo" />
    </message>
    - <message name="WSAReplyToHeader">
    <part name="ReplyTo" element="wsa:ReplyTo" />
    </message>
    - <message name="WSAMessageIDHeader">
    <part name="MessageID" element="wsa:MessageID" />
    </message>
    - <portType name="TestAsynchLocatorCallback">
    - <operation name="onResult">
    <input message="tns:TestAsynchLocatorResponseMessage" />
    </operation>
    </portType>
    - <portType name="TestAsynchLocator">
    - <operation name="initiate">
    <input message="tns:TestAsynchLocatorRequestMessage" />
    </operation>
    </portType>
    - <binding name="TestAsynchLocatorCallbackBinding" type="tns:TestAsynchLocatorCallback">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="onResult">
    <soap:operation style="document" soapAction="onResult" />
    - <input>
    <soap:header message="tns:WSARelatesToHeader" part="RelatesTo" use="literal" encodingStyle="" />
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <binding name="TestAsynchLocatorBinding" type="tns:TestAsynchLocator">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="initiate">
    <soap:operation style="document" soapAction="initiate" />
    - <input>
    <soap:header message="tns:WSAReplyToHeader" part="ReplyTo" use="literal" encodingStyle="" />
    <soap:header message="tns:WSAMessageIDHeader" part="MessageID" use="literal" encodingStyle="" />
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <service name="TestAsynchLocator">
    - <port name="TestAsynchLocatorPort" binding="tns:TestAsynchLocatorBinding">
    <soap:address location="http://CALTP8BB25:8888/orabpel/default/TestAsynchLocator/1.0" />
    </port>
    </service>
    - <service name="TestAsynchLocatorCallbackService">
    - <port name="TestAsynchLocatorCallbackPort" binding="tns:TestAsynchLocatorCallbackBinding">
    <soap:address location="http://set.by.caller" />
    </port>
    </service>
    - <plnk:partnerLinkType name="TestAsynchLocator">
    - <plnk:role name="TestAsynchLocatorProvider">
    <plnk:portType name="tns:TestAsynchLocator" />
    </plnk:role>
    - <plnk:role name="TestAsynchLocatorRequester">
    <plnk:portType name="tns:TestAsynchLocatorCallback" />
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    WSDL of the Webservice
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns0="http://callbackresponsewebservice/types/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://callbackresponsewebservice/" name="MyWebService1" targetNamespace="http://callbackresponsewebservice/">
    - <types>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://callbackresponsewebservice/types/" targetNamespace="http://callbackresponsewebservice/types/" elementFormDefault="qualified">
    - <element name="holdResponseElement">
    - <complexType>
    - <sequence>
    <element name="String_1" type="string" nillable="true" />
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    - <message name="MyWebService1_holdResponse">
    <part name="parameters" element="tns0:holdResponseElement" />
    </message>
    - <portType name="MyWebService1">
    - <operation name="holdResponse">
    <input message="tns:MyWebService1_holdResponse" />
    </operation>
    </portType>
    - <binding name="MyWebService1SoapHttp" type="tns:MyWebService1">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="holdResponse">
    <soap:operation soapAction="http://callbackresponsewebservice//holdResponse" />
    - <input>
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <service name="MyWebService1">
    - <port name="MyWebService1SoapHttpPort" binding="tns:MyWebService1SoapHttp">
    <soap:address location="http://caltp8bb25:8888/TestApplication1-CallBackResponseWebService-context-root/MyWebService1SoapHttpPort" />
    </port>
    </service>
    </definitions>
    Audit Console Data
    <process>
    <sequence>
    receiveInput
    [2008/06/04 15:27:37] Received "inputVariable" call from partner "client"less
    View xml document
    <TestAsynchLocatorProcessRequest xmlns="http://xmlns.oracle.com/TestAsynchLocator">
    <input>Soumyajit</input>
    </TestAsynchLocatorProcessRequest
    Assign_1
    [2008/06/04 15:27:37] Updated variable "outputVariable"less
    -<outputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
    -<TestAsynchLocatorProcessResponse xmlns="http://xmlns.oracle.com/TestAsynchLocator">
    <result>HelloSoumyajit
    </result>
    </TestAsynchLocatorProcessResponse>
    </part>
    </outputVariable>
    callbackClient (faulted)
    [2008/06/04 15:27:37] Faulted while invoking operation "onResult" on provider "client".less
    -<messages>
    -<input>
    -<outputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
    -<TestAsynchLocatorProcessResponse xmlns="http://xmlns.oracle.com/TestAsynchLocator">
    <result>HelloSoumyajit
    </result>
    </TestAsynchLocatorProcessResponse>
    </part>
    </outputVariable>
    </input>
    -<fault>
    -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message transmission failure, response code: 500
    </summary>
    </part>
    </remoteFault>
    </fault>
    </messages>
    [2008/06/04 15:27:37] "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown.less
    -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message transmission failure, response code: 500
    </summary>
    </part>
    </remoteFault>
    </sequence>
    [2008/06/04 15:27:37] "BPELFault" has not been caught by a catch block.
    [2008/06/04 15:27:37] BPEL process instance "390006" cancelled
    </process>

  • Is there a workaround for wsdl with multi-part porttype with ESB?

    I am trying to implement a simple connection to a service with ESB, and have been successful in trials with several other products, but when I try to use the SOA adapter with ESB I get the following message.
    "The selected porttype is using a message that is invalid for ESB because it is multi-part or has a simple type. The message getTransactionsByRegistrationIdRequest in operation getTransactionsByRegistrationIdRequest of prottype QueryTransactionsWebService is invalid. Please select another porttype of fix the wsdl."
    Is there a work around for this?
    We would like to use ESB since we are licensed, but continue to have problems.
    Any help would be appreciated.

    This works out of box in 11 but as a 10.1.3 workaround, You can write a java web service to proxy the multipart service and expose a regular doc literal service wsdl to ESB. This shouldn't be too much work for an experienced java/web service programmer. We are going to enable multipart for a pass through (no filters or xsl) service in 10.1.3.4. Let me know what path you choose.

Maybe you are looking for

  • Delivery is created even if there is no stocks

    Hello All, Pl find the issue as follows. In our tranship process, a sales order for a variant config material is placed on a distribution warehouse.  This creates a stock transport order to be placed on the production plant to produce and send the pr

  • OPENING BALANCE IN ANNEXURE10

    Hi Experts, In my RG23A AND RG23C ANNEXURE10 report opening balance is not coming. Herewith i am sending the code of the report. Kindly do the needful. Regards, Shankar CODING: REPORT YMS_ANNEXURE10NEW NO STANDARD PAGE HEADING LINE-SIZE 255          

  • Form Problem

    Hello everyone. I just got flex and I'm having fun playing around with it. I was wondering How could I make a form to submit what the user put in it to an e-mail. I'll show you an example what I mean. The Form

  • VERIZON - What's keeping the Bootloader from being unlocked.

    I speak for a growing mass of consumers concerned over the Bootloader still being locked for the RAZR I purchased my RAZR under the impression that it'd be unlocked by the end of 2011..."where operator and channel partners will allow it." - as told b

  • X64 distribution not working

    I made a setup of an x64 application and installed it on another pc (Windows 7 x64), but it isn´t working. It can´t start and Windows gives me the error code 0xC000007B. The Problem is that there was already an x86 installation of the cvi runtime and