List Info

Thread: Help required with MUSE




Help required with MUSE
user name
2006-04-09 20:40:45

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=&quot;http://schemas.xmlsoap.org/soap/envelope/" xmlnssd="http://www.w3.org/2001/XMLSchema&quot; xmlnssi="http://www.w3.org/2001/XMLSchema-instance&quot;>

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

  <faultstring>Server Error&lt;/faultstring>

  <detail>

 &nbsp;  <ns2:stackTrace xmlns:ns2=&quot;http://xml.apache.org/axis/&quot;>Server Error

 &nbsp; &nbsp;  at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:473)

 &nbsp; &nbsp;  at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)

 &nbsp; &nbsp;  at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)

 &nbsp; &nbsp;  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

 &nbsp; &nbsp;  at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

 &nbsp; &nbsp;  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 &nbsp; &nbsp;  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

 &nbsp; &nbsp;  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

 &nbsp; &nbsp;  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

 &nbsp; &nbsp;  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

 &nbsp; &nbsp;  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

 &nbsp; &nbsp;  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

 &nbsp; &nbsp;  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

 &nbsp; &nbsp;  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

 &nbsp; &nbsp;  at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:831)

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

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

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

 &nbsp;  <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.

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

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

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

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

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at org.apache.axis.message.addressing.Action.&lt;init>(Action.java:54)

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

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

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

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

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

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

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

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

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

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

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

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

 &nbsp; &nbsp; &nbsp; &nbsp;   ; at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:831)

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

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

 &nbsp; &nbsp; &nbsp; &nbsp;   ; 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:&nbsp; 972-54-4717955

Phone:&nbsp;  972-3-6540255

Fax:   ; &nbsp;  972-3-6540254

01C65C1E.F362F1C0">

 

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )