Announcement Announcement Module
No announcement yet.
Need urgent help on Spring Webservices Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need urgent help on Spring Webservices


    I am new to WebServices. REcently I had work on an applciation which involved Spring Webservices, I wrote the WS call code and below is the code. I am using IMD RAD 6.0 to run this. I was able to successfully make a WS call and used to retrieve the results. But for some reason, I started getting bellow error from past 4 days, I didnt do any changes and nothing works. I am not sure what happened.

    " tException: The endpoint reference (EPR) for the Operation not found is "URL" and the WSA Action = null."

    When I tried to run a test clinet, it works fine, Not sure whats wrong with IRAD. Can any please hlep me on this . I am stuck on this from past 4 days.

    Below is code for reference

    import javax.xml.transform.Source;
    import iceGatewaySupport;
    import org.springframework.xml.transform.StringResult;
    import org.springframework.xml.transform.StringSource;

    public class SMSBaseGateway extends WebServiceGatewaySupport {

    public SMSBaseGateway(){
    setDefaultUri("default URL");

    public String sendReceive( String xmlRequest) throws Exception{
    Source requestSource = new StringSource(xmlRequest);

    StringResult result = new StringResult();

    getWebServiceTemplate().sendSourceAndReceiveToResu lt(requestSource, result);

    System.out.println("result: " + result.toString());

    return result.toString();