Binding XMPP Messages to POJOs

Hey,
I am developing a application which depends on the XMPP protocol and I would like to bind the XML data to POJOs. I have tried out Castor, EclipseLink Moxy and Sun's JaxB implementation but none of them will cater for XMPP. It would seam that all the XML Binders follow the W3C XML specification, while the XMPP protocol doesn't.
<stream:stream xmlns:stream="http://etherx.jabber.org/streams"
           id="4AF04784" xmlns="jabber:client" from="shigeoka.com" />The main problem is down to the namespaces. For instance the above example uses two xmlns attributes. So my question is simple, is there a binder which can provide this functionality, or shall I write a simple version which doesn't follow the specification?
Best Regards,
Mark
Edited by: smokee on Nov 3, 2009 7:15 AM

Binders follow the W3C XML specification, while the XMPP protocol doesn't.That would seem to be valid XML to me. So what do you mean it doesn't follow that specification?

Similar Messages

  • Intrroduce support Message driven POJO to messaging service

    Spring offers a solution Message Driven POJO for asynchronous reception of messages.It acts as message receiver like Message Driven Bean but it does not attach you to EJB container.
    It also allows you to take advantage of Dependency Injection.
    Could any one guide me how I will design Messaging service which will
    take support of message driven POJO implementing a Business interface ?

    Thanks a ton for active reply.
    message reception with MessageListenerAdapter is fine.
    I am encounter problem after this message reception..i.e message processing
    But as I am framework developer,not a application developer.I can't do
    the actual implementation of message processing.It will be done by application
    developer.So I need to build sub class object of message processor
    depending data provided with message by application developer.
    Here is the right challenge.
    how can i design message processing infrustructure.
    Any help will be highly apprecited.

  • Binding error message will not go away

    I am getting this message:
    Scene 1, Binding between <unknown>.. and
    <unknown>.results.menu.publishers.menu-item: The endpoint of
    the binding does not exist
    I have removed the xml component and the combo to which it
    was bound, yet I still get the message. It doesn't seem to hurt the
    functionality of the application when these message remain, but it
    is frustrating.
    I have seen this question asked several times on the web, but
    the only answer I have seen is to remove every component in an
    application. This is impractical. There must be another way!
    Any thoughts?
    Thanks.

    Kathy-
    Have you found a solution? I've had the same experience!
    I'd appreciate your sharing anything you've come up with.
    Thanx,
    DAK

  • Bind message type and process code

    Hi everyone,
    I want to bind one message type with two procee code,How can I do this?Thanks in advance!
    Best Regars,
    Yu

    Hi ,
          goto to transaction we41 if outbound process code ,go to respective process code or create ur own process code and add message type .
    goto to transaction we42 if inbound process code ,go to respective process code or create ur own process code and add message type .
    But when you add this message type in the partner profile or distribution model then i think it will give an option.
    Please reward if useful.

  • Can a message type bind two process codes?

    Hi Experts,
    When I maintain the Partner Profile, I add a message type (ZQM1) as Inbound Parameters. Here I bind a message type ( ZQM1 ) with a process code ( ZQE11 ).
    But Now I want to bind a another process code ( ZQE51 ) with this message type ( ZQM1 ).
    Is this possible? Many thanks.

    Kenneth,
      You  Con't
       See logic
    1. Process code is being assigned to One Function Module (OR ) Program.
        When you assign process code to particular message type  based on your
        changes in Application this Program will get invoked.If  you assign two
        process codes system will get confused to select the program . 
    2. You can Assign one  IDOC TYPE  to 2 message Types.  con't   1message
          type  to 2 IDOC  types.
    Pls. reward if useful

  • Need advice on HTTP Binding

    Hello, somebody out there who tried to connect to let's say OpenFire server from J2ME using HTTP Connection? I am having problems with my application right now when I installed in real device. My problem is quite similar to this: http://www.igniterealtime.org/community/message/122769.
    Need some advice on how to make http binding work in j2me.

    My application is basically an IM service, implemented using xmpp/jabber. When I test through the emulator, the sending of presence and exchanging of messages to/from another jabber client via Openfire server (an xmpp server) seem to work fine. But when I installed in my phone, I cannot connect on my xmpp server. From reading other forums, it must be that the port i am using which is 5222, is being blocked by the network provider. I found this http binding technique which is a possible solution but have no idea on how to make it work with j2me, [xmpp over bosh|http://www.xmpp.org/extensions/xep-0124.html]. The idea is, I want my j2me app to connect to a java servlet implementing HTTP Binding (put my XMPP messages in the body of http if this is how it works) then route my XMPP messages to the Openfire server.
    Anyone who has tried this?

  • Concurrent (async, queue) Message processing - design issue

    Hi,
    The question pertains to the following scenario:
    1. A single input gateway (queue) for messages.
    2. Messages arriving from different systems. High incidence (>30 within a
    min) during specific periods
    3. Message should be processed in near real-time as and when it arrives.
    4. A non-polling (async) client.
    I'd thought of two diff approaches for it:
    1> Have a lightweight single-threaded message consumer -
    init connection etc and register a listener (both msg and excep).
    start connection . wait indefinitely
    Listener onMessage creates new thread for working and returns.
    Worker thread - parses xml in message and updates database
    2>Have a single main-thread with sub-threads
    Each sub-thread has own session and consumer and listener instance
    processing of messages is done in sub-thread itself.
    Which approach would be better suited ? Is there any other approach (
    (which of the above goes easy on resources, which is faster)
    Thanks in advance.
    Anshu.

    It depends on how concurrent you want to be.
    If you want to process the messages in order in a single thread; use 1 connection, session, consumer, thread.
    However one of the main reasons for using queues is they provide load balancing across processes or threads. If you want some parallelisation, use 1 connection but many sessions & consumers (1 consumer per session) which will each have its own thread.
    For ultimate performance & pooling of connections, sessions, threads as well as the MessageListener POJOs together with exception handling & transaction management use something like Message Driven POJOs...
    http://jencks.org/Message+Driven+POJOs
    Though if you are talking about 30-60 messages a minute, unless it takes you 1 second to process 1 message, those are very low throughput rates, so probably 1 single thread could do it :)
    James
    http://logicblaze.com/

  • Regarding message level authentication in WSDL

    Hi,
    We developed scenario like below.
    There is a consumer webservice interface which we developed through proxy class.
    When we created the binding, selected 'Message level authentication' with 'Username and password' option.
    But in the XML I couldn't see any tags asking for user name and password.
    The requirement is to take the credentials through message header.
    My queries are:
    How do I edit the <sp:WssUsernameToken10 /> in XML to input username and password?
    I tried to research and found out that IF_WSPROTOCOL_WS_HEADER can be used here but dont know where to call this in my code.
    Also how this will validate the user name and password?
    Or is there any other way to include username and password in the XML?
    Please help as this is causing so much issues.

    >
    Anitha SAP wrote:
    > Hi Rajesh,
    >
    >       I have to use only FTPS. Because my client is suggesting that only. Isn't possible using FTPS ?
    > And Tell me The Difference Between FTPS for Control Connection and FTPS and Control and Data Connection .
    > Neccesity of Public key certificate from FTP Sever?
    >
    > Thanks.
    > Anitha.
    PI supports FTPS. you can use the File adapter for the same.
    The basic difference when we talk about FTPS for Control Connection* and FTPS and Control and Data Connection is that in case of FTPS and Control and Data Connection, you data is also encrypted. Else the connection is secure but the data level encryption will not be active
    FTPS works with Certificates and hence the need for the same

  • How to create Messages with Value Bindging

    Hello,
    i have an custom component and want to show all message for this component:
    <h:column>
    <t:messages binding="#{FolgeterminMessages.messages}" globalOnly="false"></t:messages>
                                                                          <co:note noteManager="#{performanceGesp.folgeGespraech}"
                                                                               noteClient="#{performanceGesp.noticeClient}">
                                                                          </co:note>
                                                                     </h:column>

    To Create messages in message bundles with parameters, perform the steps as given below
    Scenario: To Create a message as "Department Name XXXXXXX is already existing "
    Step#1: For the given entity object “DepartmentEO”, Go to “overview” tab and click “Business Rules” finger tab.
    Step#2: Select “Entity Validators” in the list & click “+” to add a new entity level validation rule.
    Step#3: Now go to “Failure Handling” tab, and click the Magnifier Icon.
    Step#4: Now in the “Display Value” field, enter the message with flower-braces as below.
    Department Name {department_name} is already existing
    Step#5: Also modify the Key & Description fields as needed. And click “Save and Select” button.
    Step#6: Now go to “Token Message Expressions” section, double-click the Expression field corresponding to "department_name" & give the relevant Attribute names say "DepartmentName"
    Step#7: Now click “OK”.

  • Wsdl: The operation has no matching binding

    I am trying to create the proxy class from the wsdl using .net wsdl tool.
    But it gives me the following errors.
    Error: Unable to import binding 'CPConfigBinding' from namespace 'http://xxxx'.
    - The operation 'editCPConfig' on portType 'CPConfig' from namespace 'http://' had the following syntax error: The operation has no matching binding. Check if the operation, input and output names in the Binding section match with the corresponding names in the PortType section.
    I have already check all the names many times. They are the same in the portType, binding and message. I have checked the internet for days without any solution.
    Could someone please lend a helping hand!!
    Thank you very much.

    I would like to provide more information.
    After some checking, I think this wsdl is Java based web services. I am unable to create classes successfully using the .Net wsdl tool. I dun know why?
    Hope to get any help from here. Thanks alot!!
    Have a good holiday!!

  • ESB: WSIF HTTP Binding support

    Hi,
    Is there a way to perform HTTP POST/GET a non-SOAP XML message from ESB? I know BPEL supports this via WSIF HTTP binding. Looking for a way to do the same in ESB.
    Thanks in advance.
    Regards,
    Rajesh
    Message was edited by:
    Rajesh

    I tested the WSIF HTTP provider from ESB using following binding and port definitions. My test case involves simple ESB RS forwarding the request to SOAP service configured using WSIF HTTP binding.
    <message name="orderRequest_request">
    <part name="orderRequest" element="inp1:orderRequest"/>
    </message>
    <portType name="execute_ppt">
    <operation name="execute">
    <input message="tns:orderRequest_request"/>
    <output message="tns:orderRequest_request"/>
    </operation>
    </portType>
    <binding name="OrderRequestHTTPPost_binding" type="tns:execute_ppt">
    <http:binding verb="POST"/>
    <operation name="execute">
    <http:operation location="/execute"/>
    <input>
    <mime:mimeXml part="orderRequest"/>
    <mime:content type="text/xml"/>
    </input>
    <output>
    <mime:mimeXml part="orderRequest"/>
    <mime:content type="text/xml"/>
    </output>
    </operation>
    </binding>
    <service name="OrderRequestHTTPPostService">
    <port binding="tns:OrderRequestHTTPPost_binding" name="OrderRequestHTTPPost_port">
    <http:address location="http://<host>:<port>/testPost/httppostservlet"/>
    </port>
    </service>
    When I run this I am getting the following exception. I tested the same WSDL in BPEL successfully.
    I tried to enable the TRC for WSIF logging by setting debug level to 'all' in both domain.log and system log settings. But not much success so far.
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: Could not create connection; nested exception is:
         java.lang.ClassCastException: java.util.Properties
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:175)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFOperation_HTTP.<init>(WSIFOperation_HTTP.java:80)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getDynamicWSIFOperation(WSIFPort_HTTP.java:110)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:79)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:67)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.createWSIFOperation(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
         at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
         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.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         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.ClassCastException: java.util.Properties
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:165)
         ... 43 more
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.createWSIFOperation(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
         at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
         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.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         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: org.collaxa.thirdparty.apache.wsif.WSIFException: Could not create connection; nested exception is:
         java.lang.ClassCastException: java.util.Properties
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:175)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFOperation_HTTP.<init>(WSIFOperation_HTTP.java:80)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getDynamicWSIFOperation(WSIFPort_HTTP.java:110)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:79)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:67)
         ... 39 more
    Caused by: java.lang.ClassCastException: java.util.Properties
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:165)
         ... 43 more
    </faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>
    Has anybody tried HTTP bindng iin ESB?
    Regards,
    Rajesh
    Message was edited by:
    Rajesh

  • Problem with WCF-Custom adapter (WS HTTP Binding with reliable messaaging) - Error event logged, even though transaction completed Sucessfully

    Hi All
    I am using WCF-Custom (WS HTTP Binding) with Message security as Windows and using Reliable messaging in the send port. Its a static Port. 
    Every thing works fine as expected for the interface. ie the transaction is success. After a min of the transaction completion. I am getting the following error
    01. I have not checked Propagate Fault message (as a solution provided in another blog)
    02. Its a static Port
    03. I am using reliable messaging
    The below error events are logged in the event viewer
    The Message Engine Encountered an error while suspending one or more Messages ( ID 5677)
    Event  ID : 5796
    The transport proxy method MoveToNextTransport() failed for adapter WCF-Custom: Reason: “Messaging engine has no record of delivering the message to the adapter. This could happen if MoveToNextTransport() is called multiple times for the same message by
    the adapter or if it is called for a message which was never delivered to the adapter by the messaging engine”. Contact the adapter vendor
    Should I have log this issue with Microsoft through Service request ? or is there any work around is there. Unfortunate is I cannot remove the reliable messaging from the service.
    Arun

    Hi,
    Is there any solution to this problem?
    I am getting the same issue "The transport proxy method MoveToNextTransport() failed for adapter WCF-NetTcp: Reason: "Messaging engine has no record of delivering the message to the adapter.
    This could happen if MoveToNextTransport() is called multiple times for the same message by the adapter or if it is called for a message which was never delivered to the adapter by the messaging engine". Contact the adapter vendor"
    I checked this link http://rajwebjunky.blogspot.be/2011/09/biztalk-dynamic-request-response-port.html, but
    in my case i am not using dynamic port.
    In my scenario, i have a number of dehydrated orchestrations that become active every Monday 6:00 AM UTC and make to calls to a WCF service, to spread out the load I have implemented a load distribution logic where orchestrations send request to service
    in every 1 minute (not at the same time). but still i get this error sometime.
    I have opened a ticket with MS support but thought that someone might have already found the root cause.
    Let me know if there is one.
    Thanks,
    Rahul
    Best Regards, Rahul Dubey MCTS BizTalk Server

  • How can I prevent query executing on loading page with POJO dc

    I created with POJO datacontrol with a method return a list of data. I created a taskflow with a page fragment to add the POJO function as a form. I found the method is called every time when the page is being loaded. How can I control it not to be invoked at loading time. Only invoked when I click the button binding to the method. Thanks.

    Hi,
    I created with POJO datacontrol with a method return a list of data. I created a taskflow with a page fragment to add the POJO function as a form. I found the method is called every time when the page is being >loaded. How can I control it not to be invoked at loading time. Only invoked when I click the button binding to the method. Thanks.remove the pojo function added as a form from pageDef file (you can do it manually by rightclick on page -> page defination.
    then click '+' icon on Bindings section -> on insert item dialog box select method binding.
    then select your pojo data control and select the method that you want to add (if it has parameters then leave it blank for now.)
    for executing operation binding(method call) create a button action action listener and add following code
    BindingContext bindingContext = BindingContext.getCurrent();
    BindingContainer bindings = bindingContext.getCurrentBindingsEntry();
    OperationBinding operationBinding = bindings.getOperationBinding("method name");
    operationBinding.getParamsMap().put("param-name", "param-value"); //incase if method has parameters
    // Invoke the method
    operationBinding.execute();Regards,

  • Weblogic Spring MDP consumer unable to receive message

    Hi,
    we have a weblogic cluster(2 machine, 2 instance per machine)
    I have configured JMS server in each instance and a distributed Queue
    DominName : hmidomain Weblogic 10.0MP1
    And four instance of managed server and JMS server
    gdmsdomain(admin)
    instance11,JMSServer11
    instance12,JMSServer12
    instance21,JMSServer21
    instance22 ,JMSServer22
    Each JMS server is targeted to the corresponding Instance
    connection factory and Uniform Distributed Queue target my cluster , sub deployment is Default Targetting.
    I have a spring application with has Message Driven Pojo ,which has 4 listener container, each one are configured to connect to one instance
    when I run the application in Tomcat all the consumer are evenly distributed to the instance and Able to receive messages.
    when I try to deploy the same spring application in another weblogic server(different machine and different domain)
    The setup of this server
    DominName : wasdomain Weblogic 10.0
    hmidomain(admin)
    No cluster, I deploy the application in admin server itself I face the following problem
    1) Consumers get registered but unable to receive messages
    2)If I restart the server, then they are able to receive messages, until I do a update to the application. If I do an update to the project it fails to reload and leads to a server restart.
    Initially I got exception as java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[system, Administrators]
    After adding the security credentials for JNDI template, I don't get this exception but still it does not work.
    the connection and Queue are not secured.
    I am not using any bridge or SAF. but not sure if it has anything to do with Domain security.
    As you might have seen above, that I have unique name for all resources and both the Domains are in same network , no firewalls
    As mention earlier the Spring MDPworks fine in tomcat with out any issue.
    I have not posted any config codes, If you need it, please let me know.
    Any help to fix this issue is appreciated.
    Thank you
    Edited by: Kannan Mugundan on Jan 30, 2010 1:49 AM
    Edited by: Kannan Mugundan on Jan 30, 2010 1:52 AM

    Kannan Mugundan wrote:
    Hi,
    we have a weblogic cluster(2 machine, 2 instance per machine)
    I have configured JMS server in each instance and a distributed Queue
    DominName : hmidomain Weblogic 10.0MP1
    And four instance of managed server and JMS server
    gdmsdomain(admin)
    instance11,JMSServer11
    instance12,JMSServer12
    instance21,JMSServer21
    instance22 ,JMSServer22
    Each JMS server is targeted to the corresponding Instance
    connection factory and Uniform Distributed Queue target my cluster , sub deployment is Default Targetting.
    I have a spring application with has Message Driven Pojo ,which has 4 listener container, each one are configured to connect to one instance
    when I run the application in Tomcat all the consumer are evenly distributed to the instance and Able to receive messages.
    when I try to deploy the same spring application in another weblogic server(different machine and different domain)
    The setup of this server
    DominName : wasdomain Weblogic 10.0
    hmidomain(admin)
    No cluster, I deploy the application in <font face="tahoma,verdana,sans-serif" size="1" color="#000">admin</font> server itself I face the following problem
    <P>1) Consumers get registered but unable to receive messages
    2)If I restart the server, then they are able to receive messages, until I do a update to the application. If I do an update to the project it fails to reload and leads to a server restart.
    Initially I got exception as java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[system, Administrators]
    After adding the security credentials for JNDI template, I don't get this exception but still it does not work.
    the connection and Queue are not secured.
    I am not using any bridge or SAF. but not sure if it has anything to do with Domain security.
    As you might have seen above, that I have unique name for all resources and both the Domains are in same network , no firewalls
    As mention earlier the Spring MDPworks fine in tomcat with out any issue.
    I have not posted any config codes, If you need it, please let me know.
    Any help to fix this issue is appreciated.
    Thank you
    Edited by: Kannan Mugundan on Jan 30, 2010 1:49 AM
    Edited by: Kannan Mugundan on Jan 30, 2010 1:52 AM</P>You can give a more complete description of your needs, It will be better for answering your question.

  • DHCP Failover BINDING-ACK

    Greetings,
    Atm we have 2 Windows 2012 Servers been used as DHCP only.
    Our configuration consists in one been active and the other on passive mode (Hot Stand-by)
    They have been running fine for about 2 weeks. But right now we are getting an Error with the event id: 20291
    Same error shows as:
    A BINDING-ACK message with transaction id: 241305 was received for IP address: 166.xx.xx.xxx with reject reason:  (Less critical binding information ) from partner server: xxxxx.corp for failover relationship: xxxx1.crop-xxxxx2.corp
    In our best interest, i do want to know if anyone has experienced this sort of issues within their Dhcp Failover configuration.
    Thank you.

    Hi,
    According to the description here, I would recommend you check if there is any conflicts between primary DHCP server and the partner server.
    http://tools.ietf.org/html/draft-ietf-dhc-failover-12
    You can search for “Less critical binding information” in the page.
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

Maybe you are looking for

  • How do I delete cascade with a PL/SQL procedure?

    This script will create a PL/SQL procedure that deletes cascade. This is a post to contribute to the Oracle community. Take the code as is and test it before you use it in production. Make sure this is what you want. Procedure Delete Cascade (prc_del

  • Attachment appears as garbled characters in message section.

    I am using Javamail to send emails with attachments. The attachments are MS Word documents. When I run the Javamail program in JDeveloper, the emails with their attachments are sent just fine. However, when the Javamail program is run from the server

  • The 'Keep Flag' property -- How does it work? Why does it work?

    Within my calculation views I had been encountering problems properly aggregating the measures, when certain attributes were excluded from the result set. An SAP consultant recommended setting the attributes' KeepFlag property to True; that resolved

  • Too much email notification

    I unchecked receive notification via email, but I still get tons of emails. What else can I do to stop the email notification? Thanks

  • ADF Dynamic Table Generation

    Hi, I'm trying to generate dynimic tables from my backing bean and i can't get it work, i've looking on the web and many forums, and this is the only example i've found : public void setDataTable(UIXTable param) { this.dataTable = param; if(!columnsB