Loading ...
Sorry, an error occurred while loading the content.

10695little interop problem: SOAP/WSA/WSRF/WSDM

Expand Messages
  • Steve Loughran
    Jun 7, 2006
    • 0 Attachment
      I am trying to talk with other endpoints that implement a WSRF/WSDM
      based API, but am failing on every request. They can talk to my
      endpoint, but whenever my client talks to them I get a stack trace
      that indicates that Axis has caught a runtime exception and wrapped it
      into an Axis fault -without saying what the nested exception is.

      So, while I try and convince the remote endpoints to do better
      debugging, can I ask the experts in diagnosing interop problems out
      there to take a quick look at this request and tell me what I'm
      getting wrong. I'd thought sending an empty <wsa:MessageID /> header
      was a possible cause, but that is clearly not it.

      -steve

      ps, on a related note, whose SOAP proxy tools can forward the request
      onto a real proxy? It is very hard to debug long-haul interop if you
      can't chain proxies.


      POST http://example.org:9090/cddlm/services/portal HTTP/1.1
      SOAPAction:
      User-Agent: Jakarta Commons-HttpClient/3.0
      Host: cddlm.nec-labs.com:9090
      Proxy-Connection: Keep-Alive
      Content-Length: 758
      Content-Type: application/soap+xml

      <?xml version="1.0" encoding="UTF-8"?>
      <Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns="http://schemas.xmlsoap.org/soap/envelope/">
      <Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing">
      <wsa:To soap:mustUnderstand="1">http://example.org:9090/cddlm/services/portal</wsa:To>
      <wsa:MessageID soap:mustUnderstand="1">uuid:9ae9901b-9ff0-4c8f-b569-4a8e6761bd0f-0</wsa:MessageID>
      <wsa:Action soap:mustUnderstand="1">GetResourceProperty</wsa:Action>
      </Header>
      <Body>
      <GetResourceProperty
      xmlns:getprop_ns="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
      xmlns="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd">getprop_ns:ResourceId</GetResourceProperty>
      </Body>
      </Envelope>



      <?xml version="1.0" encoding="UTF-8"?>
      <Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/">
      <faultcode xmlns:ns1="http://xml.apache.org/axis/"
      xmlns="">ns1:Server</faultcode>
      <faultstring xmlns="">Server Error</faultstring>
      <detail xmlns="">
      <stackTrace xmlns:ns2="http://xml.apache.org/axis/"
      xmlns="http://xml.apache.org/axis/">Server
      Error at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:473)
      at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
      at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
      at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      at java.lang.Thread.run(Thread.java:595) </stackTrace>
      <hostname xmlns:ns3="http://xml.apache.org/axis/"
      xmlns="http://xml.apache.org/axis/">example.org</hostname>
      </detail>
      </Fault>

      Disclaimer. The contents of this post do not emply an endorsement of
      WSDM, WSRF, WSA or even SOAP.
    • Show all 3 messages in this topic