• oklsng
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies
Hello, I am trying to add multiple listeners to my office's main project. It's using Spring 2.5 framework deployed on a JBoss 4.2.3 server using Java 6. I tried adding Spring on top of the Dynamic Project in MyEclipse that the tutorial in the wiki describes. The listener works fine, but my attempts to add Spring ended up with deployment errors or exceptions being thrown in the web services explorer when any type of injection or bean factory was instantiated, then complete halts in some imported class while running the debugger with no exceptions thrown.  I am currently trying to add the web services to a web project in MyEclipse. I tried having the code generated by the WSDLs in different packages and the same autogenerated packages, with different method names based on the 'Notification' method in the sample WSDLs for each type of sObjects being sent. I also tried having the 'notifications' element type be an XML choice, any, and all for each complexType sObjectNotifications. I also tried having the NotificationPort and NotificationBinding contain multiple opertations based on different sObject messages/notifications. Several of these implementations I've tried in different web projects work successfully when tested in the web services explorer, but either throw a dispatch method not found exception or return null values for the sObjects when a message is received from Sales Force. I am not sure what I'm doing wrong on how to have the listeners in one project, as my lead does not want to have seperate projects for each listener for ease of maintenance purposes. Any help would be appreciated. Thanks
  • September 29, 2008
  • Like
  • 0
Hello, I am trying to add multiple listeners to my office's main project. It's using Spring 2.5 framework deployed on a JBoss 4.2.3 server using Java 6. I tried adding Spring on top of the Dynamic Project in MyEclipse that the tutorial in the wiki describes. The listener works fine, but my attempts to add Spring ended up with deployment errors or exceptions being thrown in the web services explorer when any type of injection or bean factory was instantiated, then complete halts in some imported class while running the debugger with no exceptions thrown.  I am currently trying to add the web services to a web project in MyEclipse. I tried having the code generated by the WSDLs in different packages and the same autogenerated packages, with different method names based on the 'Notification' method in the sample WSDLs for each type of sObjects being sent. I also tried having the 'notifications' element type be an XML choice, any, and all for each complexType sObjectNotifications. I also tried having the NotificationPort and NotificationBinding contain multiple opertations based on different sObject messages/notifications. Several of these implementations I've tried in different web projects work successfully when tested in the web services explorer, but either throw a dispatch method not found exception or return null values for the sObjects when a message is received from Sales Force. I am not sure what I'm doing wrong on how to have the listeners in one project, as my lead does not want to have seperate projects for each listener for ease of maintenance purposes. Any help would be appreciated. Thanks
  • September 29, 2008
  • Like
  • 0
I notice in the v8 api developers guide under "Outbound Messaging" there is a code snippet for building a "listner" in .Net 2.0.
 
Does anyone know of a java version of this code, maybe with a little more detail? 
 
I consumed the wsdl for my outbound message using axis and the resulting java classes don't seem to resemble the .Net class names referenced in the example.
 
anyone?
  • December 27, 2006
  • Like
  • 0