IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Accessing webmethods using JMS APi

    Posted 08/08/06 03:12 PM

    Hi,

    I am getting the following problem, when i send a message to the Topic
    "
    Unable to send message: Invalid Document (212-1263): Document is not a properly
    formed document of its type. One or more fields do not match the document defin
    ition in the Broker."

    I am sending a message to a partcular event,

    Below is the code

    TopicAdmin topic = AdminFactory.newTopic();
    topic.setName(“sri::sri::rateChange”);

    TopicConnection tc = tcfAdmin.createTopicConnection();

    TopicSession session = tc.createTopicSession(false, javax.jms.Session.CLIENT_ACKNOWLEDGE);

    TopicPublisher sender = session.createPublisher(topic);
    sender.setDeliveryMode(DeliveryMode.PERSISTENT);

    Message msg1 = session.createMessage();
    msg1.setStringProperty(“User”,“SRI”);
    msg1.setStringProperty(“ChangeType”,“SRI2”);
    sender.publish(msg1);

    I am new to webMethods and i don’t have any document to read about webMethods. Using JMS API description, i have done the above coding

    What might be wrong?


    #webMethods
    #Universal-Messaging-Broker
    #Broker-JMS
    #Integration-Server-and-ESB


  • 2.  RE: Accessing webmethods using JMS APi

    Posted 07/31/08 07:52 AM

    Advice you to go through this document : ‘7-1_Broker_Messaging_Programmers_Guide.pdf’


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #webMethods
    #Broker-JMS