Hi Kinga,

 

First of all I wanted to say that I wasn't aware there is code in the source code package that provides samples on how to create a muse client.

So just the fact that you pointed me to it helped allot.

 

I created a test service of my own that is using the muse project to create a state full web service (I used the muse project because I want to employ some WSDM to that service later).

 

However,

I'm getting a Fault message whenever I call the service.

The Fault:

SOAP request failed with HTTP status: 500 Internal Server Error

<xml-fragment xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Server</faultcode>

  <faultstring>Server Error</faultstring>

  <detail>

    <ns2:stackTrace xmlns:ns2="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.Http11AprProcessor.process(Http11AprProcessor.java:831)

      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)

      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1203)

      at java.lang.Thread.run(Unknown Source)</ns2:stackTrace>

    <ns3:hostname xmlns:ns3="http://xml.apache.org/axis/">LAP-ASAF</ns3:hostname>

  </detail>

</xml-fragment>

 

And on the Tomcat logs (I set the log4j properties file filter to DEBUG):

org.apache.axis.types.URI$MalformedURIException: No scheme found in URI.

            at org.apache.axis.types.URI.initialize(URI.java:653)

            at org.apache.axis.types.URI.<init>(URI.java:311)

            at org.apache.axis.types.URI.<init>(URI.java:272)

            at org.apache.axis.message.addressing.AttributedURI.<init>(AttributedURI.java:81)

            at org.apache.axis.message.addressing.Action.<init>(Action.java:54)

            at org.apache.axis.message.addressing.AddressingHeaders.<init>(AddressingHeaders.java:200)

            at org.apache.ws.addressing.handler.ServerSideAddressingHandler.handleRequest(ServerSideAddressingHandler.java:87)

            at org.apache.axis.handlers.HandlerChainImpl.handleRequest(HandlerChainImpl.java:143)

            at org.apache.axis.handlers.JAXRPCHandler.invoke(JAXRPCHandler.java:51)

            at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)

            at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

            at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

            at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)

            at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

            at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

            at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)

            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.Http11AprProcessor.process(Http11AprProcessor.java:831)

            at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)

            at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1203)

            at java.lang.Thread.run(Unknown Source)

 

I understand something is probably wrong with the EndpointReference I'm creating.

What is the right way to create an EndpointReference?

Thanks in advance,

Asaf Lahav

VP R&D, Prima Grid LTD.

Cellular:  972-54-4717955

Phone:   972-3-6540255

Fax:       972-3-6540254

 

Reply via email to