Announcement Announcement Module
Collapse
No announcement yet.
Spring with existing Web service Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring with existing Web service

    Hi,

    I have a problem when I try to invoke a existing web service with Spring, i.e. the web service is running and I have got the url to the wsdl.

    I have followed the example in 17.5.2 in:
    http://www.springframework.org/docs/.../remoting.html

    But when I try to call the service I get (the set up service when spring initializes goes well):
    org.springframework.remoting.RemoteAccessException : Cannot access remote service [{http://localhost/}ServicePort];........
    WebServicesFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
    faultString: [ISS.0088.9122] Service :lookupSequenceNumber does not exist
    faultActor: http://localhost:8902/soap/rpc
    faultDetail:
    Service :lookupSequenceNumber does not exist
    at com.ibm.ws.webservices.engine.xmlsoap.builders.SOA PFaultBuilder.createFault(SOAPFaultBuilder.java:22 8)
    at com.ibm.ws.webservices.engine.xmlsoap.builders.SOA PFaultBuilder.endElement(SOAPFaultBuilder.java:156 )
    ....


    With WSAD´s web service explorer I can call the web service.

    One strange thing that I see in the log is this:
    Cannot access remote service [{http://localhost/}ServicePort]
    For me it looks like it cannot take the binding value from wsdl file?

    I am running on Websphere(WSAD 5.1.2) and spring 1.2.8

    Any idea what is failing?

    Regards

    Tomas
Working...
X