• Frederic75
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi:
Has anyone generated the salesforce.com client WS API with JAX-WS 2.0?  I attempted to convert my client from Axis 1.4 to JAX-WS and it did not go super well.... Any suggestions?  Or is it even possible?
FYI: I am using the partner wsdl.
Thanks in advance for your feedback!
 

Hello ... I recently set up an outbound msg notification on our org and set up an end point, which is basically a listener as outlined in the APIs. However, I need to pass this payload onto another internal web service which is expecting a string rather than a SOAP msg. I have tried researching this online and in the forums but couldnt find any ones that detail how to do that. Almost everyone is going old school and extracting the payload and generating your own SOAP msg be it on PHP or .Net. Is there any built in stubs or methods that will spit out a String representation or XML representation of the incoming request? I have tried to access the request and casting it to a String but it didnt seem to like it.

 

Here is what I am doing:

 

 

public com.sforce.soap.x2005.x09.outbound.NotificationsResponse notifications( com.sforce.soap.x2005.x09.outbound.Notifications request) { NotificationsResponse response = new NotificationsResponse(); String myCompany = request.getNotification()[0].getSObject().getCompany_Name__C(); System.out.println("Company Name: " + myCompany);

 

 Also, is there a sample of the SOAP msg coming in so that I can atleast create my own msg and massage the data if needed.

Any help would be appreciated.

 

  • February 18, 2009
  • Like
  • 0