Announcement Announcement Module
Collapse
No announcement yet.
Confusion about gateway Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Confusion about gateway

    Hello all

    I made a fine, simple Spring WS to upload a file. All works fine at localhost and with client and service on separate hosts.
    Now I'll try to place a gateway between client and service host and I get a 502:

    <org.springframework.ws.client.WebServiceTransport Exception: Bad Gateway [502]
    at org.springframework.ws.client.core.WebServiceTempl ate.handleError(WebServiceTemplate.java:663)
    at org.springframework.ws.client.core.WebServiceTempl ate.doSendAndReceive(WebServiceTemplate.java:587)
    at org.springframework.ws.client.core.WebServiceTempl ate.sendAndReceive(WebServiceTemplate.java:537)
    at org.springframework.ws.client.core.WebServiceTempl ate.marshalSendAndReceive(WebServiceTemplate.java: 384)
    at org.springframework.ws.client.core.WebServiceTempl ate.marshalSendAndReceive(WebServiceTemplate.java: 378)
    at org.springframework.ws.client.core.WebServiceTempl ate.marshalSendAndReceive(WebServiceTemplate.java: 370)
    at client.client.FileTransverServiceClientFileInput.s endInputFile(FileTransverServiceClientFileInput.ja va:37)
    at client.application.Application.startFileInputProce ssing(Application.java:110)
    at client.application.Application.<init>(Application. java:89)
    at client.application.Application.getInstance(Applica tion.java:76)
    at client.application.Application.main(Application.ja va:61)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.simontuffs.onejar.Boot.run(Boot.java:340)
    at com.simontuffs.onejar.Boot.main(Boot.java:166)
    Do I need in my client and service code any lines about gateway functionalitiy? e.g. WebServiceGatewaySupport?
    Last edited by Jack Beauregard; Apr 13th, 2012, 05:06 AM.
Working...
X